cub release unarchive
cub release unarchive
Unarchive a release or multiple releases
Synopsis
Unarchive releases archived with cub release delete --archive, identified by their IDs.
The release, its bundle and its tag come back, which, like publishing or deleting one, changes what is served to the cluster behind the release Target and needs the same permissions.
Examples:
# Unarchive one release
cub release unarchive 61f26b06-3c34-4363-8b9d-7d0a7c2b5f1c
# Unarchive the archived releases of a space
cub release unarchive --space my-space --where "ReleaseNum > 3"
cub release unarchive [<slug or id>] [flags]
Options
--filter string Filter entity to apply to the list. Specify as 'space/filter' for cross-space filters or just 'filter' for current space. Supports both slugs and UUIDs. The filter will be combined with any --where clause using AND logic. Examples: "production-filters/security-check", "my-filter-uuid", "validation-rules"
-h, --help help for unarchive
-o, --output string Output format. One of: json, yaml, name, wide, mutations, jq=<expr>, yq=<expr>, custom-columns=<spec>
--quiet No default output.
--verbose Detailed output, additive with default output
--where string where filter to select the archived releases to unarchive
Options inherited from parent commands
--component string the Component of --variant, when that names the variant alone; --variant <component>/<variant> says the same in one flag
--context string The context to use for this command
--debug Debug output
--space string space to operate in, by slug or UUID. Omitted, a list or bulk operation spans the organization and a single entity is named as <space>/<slug>; "*" means the same as omitting it
--variant string variant to operate in, as <component>/<variant>, or as <variant> with --component: the space naming that Component whose Variant label is <variant>. The same scope as --space, named by what it is rather than by the space's slug; the two cannot be combined
SEE ALSO
- cub release - Release commands