lib/vindetta/cli.rb in vindetta-0.6.0 vs lib/vindetta/cli.rb in vindetta-0.7.0
- old
+ new
@@ -6,10 +6,10 @@
program_desc 'Vehicle Identification Number (VIN) CLI'
desc 'Transliterates a VIN character'
arg_name 'character'
- command :transliterate do |c|
+ command [:transliterate, :t] do |c|
c.action do |_global, _options, args|
puts Vindetta::Transliterator.run(args.first)
end
end