Skip to content

Commit 13ed432

Browse files
Regenerate README file (#530)
1 parent becf315 commit 13ed432

1 file changed

Lines changed: 66 additions & 0 deletions

File tree

README.md

Lines changed: 66 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -780,6 +780,39 @@ Lists the available plugin updates. Similar to `wp core check-update`.
780780

781781

782782

783+
### wp plugin download
784+
785+
Downloads a plugin zip package without loading WordPress.
786+
787+
~~~
788+
wp plugin download <slug> [--target-path=<path>] [--version=<version>] [--force] [--insecure]
789+
~~~
790+
791+
**OPTIONS**
792+
793+
<slug>
794+
Slug of the plugin to download.
795+
796+
[--target-path=<path>]
797+
Directory to store the downloaded zip file. Defaults to the current directory.
798+
799+
[--version=<version>]
800+
Version to download. Accepts a version number or `dev`.
801+
802+
[--force]
803+
Overwrite destination file if it already exists.
804+
805+
[--insecure]
806+
Retry download without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.
807+
808+
**EXAMPLES**
809+
810+
$ wp plugin download bbpress
811+
Downloading bbpress (2.5.9)...
812+
Success: Downloaded plugin package to /path/to/bbpress.2.5.9.zip
813+
814+
815+
783816
### wp plugin toggle
784817

785818
Toggles a plugin's activation state.
@@ -1811,6 +1844,39 @@ Lists the available theme updates. Similar to `wp core check-update`.
18111844

18121845

18131846

1847+
### wp theme download
1848+
1849+
Downloads a theme zip package without loading WordPress.
1850+
1851+
~~~
1852+
wp theme download <slug> [--target-path=<path>] [--version=<version>] [--force] [--insecure]
1853+
~~~
1854+
1855+
**OPTIONS**
1856+
1857+
<slug>
1858+
Slug of the theme to download.
1859+
1860+
[--target-path=<path>]
1861+
Directory to store the downloaded zip file. Defaults to the current directory.
1862+
1863+
[--version=<version>]
1864+
Version to download. Accepts a version number or `dev`.
1865+
1866+
[--force]
1867+
Overwrite destination file if it already exists.
1868+
1869+
[--insecure]
1870+
Retry download without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.
1871+
1872+
**EXAMPLES**
1873+
1874+
$ wp theme download twentytwelve
1875+
Downloading twentytwelve (1.3)...
1876+
Success: Downloaded theme package to /path/to/twentytwelve.1.3.zip
1877+
1878+
1879+
18141880
### wp theme update
18151881

18161882
Updates one or more themes.

0 commit comments

Comments
 (0)