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

ArgumentRequired
group-idYes

Flags

FlagTypeDefaultDescription
--fromstringSource variant id or name (required)
--tostringDestination 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.

Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.

What's next?

All commands

Browse the full CLI reference.

Get started

Install the CLI and authenticate.

Last updated on