Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
66 changes: 66 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -780,6 +780,39 @@ Lists the available plugin updates. Similar to `wp core check-update`.



### wp plugin download

Downloads a plugin zip package without loading WordPress.

~~~
wp plugin download <slug> [--target-path=<path>] [--version=<version>] [--force] [--insecure]
~~~

**OPTIONS**

<slug>
Slug of the plugin to download.

[--target-path=<path>]
Directory to store the downloaded zip file. Defaults to the current directory.

[--version=<version>]
Version to download. Accepts a version number or `dev`.

[--force]
Overwrite destination file if it already exists.

[--insecure]
Retry download without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.

**EXAMPLES**

$ wp plugin download bbpress
Downloading bbpress (2.5.9)...
Success: Downloaded plugin package to /path/to/bbpress.2.5.9.zip



### wp plugin toggle

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



### wp theme download

Downloads a theme zip package without loading WordPress.

~~~
wp theme download <slug> [--target-path=<path>] [--version=<version>] [--force] [--insecure]
~~~

**OPTIONS**

<slug>
Slug of the theme to download.

[--target-path=<path>]
Directory to store the downloaded zip file. Defaults to the current directory.

[--version=<version>]
Version to download. Accepts a version number or `dev`.

[--force]
Overwrite destination file if it already exists.

[--insecure]
Retry download without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.

**EXAMPLES**

$ wp theme download twentytwelve
Downloading twentytwelve (1.3)...
Success: Downloaded theme package to /path/to/twentytwelve.1.3.zip



### wp theme update

Updates one or more themes.
Expand Down