logo

package
v1.0.0-rc.1 Latest Latest
Warning

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

Go to latest
Published: May 27, 2026 License: GPL-3.0 Imports: 3 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 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

func Print(w io.Writer, version string)

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.

Jump to

Keyboard shortcuts

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