Don't limit the legal framework values on the command line.
This commit is contained in:
parent
e93051d239
commit
a54ccae040
@ -104,14 +104,14 @@ END
|
|||||||
self.options[:css_dir] = css_dir
|
self.options[:css_dir] = css_dir
|
||||||
end
|
end
|
||||||
|
|
||||||
opts.on('-f FRAMEWORK', '--framework FRAMEWORK', [:compass, :blueprint], 'Set up a new project using the selected framework. Legal values: compass (default), blueprint') do |framework|
|
|
||||||
self.options[:framework] = framework
|
|
||||||
end
|
|
||||||
|
|
||||||
opts.on('--list-frameworks', "List compass frameworks available to use.") do
|
opts.on('--list-frameworks', "List compass frameworks available to use.") do
|
||||||
self.options[:command] = :list_frameworks
|
self.options[:command] = :list_frameworks
|
||||||
end
|
end
|
||||||
|
|
||||||
|
opts.on('-f FRAMEWORK', '--framework FRAMEWORK', 'Set up a new project using the selected framework. Legal values: compass (default), blueprint') do |framework|
|
||||||
|
self.options[:framework] = framework
|
||||||
|
end
|
||||||
|
|
||||||
opts.on('-e ENV', '--environment ENV', [:development, :production], 'Use sensible defaults for your current environment: development, production (default)') do |env|
|
opts.on('-e ENV', '--environment ENV', [:development, :production], 'Use sensible defaults for your current environment: development, production (default)') do |env|
|
||||||
self.options[:environment] = env
|
self.options[:environment] = env
|
||||||
end
|
end
|
||||||
|
Loading…
Reference in New Issue
Block a user