docs/wc-cli/wc-cli-commands/wc-product-attribute.md
Manage WooCommerce product attribute resources.
List all product attributes.
--context - Scope under which the request is made; determines fields present in response.
--fields - Limit response to specific fields. Defaults to all fields.
--field - Get the value of an individual field.
--format - Render response in a particular format.
Default: table
Options: table, json, csv, ids, yaml, count, headers, body, envelope
Create a new product attribute.
--name - Name for the resource. (Required)--slug - An alphanumeric identifier for the resource unique to its type.--type - Type of attribute.--order_by - Default sort order.--has_archives - Enable/Disable attribute archives.--porcelain - Output just the id when the operation is successful.<id>Get a single product attribute.
--context - Scope under which the request is made; determines fields present in response.
--fields - Limit response to specific fields. Defaults to all fields.
--field - Get the value of an individual field.
--format - Render response in a particular format.
Default: table
Options: table, json, csv, yaml, headers, body, envelope
<id>Update an existing product attribute.
--name - Attribute name.--slug - An alphanumeric identifier for the resource unique to its type.--type - Type of attribute.--order_by - Default sort order.--has_archives - Enable/Disable attribute archives.--porcelain - Output just the id when the operation is successful.<id>Delete an existing product attribute.
--force - Required to be true, as resource does not support trashing.--porcelain - Output just the id when the operation is successful.