Back to Ohmyzsh

WP-CLI

plugins/wp-cli/README.md

latest4.5 KB
Original Source

WP-CLI

The WordPress CLI is a command-line tool for managing WordPress installations. You can update plugins, set up multisite installs and much more, without using a web browser.

This plugin adds tab completion for wp-cli as well as several aliases for commonly used commands.

To use it, add wp-cli to the plugins array in your zshrc file:

zsh
plugins=(... wp-cli)

Maintainer: joshmedeski

Aliases

The entire list of wp-cli commands can be found here: https://developer.wordpress.org/cli/commands/

AliasCommand
Core
wpccwp core config
wpcdwp core download
wpciwp core install
wpciiwp core is-installed
wpcmcwp core multisite-convert
wpcmiwp core multisite-install
wpcuwp core update
wpcudbwp core update-db
wpcvcwp core verify-checksums
Cron
wpcrewp cron event
wpcrswp cron schedule
wpcrtwp cron test
Database
wpdbewp db export
wpdbiwp db import
wpdbcrwp db create
wpdbswp db search
wpdbchwp db check
wpdbrwp db repair
Menu
wpmcwp menu create
wpmdwp menu delete
wpmiwp menu item
wpmlwp menu list
wpmlowp menu location
Plugin
wppawp plugin activate
wppdawp plugin deactivate
wppdwp plugin delete
wppgwp plugin get
wppiwp plugin install
wppiswp plugin is-installed
wpplwp plugin list
wpppwp plugin path
wppswp plugin search
wppstwp plugin status
wpptwp plugin toggle
wppunwp plugin uninstall
wppuwp plugin update
Post
wppocwp post create
wppodwp post delete
wppoewp post edit
wppogenwp post generate
wppogwp post get
wppolwp post list
wppomwp post meta
wppouwp post update
wppourlwp post url
Sidebar
wpsblwp sidebar list
Theme
wptawp theme activate
wptdwp theme delete
wptdiswp theme disable
wptewp theme enable
wptgwp theme get
wptiwp theme install
wptiswp theme is-installed
wptlwp theme list
wptmwp theme mod
wptpwp theme path
wptswp theme search
wptstwp theme status
wptuwp theme update
User
wpuacwp user add-cap
wpuarwp user add-role
wpucwp user create
wpudwp user delete
wpugenwp user generate
wpugwp user get
wpuiwp user import-csv
wpulwp user list
wpulcwp user list-caps
wpumwp user meta
wpurcwp user remove-cap
wpurrwp user remove-role
wpusrwp user set-role
wpuuwp user update
Widget
wpwawp widget add
wpwdawp widget deactivate
wpwdwp widget delete
wpwlwp widget list
wpwmwp widget move
wpwuwp widget update