docgen

command
v1.1.1 Latest Latest
Warning

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

Go to latest
Published: Oct 14, 2026 License: MIT Imports: 7 Imported by: 0

Documentation

Overview

Command docgen regenerates docs/commands (per-command markdown), docs/man (man pages) and docs/completion (shell completion scripts) from the cobra command tree, so the documentation cannot drift from the CLI.

It lives under internal/testing because it is developer tooling, not something a user runs: `mise run docs` invokes it, and `mise run docs-check` fails when the generated files are out of date.

Jump to

Keyboard shortcuts

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