Join GitHub today
GitHub is home to over 31 million developers working together to host and review code, manage projects, and build software together.Sign up
Include WP-CLI in all WordPress images #283
For a while now,
But if you glance through
It will show the community the relevant way of managing WordPress from the command line, and will make it easier to actually use the image later on. It will also solve #256.
referenced this issue
Mar 24, 2018
While it is a great tool, it is not included in the image for a number of reasons:
1. https://codex.wordpress.org/Installing_WordPress DOES contain the suggestion to use wp-cli:
Installing through wp-cli wp-cli is a great command line tool with which you can easily install and update WordPress and themes and extensions.
2. Most users need it (those kind of users who mess with Docker, most of them), and it’s tiny so it doesn’t really matter. 3. WP-CLI can be used from WordPress image or anyone can craft a their own WP-CLI-only image if they desire so. The fact that WP-CLI and WP images are based on different distribution is troublesome as linked issues show. Including WP-CLI will make wp so much more programmatically manageable.
Personally, I use it for managing users, roles, and plugin activation/dectivation from CLI. I agree that: