ktm variables variants add

Add a new variant to a variable group

Add a new variant to a variable group

Usage

ktm variables variants add <group-id> [flags]

Examples

ktm variables variants add 42 --name canary
ktm variables variants add 42 --name canary --default

Arguments

ArgumentRequired
group-idYes

Flags

FlagTypeDefaultDescription
--defaultbooleanMake the new variant the default (demotes the prior default)
--namestringNew variant name (required)

Details

Adds a new variant to the group. With --default, the new variant becomes the default and the prior default is demoted in the same atomic update.

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