aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/rails/commands/plugin_new.rb
blob: 4d7bf3c9f301f292b51f8e20fa3db5addd9cf116 (plain) (blame)
1
2
3
4
5
6
7
8
9
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