Controlling WordPress Through the Command Line with WP


Even in a standard install, WordPress is a highly-visual platform. That not only makes for easy content creation, but site maintenance as well. Within a few clicks, you can install a plugin, run software updates and tweak any number of settings. However, there are situations where that visual interface can get in the way. For example, running large imports or other memory-intensive tasks can cause problems on slower servers. Plus, you don’t always get the fine grain level of control that might be necessary.
For those who want more control and the ability to carry out complex tasks, WP-CLI could be just what you’re looking for.
What is WP-CLI?
WP-CLI is a command line interface for WordPress. It provides the ability to maintain just about every aspect of your WordPress website without ever needing to login to the dashboard.
Like WordPress itself, WP-CLI is free software. To use it, you must first install it on your remote server or local machine. From there, you can put the power of the command line to work for your site.
But before you get too excited, a word of warning. This is a highly-powerful (and potentially dangerous) tool. Make a mistake and you might not easily recover
Source: https://managewp.org/articles/18294/controlling-wordpress-through-the-command-line-with-wp



source https://williechiu40.wordpress.com/2019/01/15/controlling-wordpress-through-the-command-line-with-wp/