help

package
v0.2.6 Latest Latest
Warning

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

Go to latest
Published: Aug 5, 2026 License: Apache-2.0 Imports: 5 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

Package help renders a command's help text.

The section order below is fixed and the headings are uppercase, both on purpose: an agent should be able to anchor on ^EXAMPLES$ and trust what follows. A help format that reorders itself between commands is a format an agent has to parse rather than read.

Nothing here is hand-written per command. Everything comes from the registry declaration, so the help text, the schema and the documentation site cannot disagree: there is only one place to change any of it.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Render

func Render(w io.Writer, c registry.Command, globalFlags []registry.Flag)

Render writes the full help text for one command.

It takes an io.Writer rather than printing, so the same function serves the terminal, a golden test and the documentation generator without a flag to switch behaviour.

Types

This section is empty.

Jump to

Keyboard shortcuts

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