aboutsummaryrefslogblamecommitdiffstats
path: root/railties/lib/rails/commands/plugin.rb
blob: 837fe0ec10bd636daf8b19a1f4f376750b362a98 (plain) (tree)
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/plugin_generator'
Rails::Generators::PluginGenerator.start