https://github.com/chassis/wp_cli
A Chassis extension to automate the installation of WP-CLI packages
https://github.com/chassis/wp_cli
Last synced: about 1 year ago
JSON representation
A Chassis extension to automate the installation of WP-CLI packages
- Host: GitHub
- URL: https://github.com/chassis/wp_cli
- Owner: Chassis
- Created: 2019-07-31T08:04:32.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-08-01T04:26:10.000Z (almost 7 years ago)
- Last Synced: 2025-03-30T06:01:56.892Z (about 1 year ago)
- Language: Puppet
- Size: 3.91 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# WP-CLI extension for Chassis
The WP-CLI extension automatically sets up your Chassis instance to be able to automatically install WP-CLI packages on your Chassis box.
## Installation
1. Add this extension to your extensions directory `git clone https://github.com/Chassis/WP_CLI.git extensions/wp_cli`
2. Run `vagrant provision`.
## Alternative Installation
1. Add `- chassis/wp_cli` to your `extensions` in one of you [yaml](http://docs.chassis.io/en/latest/config/) files. e.g.
```
extensions:
- chassis/wp_cli
```
2. Run `vagrant provision`.
## Installing WP-CLI packages
You can have Chassis automatically run `composer install` in a number of directories in your project by adding a list of directories in one of your [yaml](http://docs.chassis.io/en/latest/config/) files. e.g.
```
wp_cli:
packages:
- wp-cli/server-command
- wp-cli/restful
```
You'll need to run `vagrant provision` for those to be installed if you'd added them after your first initial Chassis `vagrant up`.