Skip to content
Contribute to WP-CLI easily with VVV
Branch: master
Clone or download
Latest commit 7744f16 Feb 26, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
provision check folder Feb 26, 2019
.gitignore create database Feb 19, 2019
README.md Update README.md Feb 22, 2019

README.md

WP-CLI Develop template

For when you just need a simple wp-cli environment site with test support

Overview

This template will allow you to create a WP-CLI development environment.

Remember to use the wp-cli of this instance and not the one available globally in VVV.

To do that the simple way can be:

cd /src/www/wp-cli-dev
./vendor/bin/wp --path=/src/www/demo

Don't forget that you need to be inside the virtual machine, you can enter it with vagrant -c ssh.

Also to run test composer test is the most simple way to run all of them.

If you are looking to run a specific feature of a command:

  • enter the command folder
  • composer behat -- ./features/yourtest.feature

To any other information about how works check https://github.com/wp-cli/wp-cli-dev/.

You can’t perform that action at this time.