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.
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 0n794e2gk7Flags
| Flag | Type | Default | Description |
|---|---|---|---|
| --advisory | bool | false | with a keep: the rule reports without failing a check (--advisory=false makes it fail) |
| --note | string | why | |
| --project, -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) | |
| --use | string | with 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