Documentation
¶
Overview ¶
gen-docs generates CLI reference documentation from the Cobra command tree.
Usage:
go run ./cmd/gen-docs [--out DIR]
By default, it writes Starlight-compatible markdown files to docs/src/content/docs/reference/. Each command gets its own page with frontmatter, flags, and examples.
It also generates docs/src/content/docs/commands.md — a categorized command overview page with links to each reference page.
Click to show internal directories.
Click to hide internal directories.