Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Newer
Older
100755 18 lines (13 sloc) 0.273 kb
49977b1 @lifo Barebone cramp application generator.
authored
1 #!/usr/bin/env ruby
2
3 require 'cramp'
4 require 'cramp/generators/application'
5
6 if ['--version', '-v'].include?(ARGV.first)
7 puts "Cramp #{Cramp::VERSION}"
8 exit(0)
9 end
10
11 if ARGV.first != "new"
12 ARGV[0] = "--help"
13 else
14 ARGV.shift
15 end
16
17 Cramp::Generators::Application.start
Something went wrong with that request. Please try again.