Skip to content

cub revision get

cub revision get

Get details about a revision

Synopsis

Get detailed information about a specific revision of a unit including its configuration data and metadata.

Examples:

  # Get details about a specific revision in JSON format
  cub revision get --space my-space -o json my-deployment 3

  # Get only the configuration data of a revision (use the dedicated subcommand)
  cub revision data --space my-space my-ns 2
cub revision get <unit-slug> <revision-num> [flags]

Options

  -h, --help            help for get
  -o, --output string   Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
      --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

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