mirror of
https://hk.gh-proxy.com/https://github.com/wp-cli/profile-command.git
synced 2025-08-21 06:39:02 +08:00
Add options to README
This commit is contained in:
parent
dc04782a8f
commit
76808314c9
1 changed files with 20 additions and 1 deletions
21
README.md
21
README.md
|
@ -10,9 +10,28 @@ Quick links: [Using](#using) | [Installing](#installing) | [Contributing](#contr
|
|||
## Using
|
||||
|
||||
~~~
|
||||
wp profile
|
||||
wp profile [--url=<url>] [--field=<field>] [--format=<format>]
|
||||
~~~
|
||||
|
||||
**OPTIONS**
|
||||
|
||||
[--url=<url>]
|
||||
Execute a request against a specified URL. Defaults to the home URL.
|
||||
|
||||
[--field=<field>]
|
||||
Display a specific field.
|
||||
|
||||
[--format=<format>]
|
||||
Render output in a particular format.
|
||||
---
|
||||
default: table
|
||||
options:
|
||||
- table
|
||||
- json
|
||||
- yaml
|
||||
- csv
|
||||
---
|
||||
|
||||
## Installing
|
||||
|
||||
Installing this package requires WP-CLI v0.23.0 or greater. Update to the latest stable release with `wp cli update`.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue