diff options
author | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-29 12:18:51 +0000 |
---|---|---|
committer | David Heinemeier Hansson <david@loudthinking.com> | 2005-09-29 12:18:51 +0000 |
commit | 0a0ac868453e9d8d9ee1dac6a7eb274772235b05 (patch) | |
tree | 1db7e1fce4d2c62f97c204ef72e7898c5263c82a /railties/lib/commands/destroy | |
parent | 070d218c479c8cbb41e78f599110f0ea1cf0343a (diff) | |
download | rails-0a0ac868453e9d8d9ee1dac6a7eb274772235b05.tar.gz rails-0a0ac868453e9d8d9ee1dac6a7eb274772235b05.tar.bz2 rails-0a0ac868453e9d8d9ee1dac6a7eb274772235b05.zip |
Removed all the scripts in script/* and replaced it with one generic portal: script/run
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@2411 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib/commands/destroy')
-rw-r--r-- | railties/lib/commands/destroy | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/railties/lib/commands/destroy b/railties/lib/commands/destroy new file mode 100644 index 0000000000..f9d9d181a4 --- /dev/null +++ b/railties/lib/commands/destroy @@ -0,0 +1,7 @@ +#!/usr/local/bin/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) |