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