bin/snapdragon in snapdragon-0.1.9 vs bin/snapdragon in snapdragon-0.1.10
- old
+ new
@@ -1,9 +1,11 @@
#!/usr/bin/env ruby
$LOAD_PATH.unshift ::File.expand_path(::File.dirname(__FILE__) + '/../lib')
require 'rubygems'
+require 'snapdragon/command_line_parser'
require 'snapdragon/cli_application'
-app = Snapdragon::CliApplication.new(ARGV)
+opts = Snapdragon::CommandLineParser.parse(ARGV)
+app = Snapdragon::CliApplication.new(opts, ARGV)
exit(app.run)