2017 © Pedro PelĂĄez
 

wp-cli-package cli

WP-CLI package for Simple Wordpress Orchestration

image

deve/cli

WP-CLI package for Simple Wordpress Orchestration

  • Friday, March 9, 2018
  • by tstachl
  • Repository
  • 1 Watchers
  • 0 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

deve/cli

WP-CLI package for Simple Wordpress Orchestration, (*1)

Build Status Packagist Packagist Pre Release PHP from Packagist GitHub watchers, (*2)

Quick links: Using | Installing | Contributing | Support, (*3)

Using

wp deve site

Manages sites, including creation, activate and removal., (*4)

Examples

# List sites
$ wp deve site list
+-------------+--------+----------------+---------+
| domain      | active | default-server | ssl     |
+-------------+--------+----------------+---------+
| deve.us     | 1      | 1              | 1       |
| dev.deve.us | 0      | 0              | 0       |
| ssl.deve.us | 1      | 0              | 0       |
+-------------+--------+----------------+---------+

# Create a site
$ wp deve site create dev.deve.us --skip-ssl
Configuration files created.
WWW directory created.
Success: Site `dev.deve.us` created.

# Add SSL
$ wp deve site ssl dev.deve.us
letsencrypt.org certificates created.
Nginx configuration updated.
Nginx test successful.
Nginx reload successful.
Success: SSL enabled for `dev.deve.us`.

# Activate a site
$ wp deve site activate dev.deve.us
Configuration linked.
Nginx test successful.
Nginx reload successful.
PHP test successful.
PHP reload successful.
Success: Site `dev.deve.us` activated.

# Deactivate a site
$ wp deve site deactivate dev.deve.us
Configuration unlinked.
Nginx reload successful.
PHP reload successful.
Success: Site `dev.deve.us` deactivated.

# Delete a site
$ wp deve site delete dev.deve.us
Configuration removed.
WWW directory archived.
WWW folder removed.
Success: Site `dev.deve.us` deleted.

Installing

Installing this package requires WP-CLI v1.1.0 or greater. Update to the latest stable release with wp cli update., (*5)

Once you've done so, you can install this package with:, (*6)

wp package install git@github.com:devedotus/cli.git

Contributing

We appreciate you taking the initiative to contribute to this project., (*7)

Contributing isn’t limited to just code. We encourage you to contribute in the way that best fits your abilities, by writing tutorials, giving a demo at your local meetup, helping other users with their support questions, or revising our documentation., (*8)

For a more thorough introduction, check out WP-CLI's guide to contributing. This package follows those policy and guidelines., (*9)

Reporting a bug

Think you’ve found a bug? We’d love for you to help us get it fixed., (*10)

Before you create a new issue, you should search existing issues to see if there’s an existing resolution to it, or if it’s already been fixed in a newer version., (*11)

Once you’ve done a bit of searching and discovered there isn’t an open or fixed issue for your bug, please create a new issue. Include as much detail as you can, and clear steps to reproduce if possible. For more guidance, review our bug report documentation., (*12)

Creating a pull request

Want to contribute a new feature? Please first open a new issue to discuss whether the feature is a good fit for the project., (*13)

Once you've decided to commit the time to seeing your pull request through, please follow our guidelines for creating a pull request to make sure it's a pleasant experience. See "Setting up" for details specific to working on this package locally., (*14)

Support

Github issues aren't for general support questions, but there are other venues you can try: https://wp-cli.org/#support, (*15)

Testing

Some Docker wizardry by @davegaeddert finally get's this project started testing., (*16)

This README.md is generated dynamically from the project's codebase using wp scaffold package-readme (doc). To suggest changes, please submit a pull request against the corresponding part of the codebase., (*17)

The Versions

09/03 2018

dev-master

9999999-dev https://github.com/devedotus/cli

WP-CLI package for Simple Wordpress Orchestration

  Sources   Download

MIT

The Requires

 

The Development Requires