Gå til hovedinnhold

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

Commandrm
Groupwork
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 rm
Flags
FlagTypeDefaultDescription
--colorstringautocolorize output: auto, always, never
--jqstringfilter JSON output through a jq expression (implies --json)
--jsonboolfalseOutput in JSON format
--output-formatstringOutput format: text (alias: table), json, yaml
--project, -pstringpath to a kapi.yaml project recipe or its directory (auto-discovered from cwd if omitted)
--textboolfalseOutput in text format (default)

← Back to the Command Reference