Compare releases
You can compare a minimum of two and a maximum of six releases.
Compare release commands begin with:
smctl release compare
Subcommands
Compare release commands support these subcommands:
Example
Describe: Compare the releases referred to by their release IDs, separated by commas.
Command:
smctl release compare <comparison name> <release-ids separated-by-comma>
Command sample:
smctl release compare my-comparison 50f05b96-5b57-4fb0-b425-774895c7484c,bbdd8dc2-9c23-4542-8c75-013380165ce0
Describe release comparison
Describe release comparison commands begin with:
smctl release compare describe
or
smctl rel compare desc
Flags
Describe release comparison commands support these flags:
Shortcut | Flag | Description |
---|---|---|
--account-id string | Account ID for the user. Format: --account-id="<value>" | |
-h | --help | Help for describing a release comparison. |
Examples
Description: Describe the comparison for the specified release comparison ID.
Command:
smctl release compare describe <release comparison id>
Command sample:
smctl release compare describe 133d1d4f-f82d-4906-b3ac-760bea8466f4
List release comparisons
List release comparisons commands begin with:
smctl release compare list
or
smctl rel compare ls
Flags
List release comparison commands support these flags:
Shortcut | Flag | Description |
---|---|---|
-f | --filter stringToString | Filter(s) based on field=value. The default is []. Format: --filter="<value>" |
--account-id string | Account ID for the user. Format: --account-id="<value>" | |
-p | --page int | Page number. Default is –1, which displays all pages. |
-s | --size int | Page size. Default is 10. |
-h | --help | Help for list release comparisons. |
Example
Description: List all the release comparisons with the specified comparison name.
Command:
smctl release compare list --filter <comparison name>
Command sample:
smctl release compare list --filter name=comp-21323