diff --git a/Changes b/Changes index 81dedd751..cb98abbde 100644 --- a/Changes +++ b/Changes @@ -8,6 +8,7 @@ [ DOCUMENTATION ] * GH #1657: Fix the Dancer2::DeprecationPolicy abstract (Jason A. Crome) + * GH #1661: Add 'gen' command to 'dancer2' runs (Steve Bertrand) 0.400000 2022-03-13 22:16:13-04:00 America/New_York diff --git a/lib/Dancer2.pm b/lib/Dancer2.pm index 62065c433..f43580917 100644 --- a/lib/Dancer2.pm +++ b/lib/Dancer2.pm @@ -385,6 +385,7 @@ We are also on IRC: #dancer on irc.perl.org. Shlomi Fish Slava Goltser Snigdha + Steve Bertrand Steve Dondley Tatsuhiko Miyagawa Timothy Alexis Vass diff --git a/lib/Dancer2/Manual.pod b/lib/Dancer2/Manual.pod index 4b3679a1f..0d48d38ea 100644 --- a/lib/Dancer2/Manual.pod +++ b/lib/Dancer2/Manual.pod @@ -46,7 +46,7 @@ the most recent version on CPAN. Create a web application using the dancer script: - $ dancer2 -a MyApp && cd MyApp + $ dancer2 gen -a MyApp && cd MyApp + MyApp + MyApp/config.yml + MyApp/Makefile.PL @@ -90,7 +90,7 @@ a script to start it. A default skeleton is used to bootstrap the new application, but you can use the C<-s> option to provide another skeleton. For example: - $ dancer2 -a MyApp -s ~/mydancerskel + $ dancer2 gen -a MyApp -s ~/mydancerskel For an example of a skeleton directory check the default one available in the C directory of your Dancer2 distribution. @@ -1868,7 +1868,7 @@ Carton builds them for you when you need it. First set up a new app: - $ dancer2 -a MyApp + $ dancer2 gen -a MyApp ... Delete the files that are not needed: