Using WP CLI with WPLib Box¶
While you certainly can install WP CLI on your host computer and use it with your WPLib Box project, hopefully you won't have to as we've implemented WP CLI within of WPLib Box.
vagrant ssh wp plugin list
wp command is itself is a Bash script which is designed to invoke the WP CLI container and that script
can be found at
/opt/box/bin/wp after you
vagrant ssh into WPLib Box.
wp packagesubcommand is currently not supported. — This is due to the fact our WP CLI is packaged in a Docker container and currently our container does not support a method to add packages to the inside of a container. We do have plans to correct this, however.
Other commands may also have issues. If you find this to be the case please contact our support to let us know so we can address sooner than later.