Documentation
¶
Index ¶
Constants ¶
View Source
const Logo = `` /* 177-byte string literal not displayed */
Logo is the compact ASCII brand mark as provided by the user (verbatim, character-for-character — kept exact even where the letterforms are unconventional). Single source of truth: shared by `brocode -v` and the TUI's fresh-session hero banner so the brand never drifts between them.
View Source
const Tagline = "ship less, ship right"
Tagline is the CLI's one-line motto.
Variables ¶
View Source
var ( // Version is the current semver release of BroCode. Version = "v0.1.39" // Commit is the git commit hash, populated at build time via -ldflags. Commit = "none" // Date is the build timestamp, populated at build time via -ldflags. Date = "unknown" )
Functions ¶
func Banner ¶ added in v0.1.1
func Banner() string
Banner returns the logo plus tagline and version (used by `brocode -v`), both flush left so the brand block reads as one neat column.
func CheckLatestVersion ¶ added in v0.1.36
CheckLatestVersion checks GitHub Releases for the latest version with 12h local caching.
Types ¶
Click to show internal directories.
Click to hide internal directories.