wp-cli

A command line interface for WordPress

Commands Configuration Blog Source Wiki
Command Description
blog Manage blogs in a multisite install.
cache Manage the object cache.
cap Manage user capabilities.
comment Manage comments.
core Download, install, update and otherwise manage WordPress proper.
db Perform basic database operations.
eval Execute arbitrary PHP code after loading WordPress.
eval-file Load and execute a PHP file after loading WordPress.
export Export content to a WXR file.
help Get help on a certain topic.
media Control the media library and its attachments.
option Manage WordPress options.
plugin Manage plugins.
post Manage posts.
post-meta Manage post custom fields.
rewrite Manage rewrite rules.
role Manage user roles.
scaffold Generate code for post types, taxonomies, etc.
search-replace Search/replace strings in the database.
shell Interactive PHP console.
term Manage terms.
theme Manage themes.
transient Manage WordPress transients.
user Manage users.
user-meta Manage user custom fields.

Also see the list of community commands.