docgen

command
v1.102.4 Latest Latest
Warning

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

Go to latest
Published: Aug 28, 2026 License: BSD-3-Clause Imports: 6 Imported by: 0

Documentation

Overview

docgen renders the CLI reference straight from the live cobra tree, so the docs never drift from the binary. Prose comes from each command's Long field.

go run ./tools/docgen out.md          # one aggregated Markdown file
go run ./tools/docgen path/to/dir/    # one MDX page per command suite + meta.json

(build standalone: GOWORK=off go run ./tools/docgen ...)

Jump to

Keyboard shortcuts

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