Skip to content

Commit

Permalink
Merge pull request #268 from wp-cli/update-to-v2-1-0
Browse files Browse the repository at this point in the history
Update to v2.1.0
  • Loading branch information
schlessera authored Dec 19, 2018
2 parents a69c226 + ad5be06 commit e1cd22b
Show file tree
Hide file tree
Showing 357 changed files with 845 additions and 492 deletions.
56 changes: 48 additions & 8 deletions bin/commands-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -447,6 +447,14 @@
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/cli\/alias.md",
"repo_url": "https:\/\/github.com\/wp-cli\/wp-cli"
},
"cli\/cache": {
"title": "cli cache",
"slug": "cache",
"cmd_path": "cli\/cache",
"parent": "cli",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/cli\/cache.md",
"repo_url": "https:\/\/github.com\/wp-cli\/wp-cli"
},
"cli\/check-update": {
"title": "cli check-update",
"slug": "check-update",
Expand Down Expand Up @@ -983,6 +991,14 @@
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/embed\/provider.md",
"repo_url": "https:\/\/github.com\/wp-cli\/embed-command"
},
"i18n\/make-json": {
"title": "i18n make-json",
"slug": "make-json",
"cmd_path": "i18n\/make-json",
"parent": "i18n",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/i18n\/make-json.md",
"repo_url": "https:\/\/github.com\/wp-cli\/i18n-command"
},
"i18n\/make-pot": {
"title": "i18n make-pot",
"slug": "make-pot",
Expand Down Expand Up @@ -1351,6 +1367,14 @@
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/post\/edit.md",
"repo_url": "https:\/\/github.com\/wp-cli\/entity-command"
},
"post\/exists": {
"title": "post exists",
"slug": "exists",
"cmd_path": "post\/exists",
"parent": "post",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/post\/exists.md",
"repo_url": "https:\/\/github.com\/wp-cli\/entity-command"
},
"post\/generate": {
"title": "post generate",
"slug": "generate",
Expand Down Expand Up @@ -1935,6 +1959,14 @@
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/transient\/get.md",
"repo_url": "https:\/\/github.com\/wp-cli\/cache-command"
},
"transient\/list": {
"title": "transient list",
"slug": "list",
"cmd_path": "transient\/list",
"parent": "transient",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/transient\/list.md",
"repo_url": "https:\/\/github.com\/wp-cli\/cache-command"
},
"transient\/set": {
"title": "transient set",
"slug": "set",
Expand Down Expand Up @@ -2167,6 +2199,22 @@
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/widget\/update.md",
"repo_url": "https:\/\/github.com\/wp-cli\/widget-command"
},
"cli\/cache\/clear": {
"title": "cli cache clear",
"slug": "clear",
"cmd_path": "cli\/cache\/clear",
"parent": "cli\/cache",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/cli\/cache\/clear.md",
"repo_url": "https:\/\/github.com\/wp-cli\/wp-cli"
},
"cli\/cache\/prune": {
"title": "cli cache prune",
"slug": "prune",
"cmd_path": "cli\/cache\/prune",
"parent": "cli\/cache",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/cli\/cache\/prune.md",
"repo_url": "https:\/\/github.com\/wp-cli\/wp-cli"
},
"comment\/meta\/add": {
"title": "comment meta add",
"slug": "add",
Expand Down Expand Up @@ -2319,14 +2367,6 @@
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/language\/core\/activate.md",
"repo_url": "https:\/\/github.com\/wp-cli\/language-command"
},
"language\/core\/activate_language": {
"title": "language core activate_language",
"slug": "activate_language",
"cmd_path": "language\/core\/activate_language",
"parent": "language\/core",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/master\/commands\/language\/core\/activate_language.md",
"repo_url": "https:\/\/github.com\/wp-cli\/language-command"
},
"language\/core\/install": {
"title": "language core install",
"slug": "install",
Expand Down
2 changes: 1 addition & 1 deletion commands/admin.md
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cache/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cache/decr.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cache/delete.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cache/flush.md
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cache/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cache/incr.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cache/replace.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cache/set.md
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cache/type.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cap/add.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cap/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,7 +45,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
2 changes: 1 addition & 1 deletion commands/cap/remove.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
4 changes: 4 additions & 0 deletions commands/cli.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,4 +19,8 @@ Review current WP-CLI info, check for updates, or see defined aliases.
New version works. Proceeding to replace.
Success: Updated WP-CLI to 0.24.1.

# Clear the internal WP-CLI cache.
$ wp cli cache clear
Success: Cache cleared.


5 changes: 3 additions & 2 deletions commands/cli/alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

List available WP-CLI aliases.

Aliases are shorthand references to WordPress installs. For instance, `@dev` could refer to a development install and `@prod` could refer to a production install. This command gives you visibility in what registered aliases you have available.
Aliases are shorthand references to WordPress installations. For instance, `@dev` could refer to a development installation and `@prod` could refer to a production installation. This command gives you visibility in what registered aliases you have available.

### OPTIONS

Expand All @@ -21,6 +21,7 @@ options:
# List all available aliases.
$ wp cli alias
---

@all: Run command against every registered alias.
@prod:
ssh: [email protected]~/webapps/production
Expand All @@ -39,7 +40,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
17 changes: 17 additions & 0 deletions commands/cli/cache.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
# wp cli cache

Manages the internal WP-CLI cache,.

### EXAMPLES

# Remove all cached files.
$ wp cli cache clear
Success: Cache cleared.

# Remove all cached files except for the newest version of each one.
$ wp cli cache prune
Success: Cache pruned.




Original file line number Diff line number Diff line change
@@ -1,8 +1,11 @@
# wp language core activate_language

# wp cli cache clear

Clear the internal cache.

### EXAMPLES

$ wp cli cache clear
Success: Cache cleared.

### GLOBAL PARAMETERS

Expand All @@ -13,7 +16,7 @@ These [global parameters](https://make.wordpress.org/cli/handbook/config/) have
| `--path=<path>` | Path to the WordPress files. |
| `--url=<url>` | Pretend request came from given URL. In multisite, this argument is how the target site is specified. |
| `--ssh=[<scheme>:][<user>@]<host\|container>[:<port>][<path>]` | Perform operation against a remote server over SSH (or a container using scheme of "docker", "docker-compose", "vagrant"). |
| `--http=<http>` | Perform operation against a remote WordPress install over HTTP. |
| `--http=<http>` | Perform operation against a remote WordPress installation over HTTP. |
| `--user=<id\|login\|email>` | Set the WordPress user. |
| `--skip-plugins[=<plugins>]` | Skip loading all plugins, or a comma-separated list of plugins. Note: mu-plugins are still loaded. |
| `--skip-themes[=<themes>]` | Skip loading all themes, or a comma-separated list of themes. |
Expand Down
Loading

0 comments on commit e1cd22b

Please sign in to comment.