Skip to content

Commit 44d9152

Browse files
Regenerate README file - 2026-03-03 (#227)
Co-authored-by: Alain Schlesser <alain.schlesser@gmail.com>
1 parent bb22355 commit 44d9152

1 file changed

Lines changed: 12 additions & 3 deletions

File tree

README.md

Lines changed: 12 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -194,7 +194,7 @@ These fields are optionally available:
194194
Installs a WP-CLI package.
195195

196196
~~~
197-
wp package install <name|git|path|zip> [--insecure]
197+
wp package install <name|git|path|zip> [--insecure] [--interaction]
198198
~~~
199199

200200
Packages are required to be a valid Composer package, and can be
@@ -232,6 +232,9 @@ for future authorization requests.
232232
[--insecure]
233233
Retry downloads without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.
234234

235+
[--interaction]
236+
Control interactive mode. Use `--no-interaction` to disable prompts (interactive by default). Useful for scripting.
237+
235238
**EXAMPLES**
236239

237240
# Install a package hosted at a git URL.
@@ -370,12 +373,15 @@ If you want to contribute to a package, this is a great way to jump to it.
370373
Updates installed WP-CLI packages to their latest version.
371374

372375
~~~
373-
wp package update [<package-name>...]
376+
wp package update [<package-name>...] [--interaction]
374377
~~~
375378

376379
[<package-name>...]
377380
One or more package names to update. If not specified, all packages will be updated.
378381

382+
[--interaction]
383+
Control interactive mode. Use `--no-interaction` to disable prompts (interactive by default). Useful for scripting.
384+
379385
**EXAMPLES**
380386

381387
# Update all packages.
@@ -411,7 +417,7 @@ wp package update [<package-name>...]
411417
Uninstalls a WP-CLI package.
412418

413419
~~~
414-
wp package uninstall <name> [--insecure]
420+
wp package uninstall <name> [--insecure] [--interaction]
415421
~~~
416422

417423
**OPTIONS**
@@ -422,6 +428,9 @@ wp package uninstall <name> [--insecure]
422428
[--insecure]
423429
Retry downloads without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack.
424430

431+
[--interaction]
432+
Control interactive prompts. Use `--no-interaction` to disable interactive questions (useful for scripting).
433+
425434
**EXAMPLES**
426435

427436
# Uninstall package.

0 commit comments

Comments
 (0)