ktm variables groups create

Create a variable group with variants

Create a variable group with variants

Usage

ktm variables groups create [flags]

Examples

ktm variables groups create --product acme~web --name "Envs" --variants "Dev,Staging,Prod"
ktm variables groups create --product acme~web --name "Regions" --variants "US,EU,APAC" -o json

Flags

FlagTypeDefaultDescription
--namestringGroup name (required)
--productstringProduct slug (required)
--variantsstringComma-separated variant names (required)

Details

Create a new variable group under a product. --variants is a comma-separated list of variant names (e.g. "Dev,Staging,Prod"). The FIRST variant becomes the default per platform convention. After creation, manage variants via 'ktm variables variants <verb>'.

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