Skip to content

Commit a93ef03

Browse files
committed
Add missing commands to readme
1 parent 9ebd7b8 commit a93ef03

File tree

2 files changed

+293
-1
lines changed

2 files changed

+293
-1
lines changed

README.md

Lines changed: 284 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -948,6 +948,148 @@ wp plugin update [<plugin>...] [--all] [--exclude=<name>] [--minor] [--patch] [-
948948

949949

950950

951+
### wp plugin auto-updates
952+
953+
Manages plugin auto-updates.
954+
955+
~~~
956+
wp plugin auto-updates
957+
~~~
958+
959+
**EXAMPLES**
960+
961+
# Enable the auto-updates for a plugin
962+
$ wp plugin auto-updates enable hello
963+
Plugin auto-updates for 'hello' enabled.
964+
Success: Enabled 1 of 1 plugin auto-updates.
965+
966+
# Disable the auto-updates for a plugin
967+
$ wp plugin auto-updates disable hello
968+
Plugin auto-updates for 'hello' disabled.
969+
Success: Disabled 1 of 1 plugin auto-updates.
970+
971+
# Get the status of plugin auto-updates
972+
$ wp plugin auto-updates status hello
973+
Auto-updates for plugin 'hello' are disabled.
974+
975+
976+
977+
978+
979+
### wp plugin auto-updates disable
980+
981+
Disables the auto-updates for a plugin.
982+
983+
~~~
984+
wp plugin auto-updates disable [<plugin>...] [--all] [--enabled-only]
985+
~~~
986+
987+
**OPTIONS**
988+
989+
[<plugin>...]
990+
One or more plugins to disable auto-updates for.
991+
992+
[--all]
993+
If set, auto-updates will be disabled for all plugins.
994+
995+
[--enabled-only]
996+
If set, filters list of plugins to only include the ones that have
997+
auto-updates enabled.
998+
999+
**EXAMPLES**
1000+
1001+
# Disable the auto-updates for a plugin
1002+
$ wp plugin auto-updates disable hello
1003+
Plugin auto-updates for 'hello' disabled.
1004+
Success: Disabled 1 of 1 plugin auto-updates.
1005+
1006+
1007+
1008+
### wp plugin auto-updates enable
1009+
1010+
Enables the auto-updates for a plugin.
1011+
1012+
~~~
1013+
wp plugin auto-updates enable [<plugin>...] [--all] [--disabled-only]
1014+
~~~
1015+
1016+
**OPTIONS**
1017+
1018+
[<plugin>...]
1019+
One or more plugins to enable auto-updates for.
1020+
1021+
[--all]
1022+
If set, auto-updates will be enabled for all plugins.
1023+
1024+
[--disabled-only]
1025+
If set, filters list of plugins to only include the ones that have
1026+
auto-updates disabled.
1027+
1028+
**EXAMPLES**
1029+
1030+
# Enable the auto-updates for a plugin
1031+
$ wp plugin auto-updates enable hello
1032+
Plugin auto-updates for 'hello' enabled.
1033+
Success: Enabled 1 of 1 plugin auto-updates.
1034+
1035+
1036+
1037+
### wp plugin auto-updates status
1038+
1039+
Shows the status of auto-updates for a plugin.
1040+
1041+
~~~
1042+
wp plugin auto-updates status [<plugin>...] [--all] [--enabled-only] [--disabled-only] [--field=<field>] [--format=<format>]
1043+
~~~
1044+
1045+
**OPTIONS**
1046+
1047+
[<plugin>...]
1048+
One or more plugins to show the status of the auto-updates of.
1049+
1050+
[--all]
1051+
If set, the status of auto-updates for all plugins will be shown.
1052+
1053+
[--enabled-only]
1054+
If set, filters list of plugins to only include the ones that have
1055+
auto-updates enabled.
1056+
1057+
[--disabled-only]
1058+
If set, filters list of plugins to only include the ones that have
1059+
auto-updates disabled.
1060+
1061+
[--field=<field>]
1062+
Only show the provided field.
1063+
1064+
[--format=<format>]
1065+
Render output in a particular format.
1066+
---
1067+
default: table
1068+
options:
1069+
- table
1070+
- csv
1071+
- json
1072+
- yaml
1073+
- count
1074+
---
1075+
1076+
**EXAMPLES**
1077+
1078+
# Get the status of plugin auto-updates
1079+
$ wp plugin auto-updates status hello
1080+
+-------+----------+
1081+
| name | status |
1082+
+-------+----------+
1083+
| hello | disabled |
1084+
+-------+----------+
1085+
1086+
# Get the list of plugins that have auto-updates enabled
1087+
$ wp plugin auto-updates status --all --enabled-only --field=name
1088+
akismet
1089+
duplicate-post
1090+
1091+
1092+
9511093
### wp theme
9521094

9531095
Manages themes, including installs, activations, and updates.
@@ -1793,6 +1935,148 @@ wp theme mod list [--field=<field>] [--format=<format>]
17931935
| main_text_color | #8224e3 |
17941936
+------------------+---------+
17951937

1938+
1939+
1940+
### wp theme auto-updates
1941+
1942+
Manages theme auto-updates.
1943+
1944+
~~~
1945+
wp theme auto-updates
1946+
~~~
1947+
1948+
**EXAMPLES**
1949+
1950+
# Enable the auto-updates for a theme
1951+
$ wp theme auto-updates enable twentysixteen
1952+
Theme auto-updates for 'twentysixteen' enabled.
1953+
Success: Enabled 1 of 1 theme auto-updates.
1954+
1955+
# Disable the auto-updates for a theme
1956+
$ wp theme auto-updates disable twentysixteen
1957+
Theme auto-updates for 'twentysixteen' disabled.
1958+
Success: Disabled 1 of 1 theme auto-updates.
1959+
1960+
# Get the status of theme auto-updates
1961+
$ wp theme auto-updates status twentysixteen
1962+
Auto-updates for theme 'twentysixteen' are disabled.
1963+
1964+
1965+
1966+
1967+
1968+
### wp theme auto-updates disable
1969+
1970+
Disables the auto-updates for a theme.
1971+
1972+
~~~
1973+
wp theme auto-updates disable [<theme>...] [--all] [--enabled-only]
1974+
~~~
1975+
1976+
**OPTIONS**
1977+
1978+
[<theme>...]
1979+
One or more themes to disable auto-updates for.
1980+
1981+
[--all]
1982+
If set, auto-updates will be disabled for all themes.
1983+
1984+
[--enabled-only]
1985+
If set, filters list of themes to only include the ones that have
1986+
auto-updates enabled.
1987+
1988+
**EXAMPLES**
1989+
1990+
# Disable the auto-updates for a theme
1991+
$ wp theme auto-updates disable twentysixteen
1992+
Theme auto-updates for 'twentysixteen' disabled.
1993+
Success: Disabled 1 of 1 theme auto-updates.
1994+
1995+
1996+
1997+
### wp theme auto-updates enable
1998+
1999+
Enables the auto-updates for a theme.
2000+
2001+
~~~
2002+
wp theme auto-updates enable [<theme>...] [--all] [--disabled-only]
2003+
~~~
2004+
2005+
**OPTIONS**
2006+
2007+
[<theme>...]
2008+
One or more themes to enable auto-updates for.
2009+
2010+
[--all]
2011+
If set, auto-updates will be enabled for all themes.
2012+
2013+
[--disabled-only]
2014+
If set, filters list of themes to only include the ones that have
2015+
auto-updates disabled.
2016+
2017+
**EXAMPLES**
2018+
2019+
# Enable the auto-updates for a theme
2020+
$ wp theme auto-updates enable twentysixteen
2021+
Theme auto-updates for 'twentysixteen' enabled.
2022+
Success: Enabled 1 of 1 theme auto-updates.
2023+
2024+
2025+
2026+
### wp theme auto-updates status
2027+
2028+
Shows the status of auto-updates for a theme.
2029+
2030+
~~~
2031+
wp theme auto-updates status [<theme>...] [--all] [--enabled-only] [--disabled-only] [--field=<field>] [--format=<format>]
2032+
~~~
2033+
2034+
**OPTIONS**
2035+
2036+
[<theme>...]
2037+
One or more themes to show the status of the auto-updates of.
2038+
2039+
[--all]
2040+
If set, the status of auto-updates for all themes will be shown.
2041+
2042+
[--enabled-only]
2043+
If set, filters list of themes to only include the ones that have
2044+
auto-updates enabled.
2045+
2046+
[--disabled-only]
2047+
If set, filters list of themes to only include the ones that have
2048+
auto-updates disabled.
2049+
2050+
[--field=<field>]
2051+
Only show the provided field.
2052+
2053+
[--format=<format>]
2054+
Render output in a particular format.
2055+
---
2056+
default: table
2057+
options:
2058+
- table
2059+
- csv
2060+
- json
2061+
- yaml
2062+
- count
2063+
---
2064+
2065+
**EXAMPLES**
2066+
2067+
# Get the status of theme auto-updates
2068+
$ wp theme auto-updates status twentysixteen
2069+
+---------------+----------+
2070+
| name | status |
2071+
+---------------+----------+
2072+
| twentysixteen | disabled |
2073+
+---------------+----------+
2074+
2075+
# Get the list of themes that have auto-updates enabled
2076+
$ wp theme auto-updates status --all --enabled-only --field=name
2077+
twentysixteen
2078+
twentyseventeen
2079+
17962080
## Installing
17972081

17982082
This package is included with WP-CLI itself, no additional installation necessary.

composer.json

Lines changed: 9 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,10 @@
6060
"plugin toggle",
6161
"plugin uninstall",
6262
"plugin update",
63+
"plugin auto-updates",
64+
"plugin auto-updates disable",
65+
"plugin auto-updates enable",
66+
"plugin auto-updates status",
6367
"theme",
6468
"theme activate",
6569
"theme delete",
@@ -79,7 +83,11 @@
7983
"theme status",
8084
"theme check-update",
8185
"theme update",
82-
"theme mod list"
86+
"theme mod list",
87+
"theme auto-updates",
88+
"theme auto-updates disable",
89+
"theme auto-updates enable",
90+
"theme auto-updates status"
8391
]
8492
},
8593
"autoload": {

0 commit comments

Comments
 (0)