ui

package
v0.8.0 Latest Latest
Warning

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

Go to latest
Published: May 25, 2026 License: MIT Imports: 4 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

Index

Constants

View Source
const CatchPhrase = "Every release deserves a héraut."

CatchPhrase is the tagline displayed under the logo.

Variables

This section is empty.

Functions

func Err added in v0.8.0

func Err(w io.Writer, msg string) string

Err returns "✗ <msg>" styled red when w supports color, plain otherwise.

func HelpLong

func HelpLong() string

HelpLong returns the ASCII art + tagline for use as cobra root.Long.

func Info added in v0.8.0

func Info(w io.Writer, msg string) string

Info returns " <msg>" dimmed when w supports color, plain otherwise. Use for hints and supplementary context below a primary status line.

func Success added in v0.8.0

func Success(w io.Writer, msg string) string

Success returns "✓ <msg>" styled green when w supports color, plain otherwise.

func VersionTemplate

func VersionTemplate() string

VersionTemplate returns a cobra text/template string for --version output. cobra fills {{.Name}} and {{.Version}} at runtime.

func Warn added in v0.8.0

func Warn(w io.Writer, msg string) string

Warn returns "! <msg>" styled yellow when w supports color, plain otherwise. Use for skipped checks and non-critical notices.

Types

This section is empty.

Jump to

Keyboard shortcuts

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