Skip to content
Merged
Show file tree
Hide file tree
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
1,255 changes: 1,227 additions & 28 deletions bin/command-history.json

Large diffs are not rendered by default.

389 changes: 151 additions & 238 deletions bin/commands-manifest.json

Large diffs are not rendered by default.

36 changes: 27 additions & 9 deletions bin/handbook-manifest.json
Original file line number Diff line number Diff line change
Expand Up @@ -240,7 +240,7 @@
"parent": "behat-steps"
},
"given-a-wp-multisite-subdirectory-subdomaininstall-installation": {
"title": "Given \/^a WP multisite (subdirectory|subdomain)?\\s?(install|installation)$\/",
"title": "Given \/^a WP multisite (subdirectory|subdomain)?\\s?(?:install|installation)$\/",
"slug": "given-a-wp-multisite-subdirectory-subdomaininstall-installation",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/given-a-wp-multisite-subdirectory-subdomaininstall-installation.md",
"parent": "behat-steps"
Expand Down Expand Up @@ -275,20 +275,26 @@
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/given-download.md",
"parent": "behat-steps"
},
"given-only-these-installed-themes-and-active-themes": {
"title": "Given \/^only these installed (themes|and active themes):$\/",
"slug": "given-only-these-installed-themes-and-active-themes",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/given-only-these-installed-themes-and-active-themes.md",
"parent": "behat-steps"
},
"given-replaced-with-in-the-file": {
"title": "Given \/^"([^"]+)" replaced with "([^"]+)" in the ([^\\s]+) file$\/",
"slug": "given-replaced-with-in-the-file",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/given-replaced-with-in-the-file.md",
"parent": "behat-steps"
},
"given-save-stdout-stderr-as": {
"title": "Given \/^save (STDOUT|STDERR) ([\\'].+[^\\'])?\\s?as \\{(\\w+)\\}$\/",
"title": "Given \/^save (STDOUT|STDERR) (['].+[^'])?\\s?as \\{(\\w+)\\}$\/",
"slug": "given-save-stdout-stderr-as",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/given-save-stdout-stderr-as.md",
"parent": "behat-steps"
},
"given-save-the-file-as": {
"title": "Given \/^save the (.+) file ([\\'].+[^\\'])?as \\{(\\w+)\\}$\/",
"title": "Given \/^save the (.+) file (['].+[^'])?as \\{(\\w+)\\}$\/",
"slug": "given-save-the-file-as",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/given-save-the-file-as.md",
"parent": "behat-steps"
Expand All @@ -299,10 +305,16 @@
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/given-that-http-requests-to-will-respond-with.md",
"parent": "behat-steps"
},
"given-these-installed-and-active-plugins": {
"title": "Given these installed and active plugins:",
"slug": "given-these-installed-and-active-plugins",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/given-these-installed-and-active-plugins.md",
"given-these-installed-and-active-plugins-themes": {
"title": "Given \/^these installed (and active )?(plugins|themes):$\/",
"slug": "given-these-installed-and-active-plugins-themes",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/given-these-installed-and-active-plugins-themes.md",
"parent": "behat-steps"
},
"given-these-setup-commands": {
"title": "Given these setup commands:",
"slug": "given-these-setup-commands",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/given-these-setup-commands.md",
"parent": "behat-steps"
},
"given-wp-config-php": {
Expand Down Expand Up @@ -564,7 +576,7 @@
"parent": "behat-steps"
},
"then-stdout-stderr-should-not-match": {
"title": "Then \/^(STDOUT|STDERR) should( not)? match (((\\\/.+\\\/)|(#.+#))([a-z]+)?)$\/",
"title": "Then \/^(STDOUT|STDERR) should( not)? match ((?:\\\/.+\\\/|#.+#)(?:[a-z]+)?)$\/",
"slug": "then-stdout-stderr-should-not-match",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/then-stdout-stderr-should-not-match.md",
"parent": "behat-steps"
Expand All @@ -576,7 +588,7 @@
"parent": "behat-steps"
},
"then-the-contents-of-the-file-should-not-match": {
"title": "Then \/^the contents of the (.+) file should( not)? match (((\\\/.+\\\/)|(#.+#))([a-z]+)?)$\/",
"title": "Then \/^the contents of the (.+) file should( not)? match ((?:\\\/.+\\\/|#.+#)(?:[a-z]+)?)$\/",
"slug": "then-the-contents-of-the-file-should-not-match",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/behat-steps\/then-the-contents-of-the-file-should-not-match.md",
"parent": "behat-steps"
Expand Down Expand Up @@ -821,6 +833,12 @@
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/internal-api\/wp-cli-utils-http-request.md",
"parent": "internal-api"
},
"wp-cli-utils-is-interactive": {
"title": "WP_CLI\\Utils\\is_interactive()",
"slug": "wp-cli-utils-is-interactive",
"markdown_source": "https:\/\/github.com\/wp-cli\/handbook\/blob\/main\/references\/internal-api\/wp-cli-utils-is-interactive.md",
"parent": "internal-api"
},
"wp-cli-utils-is-stream": {
"title": "WP_CLI\\Utils\\is_stream()",
"slug": "wp-cli-utils-is-stream",
Expand Down
2 changes: 1 addition & 1 deletion commands/ability.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lists, inspects, and executes abilities registered via the WordPress Abilities API.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

The Abilities API, introduced in WordPress 6.9, provides a standardized way to register and discover distinct units of functionality within a WordPress site.

Expand Down
2 changes: 1 addition & 1 deletion commands/ability/can-run.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Checks if the current user can execute an ability.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Validates permissions without actually executing the ability. Exits with return code 0 if permitted, 1 if not.

Expand Down
2 changes: 1 addition & 1 deletion commands/ability/category.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lists and inspects ability categories registered via the WordPress Abilities API.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

The Abilities API, introduced in WordPress 6.9, uses categories to organize related abilities for better discoverability.

Expand Down
2 changes: 1 addition & 1 deletion commands/ability/category/exists.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Checks whether an ability category is registered.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Exits with return code 0 if the category exists, 1 if it does not.

Expand Down
2 changes: 1 addition & 1 deletion commands/ability/category/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gets details about a registered ability category.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/ability/category/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lists all registered ability categories.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/ability/exists.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Checks whether an ability is registered.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Exits with return code 0 if the ability exists, 1 if it does not.

Expand Down
2 changes: 1 addition & 1 deletion commands/ability/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gets details about a registered ability.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/ability/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lists all registered abilities.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/ability/run.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Executes a registered ability.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/ability/validate.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Validates input against an ability's schema.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Validates the input data without executing the ability. Useful for testing input before execution.

Expand Down
2 changes: 1 addition & 1 deletion commands/ai.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Interacts with the WordPress AI Client for text and image generation.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### EXAMPLES

Expand Down
2 changes: 1 addition & 1 deletion commands/ai/check.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Checks if a prompt is supported for generation.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/ai/generate.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Generates AI content.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/ai/is-supported.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Checks whether AI features are supported in the current environment.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Exits with code 0 if AI features are supported, or code 1 if they are not.

Expand Down
2 changes: 1 addition & 1 deletion commands/ai/status.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Checks which AI capabilities are currently supported.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Checks the environment and credentials to determine which AI operations are available. Displays a table showing supported capabilities.

Expand Down
2 changes: 1 addition & 1 deletion commands/block.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Manages WordPress block editor blocks and related entities.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### EXAMPLES

Expand Down
2 changes: 1 addition & 1 deletion commands/block/binding.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Retrieves details on registered block binding sources.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Get information on block binding sources from the WP_Block_Bindings_Registry. Block bindings allow dynamic data to be connected to block attributes.

Expand Down
2 changes: 1 addition & 1 deletion commands/block/binding/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gets details about a registered block binding source.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/block/binding/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lists registered block binding sources.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/block/pattern-category.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Retrieves details on registered block pattern categories.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Get information on block pattern categories from the WP_Block_Pattern_Categories_Registry.

Expand Down
2 changes: 1 addition & 1 deletion commands/block/pattern-category/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gets details about a registered block pattern category.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/block/pattern-category/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lists registered block pattern categories.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/block/pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Retrieves details on registered block patterns.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Get information on WordPress' built-in and custom block patterns from the WP_Block_Patterns_Registry.

Expand Down
2 changes: 1 addition & 1 deletion commands/block/pattern/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gets details about a registered block pattern.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.
Comment thread
coderabbitai[bot] marked this conversation as resolved.
Resolved

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/block/pattern/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lists registered block patterns.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/block/style.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Retrieves details on registered block styles.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Get information on block style variations from the WP_Block_Styles_Registry.

Expand Down
2 changes: 1 addition & 1 deletion commands/block/style/get.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Gets details about a registered block style.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/block/style/list.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Lists registered block styles.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
2 changes: 1 addition & 1 deletion commands/block/synced-pattern.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Manages synced patterns (reusable blocks).

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

Synced patterns are stored as the 'wp_block' post type and can be either synced (changes reflect everywhere) or not synced (regular patterns).

Expand Down
2 changes: 1 addition & 1 deletion commands/block/synced-pattern/create.md
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

Creates a synced pattern.

> **Note:** This command is not part of a stable WP-CLI release yet. To use it now, [switch to the nightly build](https://make.wordpress.org/cli/handbook/guides/installing/#updating-wp-cli) with `wp cli update --nightly`. If you installed the command as a separate package, updating that package may be enough.
Available since WP-CLI 3.0.0.

### OPTIONS

Expand Down
Loading