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
| Flag | Type | Default | Description |
|---|---|---|---|
--name | string | Group name (required) | |
--product | string | Product slug (required) | |
--variants | string | Comma-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>'.
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on