lib/prez/cli.rb in prez-0.0.6 vs lib/prez/cli.rb in prez-0.1.0
- old
+ new
@@ -1,15 +1,11 @@
-require "prez/build"
-require "prez/new"
-require "prez/start"
-require "prez/version"
require "thor"
module Prez
class CLI < Thor
- register Prez::Build, "build", "build NAME", "Builds the single html presentation from the prez file"
+ register Prez::Build, "build", "build [NAME]", "Builds the single html presentation from the prez file"
register Prez::New, "new", "new NAME", "Generates a new presentation"
- register Prez::Start, "start", "start NAME", "Launches your browser with the given presentation"
+ register Prez::Start, "start", "start [NAME]", "Launches your browser with the given presentation"
map "-v" => "version"
desc "version", "Show the prez version"
long_desc "