Documentation
¶
Overview ¶
Package gh implements a format.Formatter for the GitHub CLI (gh). It claims every gh invocation and dispatches internally on the first two non-flag arguments (e.g. "pr", "list"), since the registry holds one entry per program.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Formatter ¶
type Formatter struct{}
Formatter renders gh command output.
func (*Formatter) Aggressive ¶
Aggressive dispatches to a per-subcommand structured renderer.
func (*Formatter) Descriptor ¶
Descriptor claims all gh invocations; subcommand dispatch happens inside Aggressive/Relaxed.
Click to show internal directories.
Click to hide internal directories.