8 lines
245 B
Text
8 lines
245 B
Text
|
#!/usr/bin/env ruby
|
||
|
require File.dirname(__FILE__) + '/../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)
|