Computing Magazine

Command Line Interface For WordPress

Posted on the 04 December 2015 by Hean Hong Leong @hongster

WP-CLI is a PHP CLI tool for managing WordPress.

I was tasked to maintain a WP site for a client. Previously it was installed and maintained by a different team. I was given SSH access to the server, but client was not able to create WP account for me.

I needed to create an administrator account. One possible solution is to create it directly in database. After some googling, I found WP-CLI. It is much easier and supports a wide range of operations. The best part is, it is only a single .phar file. I do not need to install any WP plugin. Just download wp-cli.phar file and run.


Back to Featured Articles on Logo Paperblog