lib/asker/cli.rb in asker-tool-2.7.2 vs lib/asker/cli.rb in asker-tool-2.8.0
- old
+ new
@@ -43,10 +43,11 @@
Asker.create_input(dirname)
exit 0
end
map ["--check"] => "check"
+ option :color, type: :boolean
desc "check FILEPATH", "Check HAML input file syntax"
long_desc <<-LONGDESC
Check HAML input file syntax.
@@ -62,9 +63,10 @@
# Asker start processing input file
Asker.check(filename)
end
map ["f", "-f", "--file"] => "file"
+ option :color, type: :boolean
desc "[file] FILEPATH", "Build output files, from HAML/XML input file."
long_desc <<-LONGDESC
Build questions about contents defined into input file specified.