lib/cureutils/cli.rb in cureutils-0.2.0 vs lib/cureutils/cli.rb in cureutils-0.2.1
- old
+ new
@@ -117,14 +117,18 @@
type: :boolean,
desc: 'Print transform message.'
option 'precure', aliases: 'p',
type: :string,
desc: "Print the given PRECURE's message."
+ option 'style', aliases: 's',
+ type: :string,
+ desc: 'Choose style of the transformation.'
def echo
manager = CureEchoManager.new
manager.precure(options[:precure])
manager.msg_attack(options[:attack])
manager.nosleep(options[:quick])
+ manager.style(options[:style])
exit(manager.print_results)
end
desc 'date [OPTIONS] [+FORMAT]',
'Display date, time and Precure related events.'