bin/vendorer in vendorer-0.1.8 vs bin/vendorer in vendorer-0.1.9

- old
+ new

@@ -13,10 +13,11 @@ Create a Vendorfile in your project root with: file 'public/javascripts/jquery.min.js' => 'http://code.jquery.com/jquery-latest.min.js' folder 'vendor/plugins/parallel_tests' => 'https://github.com/grosser/parallel_tests.git' +Run `vendorer init` to create Vendorfile. Run `vendorer` to install. Run `vendorer update` to update. Options: BANNER @@ -28,7 +29,9 @@ opts.on("-h", "--help", "Show this.") { puts opts; exit } end parser.parse! require 'vendorer' -v = Vendorer.new(:update => (ARGV[1] || true if ARGV[0] == 'update')) +v = Vendorer.new(:update => (ARGV[1] || true if ARGV[0] == 'update'), + :init => (true if ARGV[0] == 'init')) +v.init and exit if ARGV[0] == 'init' v.parse(File.read('Vendorfile')) \ No newline at end of file