capcom know mv
capcom know mv
Section titled “capcom know mv”Rename a Note or move it below another
Synopsis
Section titled “Synopsis”Rename a Note, move it below another Note, or both; –parent . moves it to the top of the Knowledge tree. A rename keeps the old id as an Alias, so old citations still resolve, and rewrites every superseded-by entry that named the Note. Its children move with it. capcom renames the files itself and never runs git. It prints the Note’s new id, path and etag.
capcom know mv <id|alias|prefix> [<new-id>] [--parent <id|alias|prefix|.>] [--if-match <etag>] [flags]Examples
Section titled “Examples” capcom know mv release-steps cutting-a-release # the old id stays an alias capcom know mv release-tags --parent . # to the top of the tree capcom know mv release-tags --parent cutting-a-release --if-match <etag> # etag from know showOptions
Section titled “Options” -h, --help help for mv --if-match string only move when the file's etag is this one (see know show) --parent string move the Note below this one; . moves it to the top of the treeOptions inherited from parent commands
Section titled “Options inherited from parent commands” --json print a versioned JSON envelopeSEE ALSO
Section titled “SEE ALSO”- capcom know - Read, search, add, update, move, remove and verify Knowledge Notes