Skip to content

Commit 8b57210

Browse files
committed
Update readme file to reflect updated docs
1 parent d2f5aec commit 8b57210

File tree

1 file changed

+22
-20
lines changed

1 file changed

+22
-20
lines changed

README.md

Lines changed: 22 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -23,19 +23,19 @@ WP-CLI packages are community-maintained projects built on WP-CLI. They can
2323
contain WP-CLI commands, but they can also just extend WP-CLI in some way.
2424

2525
Learn how to create your own command from the
26-
[Commands Cookbook](https://make.wordpress.org/cli/handbook/commands-cookbook/)
26+
[Commands Cookbook](https://make.wordpress.org/cli/handbook/guides/commands-cookbook/)
2727

2828
**EXAMPLES**
2929

30-
# List installed packages
30+
# List installed packages.
3131
$ wp package list
32-
+-----------------------+------------------------------------------+---------+----------+
33-
| name | description | authors | version |
34-
+-----------------------+------------------------------------------+---------+----------+
35-
| wp-cli/server-command | Start a development server for WordPress | | dev-main |
36-
+-----------------------+------------------------------------------+---------+----------+
32+
+-----------------------+------------------+----------+-----------+----------------+
33+
| name | authors | version | update | update_version |
34+
+-----------------------+------------------+----------+-----------+----------------+
35+
| wp-cli/server-command | Daniel Bachhuber | dev-main | available | 2.x-dev |
36+
+-----------------------+------------------+----------+-----------+----------------+
3737

38-
# Install the latest development version of the package
38+
# Install the latest development version of the package.
3939
$ wp package install wp-cli/server-command
4040
Installing package wp-cli/server-command (dev-main)
4141
Updating /home/person/.wp-cli/packages/composer.json to require the package...
@@ -53,11 +53,11 @@ Learn how to create your own command from the
5353
---
5454
Success: Package installed.
5555

56-
# Uninstall package
56+
# Uninstall package.
5757
$ wp package uninstall wp-cli/server-command
58-
Removing require statement from /home/person/.wp-cli/packages/composer.json
59-
Deleting package directory /home/person/.wp-cli/packages/vendor/wp-cli/server-command
60-
Regenerating Composer autoload.
58+
Removing require statement for package 'wp-cli/server-command' from /home/person/.wp-cli/packages/composer.json
59+
Removing repository details from /home/person/.wp-cli/packages/composer.json
60+
Removing package directories and regenerating autoloader...
6161
Success: Uninstalled package.
6262

6363

@@ -225,12 +225,13 @@ These fields are optionally available:
225225

226226
**EXAMPLES**
227227

228+
# List installed packages.
228229
$ wp package list
229-
+-----------------------+------------------------------------------+---------+----------+
230-
| name | description | authors | version |
231-
+-----------------------+------------------------------------------+---------+----------+
232-
| wp-cli/server-command | Start a development server for WordPress | | dev-main |
233-
+-----------------------+------------------------------------------+---------+----------+
230+
+-----------------------+------------------+----------+-----------+----------------+
231+
| name | authors | version | update | update_version |
232+
+-----------------------+------------------+----------+-----------+----------------+
233+
| wp-cli/server-command | Daniel Bachhuber | dev-main | available | 2.x-dev |
234+
+-----------------------+------------------+----------+-----------+----------------+
234235

235236

236237

@@ -278,10 +279,11 @@ wp package uninstall <name> [--insecure]
278279

279280
**EXAMPLES**
280281

282+
# Uninstall package.
281283
$ wp package uninstall wp-cli/server-command
282-
Removing require statement from /home/person/.wp-cli/packages/composer.json
283-
Deleting package directory /home/person/.wp-cli/packages/vendor/wp-cli/server-command
284-
Regenerating Composer autoload.
284+
Removing require statement for package 'wp-cli/server-command' from /home/person/.wp-cli/packages/composer.json
285+
Removing repository details from /home/person/.wp-cli/packages/composer.json
286+
Removing package directories and regenerating autoloader...
285287
Success: Uninstalled package.
286288

287289
## Installing

0 commit comments

Comments
 (0)