gendocs

command
v0.26.0 Latest Latest
Warning

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

Go to latest
Published: Nov 7, 2026 License: Apache-2.0 Imports: 13 Imported by: 0

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`).

Jump to

Keyboard shortcuts

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