kx label
Sets or removes labels on one indexed resource — key=value to set, --remove to drop a key.
Usage
kx label [OPTIONS] <index> [key=value...]Arguments
| Argument | Description |
|---|---|
<index> | Row number from the current listing; run kx state to see it |
[key=value]... | Key and value to set; repeatable |
Options
| Option | Description |
|---|---|
--overwrite | Allow replacing an existing key |
--remove strings | Key to remove (repeatable) |
Global options
| Option | Description |
|---|---|
--no-color | Disable styled output |
-h, --help | Show this message and exit |
Examples
kx label 1 env=prod
kx label 1 --remove env