wp-cli/extension-command
WP-CLI extension-command adds wp plugin and wp theme management: install, activate/deactivate, update, delete, and more. Supports bulk actions, multisite network activation, exclusions, and forcing reactivation to rerun hooks.
--network for multisite).--force for critical fixes).Adopt When:
Look Elsewhere If:
"This package lets us automate WordPress plugin management at scale—reducing manual errors, speeding up deployments, and cutting support costs. For example, we can now update 100+ plugins across all sites with a single CLI command, instead of logging into each dashboard. It’s like Git for WordPress plugins: version control, rollbacks, and consistency across environments. The MIT license and WP-CLI’s adoption (used by 1M+ WordPress sites) ensure reliability, while the --force and --network flags give us control over critical updates and multisite setups."
ROI:
*"This is a Swiss Army knife for WordPress plugins—built into WP-CLI, so it’s already in our stack. Key perks:
wp plugin install --force for updates).--with-dependencies).--network.Example Workflow:
# Update all plugins in staging, then promote to prod
wp plugin update --all --skip-update-check # Dry run
wp plugin update --all --version=stable # Prod
Why Not Build?
wp CLI tooling."Tech Deep Dive:
How can I help you explore Laravel packages today?