WP-CLI command that generates a new VCCW.
PHP Shell Gherkin Ruby
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
bin
features
lib
templates complete Nov 13, 2016
tests
utils
.editorconfig
.gitignore remove unused files Nov 13, 2016
.travis.yml
CONTRIBUTING.md
LICENSE update composer Nov 14, 2016
README.md
cli.php add `--update` option Jan 16, 2017
composer.json
composer.lock add `--update` option Jan 16, 2017
phpunit.xml first commit Nov 12, 2016
wp-cli.yml first commit Nov 12, 2016

README.md

vccw/scaffold-vccw

Build Status

This is a WP-CLI command that generates a VCCW envirionment.

$ wp scaffold vccw wordpress.dev --lang=ja
Generating:   100% [===========================] 0:03 / 0:06
Success: Generated.

Install

Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with wp cli update.

Once you've done so, you can install this package with:

$ wp package install vccw/scaffold-vccw:@stable

Usage

NAME

  wp scaffold vccw

DESCRIPTION

  Generate a new VCCW environment.

SYNOPSIS

  wp scaffold vccw <directory> [--host=<hostname>] [--ip=<ip-address>]
  [--lang=<language>] [--update]

OPTIONS

  <directory>
    The directory of the new VCCW based guest machine.

  [--host=<hostname>]
    Hostname of the guest machine. Default is `vccw.dev`.

  [--ip=<ip-address>]
    IP address of the guest machine. Default is `192.168.33.10`.

  [--lang=<language>]
    Language of the WordPress. Default is `en_US`.

  [--update]
    Update files of the VCCW to latest version.

EXAMPLES

    $ wp scaffold vccw wordpress.dev
    Generating:   100% [===========================] 0:03 / 0:06
    Success: Generated.

    $ wp scaffold vccw wordpress.dev --lang=ja
    Generating:   100% [===========================] 0:03 / 0:06
    Success: Generated.

Customize your default site.yml

  1. Download default template from GitHub.
  2. Edit it.
  3. Place it under the file name of ~/.wp-cli/vccw.yml.mustache.