gen-docs

command
v0.32.3 Latest Latest
Warning

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

Go to latest
Published: Apr 29, 2026 License: MIT Imports: 10 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.

It also generates docs/src/content/docs/commands.md — a categorized command overview page with links to each reference page.

Jump to

Keyboard shortcuts

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