Force Install/Update Plugins with WP-CLI

wp plugin install $(wp plugin list --field=name --skip-plugins --skip-themes) --force --skip-plugins --skip-themesCode language: Bash (bash)

WP-CLI on Docker:

docker-compose run --no-deps --rm wpcli --allow-root plugin install $(wp plugin list --field=name) --forceCode language: Bash (bash)

Posted

in

,

by

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.