lib/vindetta/cli.rb in vindetta-0.13.0 vs lib/vindetta/cli.rb in vindetta-0.14.0

- old
+ new

@@ -27,13 +27,12 @@ desc "Decodes a VIN" command %i[decode d] do |c| c.action do |_global, _options, _args| vin = _args.first - puts "got here" - # exit_now!("vin is required") if vin.nil? - # - # puts Vindetta::Decoder.decode_vin(vin).to_json + exit_now!("vin is required") if vin.nil? + + puts Vindetta::Decoder.decode_vin(vin).to_json end end desc "Generates a random VIN" command %i[generate g] do |c|