man

package
v0.22.0 Latest Latest
Warning

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

Go to latest
Published: Jun 22, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Overview

Package man implements the hidden, opt-in "man" command that emits roff man pages for a tool's own command tree at runtime — for packaging postinstall scripts or ad-hoc preview — without re-running the source-tree generator. It is gated behind the default-off props.ManCmd feature.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func NewCmdMan

func NewCmdMan(props *p.Props) *setup.Command

NewCmdMan returns the hidden runtime "man" command, gated behind the default-off ManCmd feature. With --dir it writes the full tree under <dir>/man1; without it, the running tool's top-level page is printed to stdout for preview (e.g. "mytool man | man -l -").

Types

This section is empty.

Jump to

Keyboard shortcuts

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