diff --git a/README.md b/README.md index 820b7c51..60d4160b 100644 --- a/README.md +++ b/README.md @@ -194,7 +194,7 @@ These fields are optionally available: Installs a WP-CLI package. ~~~ -wp package install [--insecure] +wp package install [--insecure] [--interaction] ~~~ Packages are required to be a valid Composer package, and can be @@ -232,6 +232,9 @@ for future authorization requests. [--insecure] Retry downloads without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack. + [--interaction] + Control interactive mode. Use `--no-interaction` to disable prompts (interactive by default). Useful for scripting. + **EXAMPLES** # 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. Updates installed WP-CLI packages to their latest version. ~~~ -wp package update [...] +wp package update [...] [--interaction] ~~~ [...] One or more package names to update. If not specified, all packages will be updated. + [--interaction] + Control interactive mode. Use `--no-interaction` to disable prompts (interactive by default). Useful for scripting. + **EXAMPLES** # Update all packages. @@ -411,7 +417,7 @@ wp package update [...] Uninstalls a WP-CLI package. ~~~ -wp package uninstall [--insecure] +wp package uninstall [--insecure] [--interaction] ~~~ **OPTIONS** @@ -422,6 +428,9 @@ wp package uninstall [--insecure] [--insecure] Retry downloads without certificate validation if TLS handshake fails. Note: This makes the request vulnerable to a MITM attack. + [--interaction] + Control interactive prompts. Use `--no-interaction` to disable interactive questions (useful for scripting). + **EXAMPLES** # Uninstall package.