WP-CLI - Install and Activate multiple plugins

1
2
# install and activate "debug-bar" & "debug-bar-console"
XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX

2 Responses

Why not install multiple plugin this way. ?
wp plugin install wordpress-importer cmb2 contact-form-7 jetpack mailchimp-for-wp recent-posts-widget-extended redux-framework woocommerce woocommerce-gateway-paypal-express-checkout woocommerce-services wp-fastest-cache --activate
@Zaheer Abbas Aghani I think in this example I was playing with Bash more than wp-cli. You're correct, you can pass multiple arguments to the command on a single line, so the default usage is much more efficient. Thank you for sharing.

Write a comment

You can use [html][/html], [css][/css], [php][/php] and more to embed the code. Urls are automatically hyperlinked. Line breaks and paragraphs are automatically generated.