WP-CLI Is Here!

Written by Douglas Perry on . Posted in Uncategorized

A majority of our clients leave the technical details for us to handle with their sites and hosting. We do have a handful of more technical clients that appreciate any extra “geek toys” we can throw at them. For our geeky BWG clients, we installed wp-cli, a Linux command line tool for WordPress site administration. Also our backend developers sit at a Linux workstation all day and prefer to use command line tools. For me it makes DevOps stuff like updating all our client’s WordPress sites on the 3rd Saturday of the month at 4 AM a “set it and forget it” affair. All and all it’s a win-win for everyone. If you’re a developer at another agency or a freelancer, you should be hosting with us because we’re one of the few hosting providers that offer HTTP/2, PHP 7, MariaDB 10, wp-cli, and off-site backups to an compatible cloud storage provider. What is WP-CLI? WP-CLI makes it easier to do stuff like automate site backups, do software updates to your WordPress site, add a new user, or change a user’s password. Having wp-cli on our servers opens a new possibility for writing Linux shell scripts to make “one button” custom WordPress installs possible. Quoting from the WP-CLI website:
WP-CLI is a set of command-line tools for managing WordPress installations. You can update plugins, set up multisite installs and much more, without using a web browser.
  Overall not every client wants to use this feature. It’s mostly for the benefit of our back-end developer and server teams. If you’re curious, take some time to read the online documentation for wp-cli. Then try out some “safe” commands on your hosting account.