Support removing multiple plugins at once in the CLI (#69063)

Closes #66476. Add support for removing multiple plugins at the
same time to `elasticsearch-plugin`. Also change references from
"plugin name" to "plugin id", to align better with the installer
class.
This commit is contained in:
Rory Hunter 2021-02-24 14:10:06 +00:00 committed by GitHub
parent 6e7208907c
commit 0f6ad19f15
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
3 changed files with 109 additions and 38 deletions

View file

@ -182,6 +182,16 @@ purge the configuration files while removing a plugin, use `-p` or `--purge`.
This can option can be used after a plugin is removed to remove any lingering
configuration files.
[[removing-multiple-plugins]]
=== Removing multiple plugins
Multiple plugins can be removed in one invocation as follows:
[source,shell]
-----------------------------------
sudo bin/elasticsearch-plugin remove [pluginname] [pluginname] ... [pluginname]
-----------------------------------
[discrete]
=== Updating plugins