gen-docs

command
v0.11.1 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 9, 2026 License: MIT Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL