Skip to content
GitHub

okf reindex

usage: okf reindex [-h] [--init] [--check] [--force] [--json] target
(re)generate marker-bounded index listings: index.md one level, index-map.md the whole subtree
positional arguments:
target <bundle> or <bundle>/<subdir>
options:
-h, --help show this help message and exit
--init recursively migrate marker-less flat index.md in the subtree to managed marker
blocks (bespoke multi-section indexes are skipped + flagged)
--check dry-run: with --init preview conversions; else report stale + uncovered. No writes
--force with --init, also flatten a pure multi-section listing (prose/tables still refuse)
--json print one JSON envelope {command, ok, data, warnings, error}