Note: This command is not part of a stable WP-CLI release yet. To use it now, switch to the nightly build with wp cli update --nightly. If you installed the command as a separate package, updating that package may be enough.
Get information on block pattern categories from the WP_Block_Pattern_Categories_Registry.
Examples
# List all registered pattern categories
$ wp block pattern-category list
# Get details about a specific category
$ wp block pattern-category get featured --format=json
Subcommands
| Name | Description |
|---|---|
| wp block pattern-category get | Gets details about a registered block pattern category. |
| wp block pattern-category list | Lists registered block pattern categories. |