Simple definition
WP-CLI is a command-line interface for administering WordPress installations.
Technical definition
WP-CLI provides commands to manage plugins, themes, users, database operations, cache and many WordPress maintenance tasks. It generally runs in the server environment with appropriate filesystem and database permissions.
What is WP-CLI used for?
Automate repetitive administration tasks, inspect installations and troubleshoot WordPress from a terminal.
Practical example
An administrator runs wp plugin list to review installed plugins or wp cache flush to clear the application cache when appropriate.
Common problems
- Plugin or theme conflict
- Incompatible update
- Cache hiding the change