Permalink
Fetching contributors…
Cannot retrieve contributors at this time
executable file 18 lines (13 sloc) 273 Bytes
#!/usr/bin/env ruby
require 'cramp'
require 'cramp/generators/application'
if ['--version', '-v'].include?(ARGV.first)
puts "Cramp #{Cramp::VERSION}"
exit(0)
end
if ARGV.first != "new"
ARGV[0] = "--help"
else
ARGV.shift
end
Cramp::Generators::Application.start