Gå til hovedinnhold

kapi rules keep

kapi keep <id>

Keep the suggestion an id names as a rule, the same as answering k in kapi rules. --use picks the form a name is kept as.

Commandrules keep
Try it

Runs in your browser against a small sample file. Edit the command before running, or press Run to execute it as shown.

kapi rules keep 0n794e2gk7
Flags
FlagTypeDefaultDescription
--advisory boolfalsewith a keep: the rule reports without failing a check (--advisory=false makes it fail)
--note stringwhy
--project , -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--use stringwith one --keep or --choose: the form the rule says to write
More examples
kapi rules keep 0n794e2gk7 --use "Sign in"

← Back to the Command Reference