ktm variables variants remove
Remove a variant; refuses if any variable holds non-default data unless --force
Remove a variant; refuses if any variable holds non-default data unless --force
Usage
ktm variables variants remove <group-id> <variant-id> [flags]
Examples
ktm variables variants remove 42 7 # refuses if data would be lost
ktm variables variants remove 42 7 --force # removes anyway
Arguments
| Argument | Required |
|---|---|
group-id | Yes |
variant-id | Yes |
Flags
| Flag | Type | Default | Description |
|---|---|---|---|
--force | boolean | Bypass the non-default-values safety check |
Details
Safe by default: refuses if any variable in the group has a non-default value for this variant, listing the affected variables. Pass --force to remove anyway (data on this variant will be lost).
Related
Global flags (--output, --debug, --host, …) apply to every command. See the command reference overview.
What's next?
Last updated on