Skip to content
GitHub

okf refs

usage: okf refs [-h] [--scan-root SCAN_ROOT] [--in | --out] [--json] path
list inbound and outbound markdown links of a file
positional arguments:
path target file (abs, or relative to --root)
options:
-h, --help show this help message and exit
--scan-root SCAN_ROOT
dir to scan (default: --root); pass repo root for repo-wide
--in only inbound links
--out only outbound links
--json print one JSON envelope {command, ok, data, warnings, error}