Monday, 6 August 2018

WP-CLI v2 – Managing WordPress From the Terminal


For most of its life, WordPress has been built using a simple code-base with a dash of object-oriented PHP being the most abstract system. In the past few years, however, this is changing for the better. From unit testing to CSS preprocessing and command line tools, more and more developer-friendly assets are popping up. In this article, we’ll look at one of my favorites: WP-CLI. What is WP-CLI?
WP-CLI is a command line tool for managing many common tasks (and not so common) of a WordPress installation. It can add/remove users, posts, categories, insert test data, search and replace in the database, help troubleshoot performance issues, and much more!
WP-CLI has been an open source project for over a decade, being maintained primarily by Daniel Bachhuber since 2003. The primary goal of WP-CLI is to help speed up WordPress developer’s workflows.
Over the years the project has emerged into so much more! It’s now even becoming a requirement for other open source projects such as Trellis and Bedrock. As of January 2017, WP-CLI officially moved to WordPress.org and is also now being maintained co-maintained by Alain Schlesser.
WP-CLI v2 is coming out on July 31st, 2018
Source: https://managewp.org/articles/17685/wp-cli-v2-managing-wordpress-from-the-terminal



source https://williechiu40.wordpress.com/2018/08/06/wp-cli-v2-managing-wordpress-from-the-terminal/

No comments:

Post a Comment