Skip to content

kx annotate

Sets or removes annotations on one indexed resource — key=value to set, --remove to drop a key.

Usage

kx annotate [OPTIONS] <index> [key=value...]

Arguments

ArgumentDescription
<index>Row number from the current listing; run kx state to see it
[key=value]...Key and value to set; repeatable

Options

OptionDescription
--overwriteAllow replacing an existing key
--remove stringsKey to remove (repeatable)

Global options

OptionDescription
--no-colorDisable styled output
-h, --helpShow this message and exit

Examples

kx annotate 1 env=prod
kx annotate 1 --remove env