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

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