Documentation
¶
Overview ¶
Package cli wraps the family's CLI framework (fang) so tools run through forge — the fang version, the theme, and signal handling live here, not in each tool. See forge ADR-0010.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Run ¶
Run executes cmd with fang, wiring the build version and the family theme (the shared palette plus the tool's accent). cmd.Context() is canceled on SIGINT/SIGTERM. fang's built-in `man` page generator is replaced with an ANSI-safe one (see man.go) so a tool's styled Long/Short (e.g. a colored banner) never leaks raw escape codes into the generated roff. Tools call this instead of fang.Execute.
Types ¶
This section is empty.