Skip to content

Commit 7cb044c

Browse files
committed
Regenerate README file
1 parent 869eb85 commit 7cb044c

File tree

1 file changed

+114
-20
lines changed

1 file changed

+114
-20
lines changed

README.md

Lines changed: 114 additions & 20 deletions
Original file line numberDiff line numberDiff line change
@@ -441,7 +441,14 @@ wp comment meta get <id> <key> [--format=<format>]
441441
The name of the meta field to get.
442442

443443
[--format=<format>]
444-
Accepted values: table, json. Default: table
444+
Get value in a particular format.
445+
---
446+
default: var_export
447+
options:
448+
- var_export
449+
- json
450+
- yaml
451+
---
445452

446453

447454

@@ -465,7 +472,16 @@ wp comment meta list <id> [--keys=<keys>] [--fields=<fields>] [--format=<format>
465472
Limit the output to specific row fields. Defaults to id,meta_key,meta_value.
466473

467474
[--format=<format>]
468-
Accepted values: table, csv, json, count. Default: table
475+
Render output in a particular format.
476+
---
477+
default: table
478+
options:
479+
- table
480+
- csv
481+
- json
482+
- yaml
483+
- count
484+
---
469485

470486
[--orderby=<fields>]
471487
Set orderby which field.
@@ -1336,8 +1352,6 @@ wp network meta
13361352

13371353

13381354

1339-
1340-
13411355
### wp network meta add
13421356

13431357
Add a meta field.
@@ -1409,7 +1423,14 @@ wp network meta get <id> <key> [--format=<format>]
14091423
The name of the meta field to get.
14101424

14111425
[--format=<format>]
1412-
Accepted values: table, json. Default: table
1426+
Get value in a particular format.
1427+
---
1428+
default: var_export
1429+
options:
1430+
- var_export
1431+
- json
1432+
- yaml
1433+
---
14131434

14141435

14151436

@@ -1433,7 +1454,16 @@ wp network meta list <id> [--keys=<keys>] [--fields=<fields>] [--format=<format>
14331454
Limit the output to specific row fields. Defaults to id,meta_key,meta_value.
14341455

14351456
[--format=<format>]
1436-
Accepted values: table, csv, json, count. Default: table
1457+
Render output in a particular format.
1458+
---
1459+
default: table
1460+
options:
1461+
- table
1462+
- csv
1463+
- json
1464+
- yaml
1465+
- count
1466+
---
14371467

14381468
[--orderby=<fields>]
14391469
Set orderby which field.
@@ -1704,7 +1734,7 @@ wp option get <key> [--format=<format>]
17041734
Lists options and their values.
17051735

17061736
~~~
1707-
wp option list [--search=<pattern>] [--exclude=<pattern>] [--autoload=<value>] [--transients] [--field=<field>] [--fields=<fields>] [--format=<format>] [--orderby=<fields>] [--order=<order>]
1737+
wp option list [--search=<pattern>] [--exclude=<pattern>] [--autoload=<value>] [--transients] [--unserialize] [--field=<field>] [--fields=<fields>] [--format=<format>] [--orderby=<fields>] [--order=<order>]
17081738
~~~
17091739

17101740
**OPTIONS**
@@ -1721,6 +1751,9 @@ wp option list [--search=<pattern>] [--exclude=<pattern>] [--autoload=<value>] [
17211751
[--transients]
17221752
List only transients. Use `--no-transients` to ignore all transients.
17231753

1754+
[--unserialize]
1755+
Unserialize option values in output.
1756+
17241757
[--field=<field>]
17251758
Prints the value of a single field.
17261759

@@ -2460,7 +2493,14 @@ wp post meta get <id> <key> [--format=<format>]
24602493
The name of the meta field to get.
24612494

24622495
[--format=<format>]
2463-
Accepted values: table, json. Default: table
2496+
Get value in a particular format.
2497+
---
2498+
default: var_export
2499+
options:
2500+
- var_export
2501+
- json
2502+
- yaml
2503+
---
24642504

24652505

24662506

@@ -2484,7 +2524,16 @@ wp post meta list <id> [--keys=<keys>] [--fields=<fields>] [--format=<format>] [
24842524
Limit the output to specific row fields. Defaults to id,meta_key,meta_value.
24852525

24862526
[--format=<format>]
2487-
Accepted values: table, csv, json, count. Default: table
2527+
Render output in a particular format.
2528+
---
2529+
default: table
2530+
options:
2531+
- table
2532+
- csv
2533+
- json
2534+
- yaml
2535+
- count
2536+
---
24882537

24892538
[--orderby=<fields>]
24902539
Set orderby which field.
@@ -2677,7 +2726,17 @@ wp post term list <id> <taxonomy>... [--field=<field>] [--fields=<fields>] [--fo
26772726
Limit the output to specific row fields.
26782727

26792728
[--format=<format>]
2680-
Accepted values: table, csv, json, count, ids. Default: table
2729+
Render output in a particular format.
2730+
---
2731+
default: table
2732+
options:
2733+
- table
2734+
- csv
2735+
- json
2736+
- yaml
2737+
- count
2738+
- ids
2739+
---
26812740

26822741
**AVAILABLE FIELDS**
26832742

@@ -2866,7 +2925,7 @@ wp post update <id>... [--post_author=<post_author>] [--post_date=<post_date>] [
28662925
Success: Updated post 123.
28672926

28682927
# Update a post with multiple meta values.
2869-
$ wp post update 123 --meta_input='{"key1":"value1","key2":"value2"}
2928+
$ wp post update 123 --meta_input='{"key1":"value1","key2":"value2"}'
28702929
Success: Updated post 123.
28712930

28722931

@@ -3983,7 +4042,14 @@ wp term meta get <id> <key> [--format=<format>]
39834042
The name of the meta field to get.
39844043

39854044
[--format=<format>]
3986-
Accepted values: table, json. Default: table
4045+
Get value in a particular format.
4046+
---
4047+
default: var_export
4048+
options:
4049+
- var_export
4050+
- json
4051+
- yaml
4052+
---
39874053

39884054

39894055

@@ -4007,7 +4073,16 @@ wp term meta list <id> [--keys=<keys>] [--fields=<fields>] [--format=<format>] [
40074073
Limit the output to specific row fields. Defaults to id,meta_key,meta_value.
40084074

40094075
[--format=<format>]
4010-
Accepted values: table, csv, json, count. Default: table
4076+
Render output in a particular format.
4077+
---
4078+
default: table
4079+
options:
4080+
- table
4081+
- csv
4082+
- json
4083+
- yaml
4084+
- count
4085+
---
40114086

40124087
[--orderby=<fields>]
40134088
Set orderby which field.
@@ -4305,7 +4380,7 @@ wp user add-role <user> <role>
43054380
Creates a new user.
43064381

43074382
~~~
4308-
wp user create <user-login> <user-email> [--role=<role>] [--user_pass=<password>] [--user_registered=<yyyy-mm-dd-hh-ii-ss>] [--display_name=<name>] [--user_nicename=<nice_name>] [--user_url=<url>] [--user_email=<email>] [--nickname=<nickname>] [--first_name=<first_name>] [--last_name=<last_name>] [--description=<description>] [--rich_editing=<rich_editing>] [--send-email] [--porcelain]
4383+
wp user create <user-login> <user-email> [--role=<role>] [--user_pass=<password>] [--user_registered=<yyyy-mm-dd-hh-ii-ss>] [--display_name=<name>] [--user_nicename=<nice_name>] [--user_url=<url>] [--nickname=<nickname>] [--first_name=<first_name>] [--last_name=<last_name>] [--description=<description>] [--rich_editing=<rich_editing>] [--send-email] [--porcelain]
43094384
~~~
43104385

43114386
**OPTIONS**
@@ -4335,9 +4410,6 @@ wp user create <user-login> <user-email> [--role=<role>] [--user_pass=<password>
43354410
[--user_url=<url>]
43364411
A string containing the user's URL for the user's web site.
43374412

4338-
[--user_email=<email>]
4339-
A string containing the user's email address.
4340-
43414413
[--nickname=<nickname>]
43424414
The user's nickname, defaults to the user's username.
43434415

@@ -4711,7 +4783,13 @@ wp user meta add <user> <key> <value> [--format=<format>]
47114783
The new metadata value.
47124784

47134785
[--format=<format>]
4714-
The serialization format for the value. Default is plaintext.
4786+
The serialization format for the value.
4787+
---
4788+
default: plaintext
4789+
options:
4790+
- plaintext
4791+
- json
4792+
---
47154793

47164794
**EXAMPLES**
47174795

@@ -4939,7 +5017,13 @@ wp user meta update <user> <key> <value> [--format=<format>]
49395017
The new metadata value.
49405018

49415019
[--format=<format>]
4942-
The serialization format for the value. Default is plaintext.
5020+
The serialization format for the value.
5021+
---
5022+
default: plaintext
5023+
options:
5024+
- plaintext
5025+
- json
5026+
---
49435027

49445028
**EXAMPLES**
49455029

@@ -5260,7 +5344,17 @@ wp user term list <id> <taxonomy>... [--field=<field>] [--fields=<fields>] [--fo
52605344
Limit the output to specific row fields.
52615345

52625346
[--format=<format>]
5263-
Accepted values: table, csv, json, count, ids. Default: table
5347+
Render output in a particular format.
5348+
---
5349+
default: table
5350+
options:
5351+
- table
5352+
- csv
5353+
- json
5354+
- yaml
5355+
- count
5356+
- ids
5357+
---
52645358

52655359
**AVAILABLE FIELDS**
52665360

0 commit comments

Comments
 (0)