Skip to content

Commit 65b5cdd

Browse files
authored
Merge pull request #509 from wp-cli/regenerate-readme
2 parents a8725c3 + 873755a commit 65b5cdd

1 file changed

Lines changed: 8 additions & 2 deletions

File tree

README.md

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -247,7 +247,7 @@ These fields are optionally available:
247247
Installs one or more plugins.
248248

249249
~~~
250-
wp plugin install <plugin|zip|url>... [--version=<version>] [--force] [--ignore-requirements] [--activate] [--activate-network] [--insecure] [--with-dependencies]
250+
wp plugin install <plugin|zip|url>... [--version=<version>] [--force] [--ignore-requirements] [--activate] [--activate-network] [--insecure] [--with-dependencies] [--slug=<slug>]
251251
~~~
252252

253253
**OPTIONS**
@@ -279,6 +279,9 @@ wp plugin install <plugin|zip|url>... [--version=<version>] [--force] [--ignore-
279279
[--with-dependencies]
280280
If set, the command will also install all required dependencies of the plugin as specified in the 'Requires Plugins' header.
281281

282+
[--slug=<slug>]
283+
Use this as the target directory name when installing from a zip file. Cannot be used when installing multiple plugins.
284+
282285
**EXAMPLES**
283286

284287
# Install the latest version from wordpress.org and activate
@@ -1305,7 +1308,7 @@ wp theme get <theme> [--field=<field>] [--fields=<fields>] [--format=<format>]
13051308
Installs one or more themes.
13061309

13071310
~~~
1308-
wp theme install <theme|zip|url>... [--version=<version>] [--force] [--ignore-requirements] [--activate] [--insecure]
1311+
wp theme install <theme|zip|url>... [--version=<version>] [--force] [--ignore-requirements] [--activate] [--insecure] [--slug=<slug>]
13091312
~~~
13101313

13111314
**OPTIONS**
@@ -1331,6 +1334,9 @@ wp theme install <theme|zip|url>... [--version=<version>] [--force] [--ignore-re
13311334
[--insecure]
13321335
Retry downloads without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.
13331336

1337+
[--slug=<slug>]
1338+
Use this as the target directory name when installing from a zip file. Cannot be used when installing multiple themes.
1339+
13341340
**EXAMPLES**
13351341

13361342
# Install the latest version from wordpress.org and activate

0 commit comments

Comments
 (0)