docgen

command
v0.6.0 Latest Latest
Warning

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

Go to latest
Published: Oct 24, 2026 License: MIT Imports: 7 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Command docgen generates the shell completions and man pages that are bundled into release archives (and installed by the Homebrew formula). It is a build-time tool only — it is never compiled into the vibexp binary, so the `go install github.com/vibexp/cli/cmd/vibexp@latest` path stays free of its extra dependencies (cobra/doc, go-md2man).

Usage: go run ./cmd/docgen [output-dir] version

output-dir  where to write (defaults to ".")
version     stamped into the man-page header; defaults to version.Version.
            The goreleaser before-hook passes the release version, since
            `go run` builds carry no -ldflags.

It writes:

<output-dir>/completions/vibexp.{bash,zsh,fish,ps1}
<output-dir>/manpages/vibexp*.1

Jump to

Keyboard shortcuts

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