Skip to content
capcom docs

capcom know rm

Remove a Note that has no children

Remove a Note’s file. A Note with children is refused, so no orphan directory is left behind. Every superseded-by entry naming it is dropped, and its Aliases go with the file. capcom deletes the file itself and never runs git. It prints the removed Note’s id and path, and the Notes whose superseded-by entries were dropped. To keep a Note that no longer holds on record, retire it with know update –retire instead.

capcom know rm <id|alias|prefix> [--if-match <etag>] [flags]
capcom know rm release-tags # refused while it has children
capcom know rm release-tags --if-match <etag> # etag from know show
-h, --help help for rm
--if-match string only remove when the file's etag is this one (see know show)
--json print a versioned JSON envelope
  • capcom know - Read, search, add, update, move, remove and verify Knowledge Notes