kapi rm
kapi rm <pattern> [pattern...]Stop tracking files matching the given patterns.
If a pattern matches one added with 'kapi add', the mapping is removed. Otherwise the pattern is added to the exclude list so those files are skipped.
kapi rm "src/**/.html" # remove the mapping kapi rm "src/legacy/.html" # exclude matching files
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 rmFlags
| Flag | Type | Default | Description |
|---|---|---|---|
| --color | string | auto | colorize output: auto, always, never |
| --jq | string | filter JSON output through a jq expression (implies --json) | |
| --json | bool | false | Output in JSON format |
| --output-format | string | Output format: text (alias: table), json, yaml | |
| --project, -p | string | path to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted) | |
| --text | bool | false | Output in text format (default) |
← Back to the Command Reference