aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib/commands/generate.rb
blob: 3d3db3d8565eed337aedb2da522153f160d399af (plain) (blame)
1
2
3
4
5
6
require "#{RAILS_ROOT}/config/environment"
require 'rails_generator'
require 'rails_generator/scripts/generate'

ARGV.shift if ['--help', '-h'].include?(ARGV[0])
Rails::Generator::Scripts::Generate.new.run(ARGV)