aboutsummaryrefslogtreecommitdiffstats
path: root/railties/lib
diff options
context:
space:
mode:
authorMichael Koziarski <michael@koziarski.com>2008-02-21 22:44:00 +0000
committerMichael Koziarski <michael@koziarski.com>2008-02-21 22:44:00 +0000
commit01b77da8da50aa4fec91b690adecab005f365317 (patch)
tree53fa319e37f9d2bc08396f27331595ef625f8df9 /railties/lib
parent4c3077183b91e3972b07e5488ce12e5b8a6b68a5 (diff)
downloadrails-01b77da8da50aa4fec91b690adecab005f365317.tar.gz
rails-01b77da8da50aa4fec91b690adecab005f365317.tar.bz2
rails-01b77da8da50aa4fec91b690adecab005f365317.zip
Patch to add a -e (export) option to script/plugin install. Closes #10847 [jon@blankpad.net]
git-svn-id: http://svn-commit.rubyonrails.org/rails/trunk@8921 5ecf4fe2-1ee6-0310-87b1-e25e094e27de
Diffstat (limited to 'railties/lib')
-rw-r--r--railties/lib/commands/plugin.rb3
1 files changed, 3 insertions, 0 deletions
diff --git a/railties/lib/commands/plugin.rb b/railties/lib/commands/plugin.rb
index a26f747dfb..a6303e36db 100644
--- a/railties/lib/commands/plugin.rb
+++ b/railties/lib/commands/plugin.rb
@@ -725,6 +725,9 @@ module Commands
o.on( "-o", "--checkout",
"Use svn checkout to grab the plugin.",
"Enables updating but does not add a svn:externals entry.") { |v| @method = :checkout }
+ o.on( "-e", "--export",
+ "Use svn export to grab the plugin.",
+ "Exports the plugin, allowing you to check it into your local repository. Does not enable updates, or add an svn:externals entry.") { |v| @method = :export }
o.on( "-q", "--quiet",
"Suppresses the output from installation.",
"Ignored if -v is passed (./script/plugin -v install ...)") { |v| @options[:quiet] = true }