From 0a0ac868453e9d8d9ee1dac6a7eb274772235b05 Mon Sep 17 00:00:00 2001 From: David Heinemeier Hansson Date: Thu, 29 Sep 2005 12:18:51 +0000 Subject: 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 --- railties/lib/commands/destroy | 7 +++++++ 1 file changed, 7 insertions(+) create mode 100644 railties/lib/commands/destroy (limited to 'railties/lib/commands/destroy') 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) -- cgit v1.2.3