Many thanks to the 56 people who took our first user survey. We appreciate your time in helping us understand how WP-CLI WP-CLI is the Command Line Interface for WordPress, used to do administrative and development tasks in a programmatic way. The project page is http://wp-cli.org/ https://make.wordpress.org/cli/ is being adopted by the community.
By the numbers
Almost 3/4 of respondents use WP-CLI actively
53% use WP-CLI multiple times per day, 20% use it a couple or few times per week, and 26% use it infrequently or rarely. 46% of respondents use WP-CLI interactively at the command line, 34% have incorporated it into bash scripts, and 18% are using WP-CLI with Puppet, Chef, or another provisioning system.
WP-CLI is largely used to install and update
Even with its variety of commands, WP-CLI is largely used to install and update. 37.5% of respondents reported using WP-CLI to install WordPress (with 30.36% using it to update WordPress), and 32.14% reported using it to update plugins and themes.
After code management, WP-CLI is popularly used (23.21%) to perform migrations. Respondents reported using wp db export
and wp db import
in conjunction with wp search-replace
, or wp export
and wp import
.
A subset of respondents reported using WP-CLI to perform specialized tasks, including:
Only 38% have used community packages
WP-CLI now has 24 community packages listed in its Package Index. A good 62% percent of respondents will have the good fortune in the future to discover a helpful community package.
Feature requests
Remotely manage WordPress instances
The most common thread amongst respondents is the desire to run WP-CLI commands in one place across multiple machines. Depending on what you have access to, there are a couple of current ways to do this:
- If you have SSH Secure SHell - a protocol for securely connecting to a remote system in addition to or in place of a password. access, X-Team’s WP-CLI SSH uses your SSH connection to run WP-CLI commands on a remote machine.
- The WP Remote CLI project proxies a subset of WP-CLI commands through WP Remote.
Better documentation
A substantial number of users requested better examples for the website. Let this be a call for contributions! Because all of the command docs are generated from the source code, adding examples or clarifying usage notes is just a pull request away.
Alternatively, you can share your shell tips, or contribute a blog post on how you’ve integrated WP-CLI into your workflow.
Grab bag of enhancements
If you have time to put together a pull request or community package, here’s a short list of requested enhancements:
- Git Git is a free and open source distributed version control system designed to handle everything from small to very large projects with speed and efficiency. Git is easy to learn and has a tiny footprint with lightning fast performance. Most modern plugin and theme development is being done with this version control system. https://git-scm.com/. awareness: have plugin A plugin is a piece of software containing a group of functions that can be added to a WordPress website. They can extend functionality or add new features to your WordPress websites. WordPress plugins are written in the PHP programming language and integrate seamlessly with WordPress. These can be free in the WordPress.org Plugin Directory https://wordpress.org/plugins/ or can be cost-based plugin from a third-party/core Core is the set of software required to run WordPress. The Core Development Team builds WordPress. updates result in git commits (with automatically-generated messages).
- Yum integration for
yum install wp-cli
, yum check-update
and yum update wp-cli
.
- Faster algorithm for the search-replace command when dealing with large databases.
- Manage file and folder permissions for WordPress installs.
- Reset all users passwords.
- “Break in Windows less.”
WP-CLI commands to prepare meals
A good 7% of you think WP-CLI is capable of making your meals, asking for it to “make breakfast”, “make coffee ;-)”, or “dishes?”. While we can’t make any promises, we’ll continue to think about WP-CLI over breakfast and see if we get inspired.