mirror of
https://github.com/rails/rails.git
synced 2022-11-09 12:12:34 -05:00
9 lines
No EOL
202 B
Ruby
9 lines
No EOL
202 B
Ruby
if ARGV.first != "new"
|
|
ARGV[0] = "--help"
|
|
else
|
|
ARGV.shift
|
|
end
|
|
|
|
require 'rails/generators'
|
|
require 'rails/generators/rails/plugin_new/plugin_new_generator'
|
|
Rails::Generators::PluginNewGenerator.start |