Skip to content

cub attribute get

cub attribute get

Get details about an attribute

Synopsis

Get detailed information about an attribute in a space including its ID, slug, toolchain type, data type, description, resource type paths, and parameters.

Examples:

  # Get details about an attribute
  cub attribute get --space my-space --json my-attr

  # Get attribute details in YAML format
  cub attribute get --space my-space --yaml my-attr
cub attribute get <slug or id> [flags]

Options

  -h, --help            help for get
      --jq string       jq expression, suppressing default output
      --json            JSON output, suppressing default output
      --quiet           No default output.
      --select string   Comma-separated list of fields to retrieve and display. Entity IDs and Slug are always included. Example: "DisplayName,CreatedAt,Labels"
      --verbose         Detailed output, additive with default output
      --yaml            YAML output, suppressing default output
      --yq string       yq expression, suppressing default output

Options inherited from parent commands

      --context string   The context to use for this command
      --debug            Debug output
      --space string     space ID to perform command on

SEE ALSO