exe/vindetta in vindetta-0.2.0 vs exe/vindetta in vindetta-0.3.0
- old
+ new
@@ -1,5 +1,19 @@
#!/usr/bin/env ruby
require "vindetta"
+require "gli"
-puts Vindetta.random
+include GLI::App
+
+program_desc 'Utility for generating Vehicle Identification Numbers (VINs)'
+
+command :generate do |c|
+ c.desc "Generates a random VIN"
+
+ c.action do
+ puts Vindetta::Generator.generate
+ end
+end
+
+
+exit run(ARGV)