Skip to content

Commit

Permalink
Merge pull request #343 from wp-cli/update-release-2-4-0
Browse files Browse the repository at this point in the history
Update handbook for release v2.4.0
  • Loading branch information
schlessera authored Nov 12, 2019
2 parents 6a5aa8d + fc51ad4 commit 3fd5296
Show file tree
Hide file tree
Showing 20 changed files with 25 additions and 18 deletions.
2 changes: 1 addition & 1 deletion commands/cli.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli

Review current WP-CLI info, check for updates, or see defined aliases.
Reviews current WP-CLI info, checks for updates, or views defined aliases.

### EXAMPLES

Expand Down
2 changes: 1 addition & 1 deletion commands/cli/alias.md
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ Aliases are shorthand references to WordPress installs. For instance, `@dev` cou
ssh: [email protected]:12345/home/dev/

# Add alias.
$ wp cli alias add prod --set-ssh=login@host --set-path=/path/to/wordpress/install/ --set-user=wpcli
$ wp cli alias add @prod --set-ssh=login@host --set-path=/path/to/wordpress/install/ --set-user=wpcli
Success: Added '@prod' alias.

# Update alias.
Expand Down
2 changes: 1 addition & 1 deletion commands/cli/alias/list.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli alias list

List available WP-CLI aliases.
Lists available WP-CLI aliases.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/cli/cache/clear.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli cache clear

Clear the internal cache.
Clears the internal cache.

### EXAMPLES

Expand Down
2 changes: 1 addition & 1 deletion commands/cli/cache/prune.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli cache prune

Prune the internal cache.
Prunes the internal cache.

Removes all cached files except for the newest version of each one.

Expand Down
2 changes: 1 addition & 1 deletion commands/cli/check-update.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli check-update

Check to see if there is a newer version of WP-CLI available.
Checks to see if there is a newer version of WP-CLI available.

Queries the Github releases API. Returns available versions if there are updates available, or success message if using the latest release.

Expand Down
2 changes: 1 addition & 1 deletion commands/cli/cmd-dump.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli cmd-dump

Dump the list of installed commands, as JSON.
Dumps the list of installed commands, as JSON.

### EXAMPLES

Expand Down
2 changes: 1 addition & 1 deletion commands/cli/completions.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli completions

Generate tab completion strings.
Generates tab completion strings.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/cli/info.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli info

Print various details about the WP-CLI environment.
Prints various details about the WP-CLI environment.

Helpful for diagnostic purposes, this command shares:

Expand Down
2 changes: 1 addition & 1 deletion commands/cli/param-dump.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli param-dump

Dump the list of global parameters, as JSON or in var_export format.
Dumps the list of global parameters, as JSON or in var_export format.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/cli/update.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli update

Update WP-CLI to the latest release.
Updates WP-CLI to the latest release.

Default behavior is to check the releases API for the newest stable version, and prompt if one is available.

Expand Down
2 changes: 1 addition & 1 deletion commands/cli/version.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp cli version

Print WP-CLI version.
Prints WP-CLI version.

### EXAMPLES

Expand Down
5 changes: 4 additions & 1 deletion commands/core/download.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,14 +6,17 @@ Downloads and extracts WordPress core files to the specified path. Uses current

### OPTIONS

[<download-url>]
: Download directly from a provided URL instead of fetching the URL from the wordpress.org servers.

[\--path=<path>]
: Specify the path in which to install WordPress. Defaults to current directory.

[\--locale=<locale>]
: Select which language you want to download.

[\--version=<version>]
: Select which version you want to download. Accepts a version number, 'latest' or 'nightly'
: Select which version you want to download. Accepts a version number, 'latest' or 'nightly'.

[\--skip-content]
: Download WP without the default themes and plugins.
Expand Down
3 changes: 3 additions & 0 deletions commands/dist-archive.md
Original file line number Diff line number Diff line change
Expand Up @@ -25,6 +25,9 @@ Use one distibution archive command for many projects, instead of a bash script
[<target>]
: Path and file name for the distribution archive. Defaults to project directory name plus version, if discoverable.

[\--create-target-dir]
: Automatically create the target directory as needed.

[\--format=<format>]
: Choose the format for the archive.
\---
Expand Down
2 changes: 1 addition & 1 deletion commands/help.md
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
# wp help

Get help on WP-CLI, or on a specific command.
Gets help on WP-CLI, or on a specific command.

### OPTIONS

Expand Down
1 change: 1 addition & 0 deletions commands/plugin/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,7 @@ These fields are optionally available:
* update_id
* title
* description
* file

### EXAMPLES

Expand Down
2 changes: 1 addition & 1 deletion commands/post/generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@ options:
Generating posts 100% [================================================] 0:01 / 0:04

# Generate posts with fetched content.
$ curl http://loripsum.net/api/5 | wp post generate --post_content --count=10
$ curl -N http://loripsum.net/api/5 | wp post generate --post_content --count=10
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 2509 100 2509 0 0 616 0 0:00:04 0:00:04 --:--:-- 616
Expand Down
2 changes: 1 addition & 1 deletion commands/scaffold/plugin.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ The following files are always generated:

* `plugin-slug.php` is the main PHP plugin file.
* `readme.txt` is the readme file for the plugin.
* `package.json` needed by NPM holds various metadata relevant to the project. Packages: `grunt`, `grunt-wp-i18n` and `grunt-wp-readme-to-markdown`.
* `package.json` needed by NPM holds various metadata relevant to the project. Packages: `grunt`, `grunt-wp-i18n` and `grunt-wp-readme-to-markdown`. Scripts: `start`, `readme`, `i18n`.
* `Gruntfile.js` is the JS file containing Grunt tasks. Tasks: `i18n` containing `addtextdomain` and `makepot`, `readme` containing `wp_readme_to_markdown`.
* `.editorconfig` is the configuration file for Editor.
* `.gitignore` tells which files (or patterns) git should ignore.
Expand Down
2 changes: 1 addition & 1 deletion commands/user/reset-password.md
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@ Resets the password for one or more users.
$ wp user reset-password admin editor
Reset password for admin.
Reset password for editor.
Success: Passwords reset.
Success: Passwords reset for 2 users.

### GLOBAL PARAMETERS

Expand Down
2 changes: 1 addition & 1 deletion internal-api/wp-cli-utils-make-progress-bar.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ Create a progress bar to display percent completion of a given operation.
<strong>$message</strong> (string) Text to display before the progress bar.<br />
<strong>$count</strong> (integer) Total number of ticks to be performed.<br />
<strong>$interval</strong> (int) Optional. The interval in milliseconds between updates. Default 100.<br />
<strong>@return</strong> (\cli\progress\Bar|WP_CLI\NoOp) <br />
<strong>@return</strong> (cli\progress\Bar|WP_CLI\NoOp) <br />
</div>


Expand Down

0 comments on commit 3fd5296

Please sign in to comment.