Created
April 24, 2016 19:52
-
-
Save ahmadawais/401f941c4a9a676a8822ad3a34b2cbfd to your computer and use it in GitHub Desktop.
WP CLI Plugin & Theme Install/Activate Aliases for ZSH/BASH
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# WP Plugin: Install & Acticate | |
# Usage: wpp plugin-slug | |
alias wpp="wp plugin install $* --activate" | |
# WP Theme: Install | |
# Usage: wpt plugin-slug | |
alias wpt="wp theme install $* --activate" | |
# WP Theme: Activate | |
# Usage: wpta plugin-slug | |
alias wpt="wp theme activate $*" | |
# Activate all WP Plugins | |
alias wppaall="wp plugin activate --all" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment