blob: 7d133a179e9d08da0cd70369d50f3aeb4c914463 (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
require "#{RAILS_ROOT}/config/environment"
require 'generators'
if ARGV.size == 0
Rails::Generators.help
exit
end
name = ARGV.shift
Rails::Generators.invoke name, ARGV, :invoke
|