Documentation
¶
Overview ¶
Package logo renders a terminal version of the CommitBrief web logo.
The web Logo component is a rounded-square mark (gradient from term-green to term-greenDim) with a dark ">" prompt-arrow inside, set next to the "commitbrief" wordmark. This package reproduces that mark as a 16x16 pixel grid drawn with upper-half-block characters and 24-bit ANSI colors, then prints the wordmark plus tagline + links alongside it.
Print is called once from cli.Execute at the top of every CLI run (gated on a TTY stderr). The intentional surrounding whitespace — one blank line above, two blank lines below — is part of the visual rhythm and must not be trimmed by callers.
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Print ¶
Print renders the logo to w. The version string is substituted into the wordmark line — pass version.Version from the cli/version package so the displayed version always matches the running build ("v0.9.2", "dev", etc.). The leading newline and trailing pair of blank lines are deliberate spacing; callers should not trim.
Types ¶
This section is empty.