wp-cli
WP-CLI offers a command line interface for some tasks that cannot be done through the panel with the operations performed in the WordPress management panel. It can be installed by downloading the Phar file, as well as by alternative methods via Composer, Homebrew, or Docker. The tool requires PHP 7.2.24 or later and WordPress 4.9 or later.
wp-cli · WordPress & Alternatives
- You can install and enable WordPress plugins via the command line.
- You can delete temporary data (transients) from the WordPress database one at a time or collectively.
- You can perform theme and plugin management, data import/external transfer, and database search-and-replace operations.
- • NeutralHacker News
Wp-cli - A command line tool to do work on a Wordpress from the command line.
“I have done a lot of research on projects like this. I found a couple projects on Github and Sourceforge but non of them are really build to be pluggable. The whole idea behind this project is that you can add wp-cli commands from within your plugins.”
- • NeutralGitHub Issue
wp core download gives "unable to decompress gzipped phar archive" error
“We have a nightly script that downloads and reinstalls WordPress on a testing server. Last night, it failed like this: ``` $ wp core --debug download Debug (bootstrap): No readable global config found (0.067s) Debug (bootstrap): No project config found (0.068s) Debug…”