From b212226112545326bf9890e05064e3f40c73aeca Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 7 Jan 2026 17:23:22 +0000 Subject: [PATCH 1/8] Initial plan From 6438591a0be9b86c55377848d65d533bd149736c Mon Sep 17 00:00:00 2001 From: "copilot-swe-agent[bot]" <198982749+Copilot@users.noreply.github.com> Date: Wed, 7 Jan 2026 17:45:45 +0000 Subject: [PATCH 2/8] Fix HTML entity rendering in command documentation Co-authored-by: swissspidy <841956+swissspidy@users.noreply.github.com> --- bin/Handbook_Command.php | 3 + commands/ability/can-run.md | 6 +- commands/ability/category/exists.md | 2 +- commands/ability/category/get.md | 8 +-- commands/ability/category/list.md | 6 +- commands/ability/exists.md | 2 +- commands/ability/get.md | 8 +-- commands/ability/list.md | 12 ++-- commands/ability/run.md | 8 +-- commands/ability/validate.md | 6 +- commands/block.md | 2 +- commands/block/binding/get.md | 8 +-- commands/block/binding/list.md | 6 +- commands/block/pattern-category/get.md | 8 +-- commands/block/pattern-category/list.md | 6 +- commands/block/pattern/get.md | 8 +-- commands/block/pattern/list.md | 10 ++-- commands/block/style/get.md | 10 ++-- commands/block/style/list.md | 8 +-- commands/block/synced-pattern.md | 2 +- commands/block/synced-pattern/create.md | 14 ++--- commands/block/synced-pattern/delete.md | 2 +- commands/block/synced-pattern/get.md | 8 +-- commands/block/synced-pattern/list.md | 10 ++-- commands/block/synced-pattern/update.md | 10 ++-- commands/block/template/export.md | 8 +-- commands/block/template/get.md | 10 ++-- commands/block/template/list.md | 16 ++--- commands/block/type/exists.md | 2 +- commands/block/type/get.md | 8 +-- commands/block/type/list.md | 8 +-- commands/cache/add.md | 8 +-- commands/cache/decr.md | 6 +- commands/cache/delete.md | 4 +- commands/cache/flush-group.md | 2 +- commands/cache/get.md | 4 +- commands/cache/incr.md | 6 +- commands/cache/patch.md | 14 ++--- commands/cache/pluck.md | 8 +-- commands/cache/replace.md | 8 +-- commands/cache/set.md | 8 +-- commands/cache/supports.md | 2 +- commands/cap/add.md | 4 +- commands/cap/list.md | 4 +- commands/cap/remove.md | 4 +- commands/cli/alias/add.md | 16 ++--- commands/cli/alias/delete.md | 4 +- commands/cli/alias/get.md | 2 +- commands/cli/alias/is-group.md | 2 +- commands/cli/alias/list.md | 2 +- commands/cli/alias/update.md | 16 ++--- commands/cli/check-update.md | 6 +- commands/cli/completions.md | 4 +- commands/cli/has-command.md | 2 +- commands/cli/info.md | 2 +- commands/cli/param-dump.md | 6 +- commands/comment/approve.md | 2 +- commands/comment/count.md | 2 +- commands/comment/create.md | 2 +- commands/comment/delete.md | 2 +- commands/comment/exists.md | 2 +- commands/comment/generate.md | 6 +- commands/comment/get.md | 8 +-- commands/comment/list.md | 8 +-- commands/comment/meta/add.md | 8 +-- commands/comment/meta/delete.md | 6 +- commands/comment/meta/get.md | 6 +- commands/comment/meta/list.md | 12 ++-- commands/comment/meta/patch.md | 12 ++-- commands/comment/meta/pluck.md | 8 +-- commands/comment/meta/set.md | 8 +-- commands/comment/meta/update.md | 8 +-- commands/comment/recount.md | 2 +- commands/comment/spam.md | 2 +- commands/comment/status.md | 2 +- commands/comment/trash.md | 2 +- commands/comment/unapprove.md | 2 +- commands/comment/unspam.md | 2 +- commands/comment/untrash.md | 2 +- commands/comment/update.md | 4 +- commands/config/create.md | 18 +++--- commands/config/delete.md | 6 +- commands/config/edit.md | 2 +- commands/config/get.md | 8 +-- commands/config/has.md | 6 +- commands/config/is-true.md | 6 +- commands/config/list.md | 8 +-- commands/config/set.md | 14 ++--- commands/config/shuffle-salts.md | 4 +- commands/core/check-update.md | 6 +- commands/core/download.md | 8 +-- commands/core/install-network.md | 4 +- commands/core/install.md | 12 ++-- commands/core/multisite-convert.md | 4 +- commands/core/multisite-install.md | 12 ++-- commands/core/update.md | 6 +- commands/core/upgrade.md | 6 +- commands/core/verify-checksums.md | 8 +-- commands/cron/event/delete.md | 4 +- commands/cron/event/list.md | 8 +-- commands/cron/event/run.md | 4 +- commands/cron/event/schedule.md | 10 ++-- commands/cron/event/unschedule.md | 2 +- commands/cron/schedule/list.md | 6 +- commands/db/check.md | 6 +- commands/db/clean.md | 4 +- commands/db/cli.md | 10 ++-- commands/db/columns.md | 2 +- commands/db/connect.md | 10 ++-- commands/db/create.md | 4 +- commands/db/drop.md | 4 +- commands/db/dump.md | 12 ++-- commands/db/export.md | 12 ++-- commands/db/import.md | 8 +-- commands/db/optimize.md | 6 +- commands/db/query.md | 8 +-- commands/db/repair.md | 6 +- commands/db/reset.md | 4 +- commands/db/search.md | 22 +++---- commands/db/size.md | 12 ++-- commands/db/tables.md | 6 +- commands/dist-archive.md | 12 ++-- commands/embed/cache/clear.md | 2 +- commands/embed/cache/find.md | 6 +- commands/embed/cache/trigger.md | 2 +- commands/embed/fetch.md | 12 ++-- commands/embed/handler/list.md | 6 +- commands/embed/provider/list.md | 6 +- commands/embed/provider/match.md | 6 +- commands/eval-file.md | 4 +- commands/eval.md | 2 +- commands/export.md | 30 +++++----- commands/find.md | 16 ++--- commands/help.md | 2 +- commands/i18n/make-json.md | 10 ++-- commands/i18n/make-mo.md | 4 +- commands/i18n/make-php.md | 4 +- commands/i18n/make-pot.md | 22 +++---- commands/i18n/update-po.md | 4 +- commands/import.md | 6 +- commands/language/core/activate.md | 2 +- commands/language/core/install.md | 2 +- commands/language/core/is-installed.md | 2 +- commands/language/core/list.md | 8 +-- commands/language/core/uninstall.md | 2 +- commands/language/plugin/install.md | 6 +- commands/language/plugin/is-installed.md | 4 +- commands/language/plugin/list.md | 10 ++-- commands/language/plugin/uninstall.md | 6 +- commands/language/plugin/update.md | 2 +- commands/language/theme/install.md | 6 +- commands/language/theme/is-installed.md | 4 +- commands/language/theme/list.md | 10 ++-- commands/language/theme/uninstall.md | 6 +- commands/language/theme/update.md | 2 +- commands/media/fix-orientation.md | 2 +- commands/media/image-size.md | 4 +- commands/media/import.md | 18 +++--- commands/media/regenerate.md | 4 +- commands/menu/create.md | 2 +- commands/menu/delete.md | 2 +- commands/menu/item/add-custom.md | 18 +++--- commands/menu/item/add-post.md | 20 +++---- commands/menu/item/add-term.md | 22 +++---- commands/menu/item/delete.md | 2 +- commands/menu/item/list.md | 6 +- commands/menu/item/update.md | 18 +++--- commands/menu/list.md | 4 +- commands/menu/location/assign.md | 4 +- commands/menu/location/list.md | 2 +- commands/menu/location/remove.md | 4 +- commands/network/meta/add.md | 8 +-- commands/network/meta/delete.md | 6 +- commands/network/meta/get.md | 6 +- commands/network/meta/list.md | 12 ++-- commands/network/meta/patch.md | 12 ++-- commands/network/meta/pluck.md | 8 +-- commands/network/meta/set.md | 8 +-- commands/network/meta/update.md | 8 +-- commands/option/add.md | 8 +-- commands/option/delete.md | 2 +- commands/option/get-autoload.md | 2 +- commands/option/get.md | 4 +- commands/option/list.md | 16 ++--- commands/option/patch.md | 10 ++-- commands/option/pluck.md | 6 +- commands/option/set-autoload.md | 4 +- commands/option/set.md | 8 +-- commands/option/update.md | 8 +-- commands/package/browse.md | 4 +- commands/package/install.md | 6 +- commands/package/list.md | 4 +- commands/package/path.md | 2 +- commands/package/uninstall.md | 2 +- commands/plugin/activate.md | 4 +- commands/plugin/auto-updates/disable.md | 2 +- commands/plugin/auto-updates/enable.md | 2 +- commands/plugin/auto-updates/status.md | 6 +- commands/plugin/deactivate.md | 4 +- commands/plugin/delete.md | 4 +- commands/plugin/get.md | 8 +-- commands/plugin/install.md | 4 +- commands/plugin/is-active.md | 2 +- commands/plugin/is-installed.md | 2 +- commands/plugin/list.md | 10 ++-- commands/plugin/path.md | 2 +- commands/plugin/search.md | 12 ++-- commands/plugin/status.md | 2 +- commands/plugin/toggle.md | 2 +- commands/plugin/uninstall.md | 4 +- commands/plugin/update.md | 8 +-- commands/plugin/upgrade.md | 8 +-- commands/plugin/verify-checksums.md | 8 +-- commands/post-type/get.md | 8 +-- commands/post-type/list.md | 8 +-- commands/post/create.md | 58 +++++++++---------- commands/post/delete.md | 2 +- commands/post/edit.md | 2 +- commands/post/exists.md | 2 +- commands/post/generate.md | 18 +++--- commands/post/get.md | 8 +-- commands/post/list.md | 8 +-- commands/post/meta/add.md | 8 +-- commands/post/meta/clean-duplicates.md | 4 +- commands/post/meta/delete.md | 6 +- commands/post/meta/get.md | 6 +- commands/post/meta/list.md | 12 ++-- commands/post/meta/patch.md | 12 ++-- commands/post/meta/pluck.md | 8 +-- commands/post/meta/set.md | 8 +-- commands/post/meta/update.md | 8 +-- commands/post/term/add.md | 8 +-- commands/post/term/list.md | 10 ++-- commands/post/term/remove.md | 8 +-- commands/post/term/set.md | 8 +-- commands/post/update.md | 58 +++++++++---------- commands/post/url-to-id.md | 2 +- commands/profile/eval-file.md | 12 ++-- commands/profile/eval.md | 12 ++-- commands/profile/hook.md | 12 ++-- commands/profile/stage.md | 12 ++-- commands/rewrite/list.md | 8 +-- commands/rewrite/structure.md | 6 +- commands/role/create.md | 6 +- commands/role/delete.md | 2 +- commands/role/exists.md | 2 +- commands/role/list.md | 6 +- commands/role/reset.md | 2 +- commands/scaffold/_s.md | 8 +-- commands/scaffold/block.md | 12 ++-- commands/scaffold/child-theme.md | 12 ++-- commands/scaffold/cpt.md | 12 ++-- commands/scaffold/plugin-tests.md | 8 +-- commands/scaffold/plugin.md | 18 +++--- commands/scaffold/post-type.md | 12 ++-- commands/scaffold/tax.md | 12 ++-- commands/scaffold/taxonomy.md | 14 ++--- commands/scaffold/theme-tests.md | 8 +-- commands/scaffold/underscores.md | 8 +-- commands/search-replace.md | 34 +++++------ commands/server.md | 8 +-- commands/sidebar/list.md | 4 +- commands/site/activate.md | 4 +- commands/site/archive.md | 4 +- commands/site/create.md | 8 +-- commands/site/deactivate.md | 4 +- commands/site/delete.md | 4 +- commands/site/generate.md | 10 ++-- commands/site/list.md | 14 ++--- commands/site/mature.md | 4 +- commands/site/meta/add.md | 8 +-- commands/site/meta/delete.md | 6 +- commands/site/meta/get.md | 6 +- commands/site/meta/list.md | 12 ++-- commands/site/meta/patch.md | 12 ++-- commands/site/meta/pluck.md | 8 +-- commands/site/meta/set.md | 8 +-- commands/site/meta/update.md | 8 +-- commands/site/option/add.md | 6 +- commands/site/option/delete.md | 2 +- commands/site/option/get.md | 4 +- commands/site/option/list.md | 10 ++-- commands/site/option/patch.md | 10 ++-- commands/site/option/pluck.md | 6 +- commands/site/option/set.md | 6 +- commands/site/option/update.md | 6 +- commands/site/private.md | 4 +- commands/site/public.md | 4 +- commands/site/spam.md | 4 +- commands/site/switch-language.md | 2 +- commands/site/unarchive.md | 4 +- commands/site/unmature.md | 4 +- commands/site/unspam.md | 4 +- commands/super-admin/add.md | 2 +- commands/super-admin/list.md | 2 +- commands/super-admin/remove.md | 2 +- commands/taxonomy/get.md | 8 +-- commands/taxonomy/list.md | 8 +-- commands/term/create.md | 10 ++-- commands/term/delete.md | 6 +- commands/term/generate.md | 8 +-- commands/term/get.md | 12 ++-- commands/term/list.md | 10 ++-- commands/term/meta/add.md | 8 +-- commands/term/meta/delete.md | 6 +- commands/term/meta/get.md | 6 +- commands/term/meta/list.md | 12 ++-- commands/term/meta/patch.md | 12 ++-- commands/term/meta/pluck.md | 8 +-- commands/term/meta/set.md | 8 +-- commands/term/meta/update.md | 8 +-- commands/term/migrate.md | 8 +-- commands/term/recount.md | 2 +- commands/term/update.md | 14 ++--- commands/theme/activate.md | 2 +- commands/theme/auto-updates/disable.md | 2 +- commands/theme/auto-updates/enable.md | 2 +- commands/theme/auto-updates/status.md | 6 +- commands/theme/delete.md | 2 +- commands/theme/disable.md | 2 +- commands/theme/enable.md | 2 +- commands/theme/get.md | 8 +-- commands/theme/install.md | 4 +- commands/theme/is-active.md | 2 +- commands/theme/is-installed.md | 2 +- commands/theme/list.md | 10 ++-- commands/theme/mod/get.md | 6 +- commands/theme/mod/list.md | 4 +- commands/theme/mod/remove.md | 2 +- commands/theme/mod/set.md | 4 +- commands/theme/path.md | 2 +- commands/theme/search.md | 12 ++-- commands/theme/status.md | 2 +- commands/theme/uninstall.md | 2 +- commands/theme/update.md | 8 +-- commands/theme/upgrade.md | 8 +-- commands/transient/delete.md | 2 +- commands/transient/get.md | 4 +- commands/transient/list.md | 8 +-- commands/transient/patch.md | 12 ++-- commands/transient/pluck.md | 6 +- commands/transient/set.md | 8 +-- commands/user/add-cap.md | 4 +- commands/user/add-role.md | 4 +- commands/user/application-password/create.md | 6 +- commands/user/application-password/delete.md | 4 +- commands/user/application-password/exists.md | 4 +- commands/user/application-password/get.md | 10 ++-- commands/user/application-password/list.md | 14 ++--- .../user/application-password/record-usage.md | 4 +- commands/user/application-password/update.md | 8 +-- commands/user/check-password.md | 4 +- commands/user/create.md | 26 ++++----- commands/user/delete.md | 4 +- commands/user/exists.md | 2 +- commands/user/generate.md | 6 +- commands/user/get.md | 8 +-- commands/user/import-csv.md | 2 +- commands/user/list-caps.md | 6 +- commands/user/list.md | 10 ++-- commands/user/meta/add.md | 8 +-- commands/user/meta/delete.md | 6 +- commands/user/meta/get.md | 6 +- commands/user/meta/list.md | 12 ++-- commands/user/meta/patch.md | 12 ++-- commands/user/meta/pluck.md | 8 +-- commands/user/meta/set.md | 8 +-- commands/user/meta/update.md | 8 +-- commands/user/remove-cap.md | 4 +- commands/user/remove-role.md | 4 +- commands/user/reset-password.md | 2 +- commands/user/session/destroy.md | 4 +- commands/user/session/list.md | 6 +- commands/user/set-role.md | 4 +- commands/user/signup/activate.md | 2 +- commands/user/signup/delete.md | 2 +- commands/user/signup/get.md | 8 +-- commands/user/signup/list.md | 10 ++-- commands/user/spam.md | 2 +- commands/user/term/add.md | 8 +-- commands/user/term/list.md | 10 ++-- commands/user/term/remove.md | 8 +-- commands/user/term/set.md | 8 +-- commands/user/unspam.md | 2 +- commands/user/update.md | 28 ++++----- commands/widget/add.md | 8 +-- commands/widget/deactivate.md | 2 +- commands/widget/delete.md | 2 +- commands/widget/list.md | 6 +- commands/widget/move.md | 6 +- commands/widget/reset.md | 2 +- commands/widget/update.md | 4 +- 392 files changed, 1381 insertions(+), 1378 deletions(-) diff --git a/bin/Handbook_Command.php b/bin/Handbook_Command.php index 66420041..9358c1cc 100644 --- a/bin/Handbook_Command.php +++ b/bin/Handbook_Command.php @@ -655,6 +655,9 @@ private static function gen_cmd_pages( $cmd, $parent = [], $verbose = false ) { $docs = preg_replace( '/=>/', '=>', $docs ); $docs = preg_replace( '/ && /', ' && ', $docs ); + // Decode HTML entities in parameter placeholders like , , etc. + $docs = preg_replace( '/<([a-zA-Z0-9_\-|]+)>/', '<$1>', $docs ); + $global_parameters = <<<'EOT' These [global parameters](https://make.wordpress.org/cli/handbook/config/) have the same behavior across all commands and affect how WP-CLI interacts with WordPress. diff --git a/commands/ability/can-run.md b/commands/ability/can-run.md index 64df1640..28b7f607 100644 --- a/commands/ability/can-run.md +++ b/commands/ability/can-run.md @@ -8,13 +8,13 @@ Validates permissions without actually executing the ability. Exits with return See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<name> + : The ability name (namespace/ability-name format). -[\--input=<json>] +[\--input=] : JSON string containing input data for permission checking. -[\--<field>=<value>] +[\--=] : Individual input fields for permission checking. ### EXAMPLES diff --git a/commands/ability/category/exists.md b/commands/ability/category/exists.md index 10f2a4df..364300e9 100644 --- a/commands/ability/category/exists.md +++ b/commands/ability/category/exists.md @@ -8,7 +8,7 @@ Exits with return code 0 if the category exists, 1 if it does not. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<slug> + : The category slug. ### EXAMPLES diff --git a/commands/ability/category/get.md b/commands/ability/category/get.md index 01b333ee..159efdab 100644 --- a/commands/ability/category/get.md +++ b/commands/ability/category/get.md @@ -6,16 +6,16 @@ Gets details about a registered ability category. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<slug> + : The category slug. -[\--field=<field>] +[\--field=] : Instead of returning the whole category, returns the value of a single field. -[\--fields=<fields>] +[\--fields=] : Limit the output to specific fields. Defaults to all fields. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: table diff --git a/commands/ability/category/list.md b/commands/ability/category/list.md index 193faf4d..129cf350 100644 --- a/commands/ability/category/list.md +++ b/commands/ability/category/list.md @@ -6,13 +6,13 @@ Lists all registered ability categories. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -[\--field=<field>] +[\--field=] : Prints the value of a single field for each category. -[\--fields=<fields>] +[\--fields=] : Limit the output to specific category fields. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: table diff --git a/commands/ability/exists.md b/commands/ability/exists.md index 9df0c806..c59084db 100644 --- a/commands/ability/exists.md +++ b/commands/ability/exists.md @@ -8,7 +8,7 @@ Exits with return code 0 if the ability exists, 1 if it does not. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<name> + : The ability name (namespace/ability-name format). ### EXAMPLES diff --git a/commands/ability/get.md b/commands/ability/get.md index 827d6ab1..8c8b87e6 100644 --- a/commands/ability/get.md +++ b/commands/ability/get.md @@ -6,16 +6,16 @@ Gets details about a registered ability. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<name> + : The ability name (namespace/ability-name format). -[\--field=<field>] +[\--field=] : Instead of returning the whole ability, returns the value of a single field. -[\--fields=<fields>] +[\--fields=] : Limit the output to specific fields. Defaults to all fields. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: table diff --git a/commands/ability/list.md b/commands/ability/list.md index b5d1a723..705e69b9 100644 --- a/commands/ability/list.md +++ b/commands/ability/list.md @@ -6,22 +6,22 @@ Lists all registered abilities. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -[\--category=<slug>] +[\--category=] : Filter abilities by category slug. -[\--namespace=<prefix>] +[\--namespace=] : Filter abilities by namespace prefix (e.g., 'core' for 'core/*' abilities). -[\--show-in-rest=<bool>] +[\--show-in-rest=] : Filter abilities by REST API exposure. -[\--field=<field>] +[\--field=] : Prints the value of a single field for each ability. -[\--fields=<fields>] +[\--fields=] : Limit the output to specific ability fields. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: table diff --git a/commands/ability/run.md b/commands/ability/run.md index 058b6521..957adffb 100644 --- a/commands/ability/run.md +++ b/commands/ability/run.md @@ -6,16 +6,16 @@ Executes a registered ability. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<name> + : The ability name (namespace/ability-name format). -[\--input=<json>] +[\--input=] : JSON string containing input data for the ability. Use '-' to read from stdin. -[\--<field>=<value>] +[\--=] : Individual input fields. Alternative to --input for simple inputs. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: json diff --git a/commands/ability/validate.md b/commands/ability/validate.md index 04fa73dc..576ccbe6 100644 --- a/commands/ability/validate.md +++ b/commands/ability/validate.md @@ -8,13 +8,13 @@ Validates the input data without executing the ability. Useful for testing input See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<name> + : The ability name (namespace/ability-name format). -[\--input=<json>] +[\--input=] : JSON string containing input data to validate. -[\--<field>=<value>] +[\--=] : Individual input fields to validate. ### EXAMPLES diff --git a/commands/block.md b/commands/block.md index 49770585..84628009 100644 --- a/commands/block.md +++ b/commands/block.md @@ -17,6 +17,6 @@ Manages WordPress block editor blocks and related entities. $ wp block template export twentytwentyfour//single --stdout # Create a synced pattern - $ wp block synced-pattern create --title="My Pattern" --content='<!-- wp:paragraph --><p>Hello</p><!-- /wp:paragraph -->' + $ wp block synced-pattern create --title="My Pattern" --content='<!-- wp:paragraph -->

Hello</p><!-- /wp:paragraph -->' diff --git a/commands/block/binding/get.md b/commands/block/binding/get.md index a0977b49..a9125f6c 100644 --- a/commands/block/binding/get.md +++ b/commands/block/binding/get.md @@ -6,16 +6,16 @@ Gets details about a registered block binding source. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<name> + : Binding source name (e.g., 'core/post-meta'). -[\--field=<field>] +[\--field=] : Instead of returning the whole source, returns the value of a single field. -[\--fields=<fields>] +[\--fields=] : Limit the output to specific fields. Defaults to all fields. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: table diff --git a/commands/block/binding/list.md b/commands/block/binding/list.md index 2309438e..91dc4bd0 100644 --- a/commands/block/binding/list.md +++ b/commands/block/binding/list.md @@ -6,13 +6,13 @@ Lists registered block binding sources. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -[\--field=<field>] +[\--field=] : Prints the value of a single field for each source. -[\--fields=<fields>] +[\--fields=] : Limit the output to specific source fields. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: table diff --git a/commands/block/pattern-category/get.md b/commands/block/pattern-category/get.md index 209619a1..31a03cbd 100644 --- a/commands/block/pattern-category/get.md +++ b/commands/block/pattern-category/get.md @@ -6,16 +6,16 @@ Gets details about a registered block pattern category. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<name> + : Category name (e.g., 'buttons', 'columns'). -[\--field=<field>] +[\--field=] : Instead of returning the whole category, returns the value of a single field. -[\--fields=<fields>] +[\--fields=] : Limit the output to specific fields. Defaults to all fields. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: table diff --git a/commands/block/pattern-category/list.md b/commands/block/pattern-category/list.md index 0899f50c..05993255 100644 --- a/commands/block/pattern-category/list.md +++ b/commands/block/pattern-category/list.md @@ -6,13 +6,13 @@ Lists registered block pattern categories. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -[\--field=<field>] +[\--field=] : Prints the value of a single field for each category. -[\--fields=<fields>] +[\--fields=] : Limit the output to specific category fields. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: table diff --git a/commands/block/pattern/get.md b/commands/block/pattern/get.md index 7bcf6139..6a6286d3 100644 --- a/commands/block/pattern/get.md +++ b/commands/block/pattern/get.md @@ -6,16 +6,16 @@ Gets details about a registered block pattern. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<name> + : Pattern name including namespace (e.g., 'core/query-standard-posts'). -[\--field=<field>] +[\--field=] : Instead of returning the whole pattern, returns the value of a single field. -[\--fields=<fields>] +[\--fields=] : Limit the output to specific fields. Defaults to all fields. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: table diff --git a/commands/block/pattern/list.md b/commands/block/pattern/list.md index fa63f172..bc4047c9 100644 --- a/commands/block/pattern/list.md +++ b/commands/block/pattern/list.md @@ -6,22 +6,22 @@ Lists registered block patterns. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -[\--category=<category>] +[\--category=] : Filter by pattern category. -[\--search=<search>] +[\--search=] : Search patterns by title or keywords. [\--inserter] : Only show patterns visible in the inserter. -[\--field=<field>] +[\--field=] : Prints the value of a single field for each pattern. -[\--fields=<fields>] +[\--fields=] : Limit the output to specific pattern fields. -[\--format=<format>] +[\--format=] : Render output in a particular format. \--- default: table diff --git a/commands/block/style/get.md b/commands/block/style/get.md index f83d54fb..d4b3d0ac 100644 --- a/commands/block/style/get.md +++ b/commands/block/style/get.md @@ -6,19 +6,19 @@ Gets details about a registered block style. See the [argument syntax](https://make.wordpress.org/cli/handbook/references/argument-syntax/) reference for a detailed explanation of the syntax conventions used. -<block> + : Block type name (e.g., 'core/button'). -<style> +