lib/slideshow/cli/runner.rb in slideshow-1.2.0.beta2 vs lib/slideshow/cli/runner.rb in slideshow-1.2.0.beta3
- old
+ new
@@ -96,10 +96,13 @@
end
cmd.on( '-g', '--generate', 'Generate Slide Show Templates (using built-in S6 Pack)' ) { opts.generate = true }
## fix:/todo: add generator for quickstart
- cmd.on( '-q', '--quick', 'Generate Quickstart Slide Show Sample') { opts.quick = true }
+ cmd.on( '-q', '--quick [MANIFEST]', "Generate Quickstart Slide Show Sample (default is #{opts.quick_manifest})") do |q|
+ opts.quick = true
+ opts.quick_manifest = q if q.nil? == false
+ end
cmd.on( '-p', '--plugins', '(Debug) List Plugin Scripts in Load Path' ) { opts.plugins = true }
cmd.on( '-v', '--version', "Show version" ) do
puts Slideshow.generator
\ No newline at end of file