ktm variables variants copy-values
Promote variant values: copy every variable's --from variant into --to across the group
Promote variant values: copy every variable's --from variant into --to across the group
Usage
ktm variables variants copy-values <group-id> [flags]
Examples
ktm variables variants copy-values 42 --from staging --to prod
ktm variables variants copy-values 42 --from 1 --to 2
Arguments
| Argument | Required |
|---|---|
group-id | Yes |
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--from | string | Source variant id or name (required) | |
--to | string | Destination variant id or name (required) |
Details
Power workflow: in one command, copy every variable's source-variant value into the destination variant across the entire group. --from and --to accept variant ids or names. Variables that have no value on the source variant are skipped.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on