Skip to content

cub view get

cub view get

Get details about a view

Synopsis

Get detailed information about a view in a space including its ID, slug, display name, filter, columns, and ordering.

Examples:

  # Get details about a unit view
  cub view get --space my-space unit-view

  # Get details about a view in JSON format
  cub view get --space my-space --json summary-view
cub view 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