wycats/thor — Issue #192: multiple options aliase
Author: coolesting
Created: 2011-11-03 03:39:20+00:00
State: open

desc 'bar', 'bar'
method_options :with => :string, :version => :boolean
def bar
puts 'bbbbbb' + options[:with] if options.version?'
end

How to add the aliases for 'version' end 'with' options , such as the '-w' and '-v'