Minor tweak to make explicit order of arguments to middleman init

This commit is contained in:
dznz 2011-10-31 17:03:22 +13:00
parent 08593fddff
commit 1174876c7a

View file

@ -12,7 +12,7 @@ module Middleman
help_check if options[:help] help_check if options[:help]
end end
desc "init NAME", "Create new Middleman project directory NAME" desc "init NAME [options]", "Create new Middleman project directory NAME"
available_templates = Middleman::Templates.registered_names.join(", ") available_templates = Middleman::Templates.registered_names.join(", ")
method_option "template", :aliases => "-T", :default => "default", :desc => "Optionally use a pre-defined project template: #{available_templates}" method_option "template", :aliases => "-T", :default => "default", :desc => "Optionally use a pre-defined project template: #{available_templates}"
method_option "css_dir", :default => "stylesheets", :desc => 'The path to the css files' method_option "css_dir", :default => "stylesheets", :desc => 'The path to the css files'