Update CHANGELOG and website
This commit is contained in:
parent
b53ae446d2
commit
24a2892236
|
@ -28,6 +28,8 @@ IMPROVEMENTS:
|
||||||
needs to any type. [GH-2709]
|
needs to any type. [GH-2709]
|
||||||
- commands/plugin: `vagrant plugin update` will now update all installed
|
- commands/plugin: `vagrant plugin update` will now update all installed
|
||||||
plugins, respecting any constraints set.
|
plugins, respecting any constraints set.
|
||||||
|
- commands/plugin: `vagrant plugin uninstall` can now uninstall multiple
|
||||||
|
plugins.
|
||||||
|
|
||||||
BUG FIXES:
|
BUG FIXES:
|
||||||
|
|
||||||
|
|
|
@ -8,7 +8,7 @@ module VagrantPlugins
|
||||||
class Uninstall < Base
|
class Uninstall < Base
|
||||||
def execute
|
def execute
|
||||||
opts = OptionParser.new do |o|
|
opts = OptionParser.new do |o|
|
||||||
o.banner = "Usage: vagrant plugin uninstall <name> [-h]"
|
o.banner = "Usage: vagrant plugin uninstall <name> [<name2> <name3> ...] [-h]"
|
||||||
end
|
end
|
||||||
|
|
||||||
# Parse the options
|
# Parse the options
|
||||||
|
@ -17,7 +17,9 @@ module VagrantPlugins
|
||||||
raise Vagrant::Errors::CLIInvalidUsage, :help => opts.help.chomp if argv.length < 1
|
raise Vagrant::Errors::CLIInvalidUsage, :help => opts.help.chomp if argv.length < 1
|
||||||
|
|
||||||
# Uninstall the gems
|
# Uninstall the gems
|
||||||
argv.each{ |gem| action(Action.action_uninstall, :plugin_name => gem) }
|
argv.each do |gem|
|
||||||
|
action(Action.action_uninstall, :plugin_name => gem)
|
||||||
|
end
|
||||||
|
|
||||||
# Success, exit status 0
|
# Success, exit status 0
|
||||||
0
|
0
|
||||||
|
|
|
@ -65,11 +65,13 @@ be shown, too.
|
||||||
|
|
||||||
# Plugin Uninstall
|
# Plugin Uninstall
|
||||||
|
|
||||||
**Command: `vagrant plugin uninstall <name>`**
|
**Command: `vagrant plugin uninstall <name> [<name2> <name3> ...]`**
|
||||||
|
|
||||||
This uninstalls the plugin with the given name. Any dependencies of the
|
This uninstalls the plugin with the given name. Any dependencies of the
|
||||||
plugin will also be uninstalled assuming no other plugin needs them.
|
plugin will also be uninstalled assuming no other plugin needs them.
|
||||||
|
|
||||||
|
If multiple plugins are given, multiple plugins will be uninstalled.
|
||||||
|
|
||||||
# Plugin Update
|
# Plugin Update
|
||||||
|
|
||||||
**Command: `vagrant plugin update [<name>]`**
|
**Command: `vagrant plugin update [<name>]`**
|
||||||
|
|
Loading…
Reference in New Issue