lib/vindetta/cli.rb in vindetta-0.17.1 vs lib/vindetta/cli.rb in vindetta-0.19.0
- old
+ new
@@ -9,21 +9,11 @@
class CLI
extend GLI::App
program_desc "Vehicle Identification Number (VIN) CLI"
version Vindetta::VERSION
- error_device = error_device
- desc "Transliterates a VIN character"
- arg_name "character"
-
- command %i[transliterate t] do |c|
- c.action do |_global, _options, args|
- puts Vindetta::Transliterator.run(args.first)
- end
- end
-
desc "Validates a VIN"
command %i[validate v] do |c|
c.action do |_global, _options, args|
vin = args.first
@@ -48,10 +38,10 @@
desc "Generates a random VIN"
command %i[generate g] do |c|
c.action do |_global, _options, _args|
- puts Vindetta::Generator.generate
+ puts Vindetta::Generator.vin
end
end
end
end