blob: f85c17bb947c26e600abd2772800661c2022e20e (
plain) (
blame)
1
2
3
4
5
6
7
8
9
10
|
require 'rails/generators'
Rails::Generators.configure!
if ARGV.size == 0
Rails::Generators.help
exit
end
name = ARGV.shift
Rails::Generators.invoke name, ARGV, :behavior => :revoke
|