Documentation
¶
Overview ¶
Command gendocs turns the CLI's help text into documentation, so the command tree is the only place flags and examples are written down.
Without flags it writes shell completions and man pages for release archives; GoReleaser runs it as a before-hook (see .goreleaser.yaml) and the output directories are gitignored. With -mdx DIR it writes the command reference for the docs site instead (`make docs`).
Click to show internal directories.
Click to hide internal directories.