Documentation
¶
Overview ¶
Package cli implements the focus command-line interface.
Run is the in-process entry point: it accepts argv (without the program name), an stdout writer, and an stderr writer, and returns the process exit code. main.go is a thin shim that calls Run with os.Args[1:] and os.Stdout/os.Stderr.
This shape lets the entire CLI be exercised from go test without exec'ing a subprocess. Each handler in this package follows the pattern: parse flags, call internal/board, format output. No business logic lives here — that's all in internal/board.
Index ¶
Constants ¶
This section is empty.
Variables ¶
var Version = "dev"
Version is the focus binary version. Stamped at build time via goreleaser; defaults to "dev" for source builds.
Functions ¶
Types ¶
This section is empty.