WP-CLI is a rather splendid command-line method of interacting with your WordPress site. You can use it to automate installs, update plugins and all sorts. At WordPress VIP, clients use it, in particular, to power batch updates – maybe some image compression that they’ve not done in the past, re-categorising articles, all sorts.
If you’re using WordPress and don’t use WP-CLI, I would highly recommend checking it out (especially so if you’re looking for a job in the VIP team 😉). However, this post isn’t about using it but to give recommendations on how to best write your scripts.
(more…)





