bin/pliny-generate in pliny-0.2.1 vs bin/pliny-generate in pliny-0.3.0
- old
+ new
@@ -1,16 +1,4 @@
#!/usr/bin/env ruby
-require "optparse"
-require_relative "../lib/pliny"
-
-ARGV.options do |options|
- opts = {}
-
- options.on("--paranoid", "Generate paranoid support in models") do
- opts[:paranoid] = true
- end
-
- options.parse!
-
- Pliny::Commands::Generator.run(ARGV.dup, opts)
-end
+require_relative '../lib/pliny/commands/generator'
+Pliny::Commands::Generator.start