extension-command icon indicating copy to clipboard operation
extension-command copied to clipboard

Add --network option to plugin install --activate

Open modelm opened this issue 5 years ago • 0 comments

I can install & activate a plugin on a single site in a single step like this:

wp plugin install --activate query-monitor

But because --network is not handled by plugin install, I can't simultaneously install & network-activate the same plugin on a multisite network:

wp plugin install --activate --network query-monitor
Error: Parameter errors:
 unknown --network parameter

The shortest way I can find is to do it in two steps:

wp plugin install query-monitor
wp plugin activate --network query-monitor

It would be nice to be able to install & network-activate a plugin in one step.

modelm avatar Apr 09 '19 21:04 modelm