ui

package
v0.2.0 Latest Latest
Warning

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

Go to latest
Published: Jul 12, 2026 License: MIT Imports: 3 Imported by: 0

Documentation

Overview

Package ui centralizes all terminal output styling so commands stay clean.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Accent

func Accent(s string) string

Accent returns s in the brand color, for inline emphasis.

func Dim

func Dim(s string) string

Dim returns s styled faintly, for secondary inline text.

func DisableColor

func DisableColor()

DisableColor turns off all ANSI styling (also honors NO_COLOR env automatically).

func Error

func Error(s string)

Error prints a fatal error to stderr.

func Field

func Field(label, value string)

Field prints an aligned "label: value" metadata line.

func Step

func Step(s string)

Step prints a progress step marker.

func Success

func Success(s string)

Success prints a final success line.

func Title

func Title(s string)

Title prints a bold headline, e.g. the video title once resolved.

func Warn

func Warn(s string)

Warn prints a non-fatal warning to stderr.

Types

This section is empty.

Jump to

Keyboard shortcuts

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