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 --json my-deployment 3
# Get only the configuration data of a revision
cub revision get --space my-space --data-only my-ns 2
cub revision get <unit-slug> <revision-num> [flags]
Options
--data-only show config data without other response details
-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
- cub revision - Revision commands