ui

package
v0.4.2 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Bold

func Bold(message string)

Bold prints bold text

func Command

func Command(cmd string) string

Command returns styled command text

func Error

func Error(message string)

Error prints an error message with label

func Header(command string)

Header prints a styled command header

func Highlight

func Highlight(text string) string

Highlight returns highlighted text

func Info

func Info(message string)

Info prints an info message with label

func KeyValue

func KeyValue(key, value string)

KeyValue prints a key-value pair

func Loader added in v0.4.2

func Loader(message string, action func() error) error

Loader shows a bouncing dot animation while action runs

func Muted

func Muted(message string)

Muted prints muted text

func Newline

func Newline()

Newline prints an empty line

func NextSteps

func NextSteps(steps []string)

NextSteps prints formatted next steps

func Step

func Step(message string)

Step prints a muted step message (no label)

func Success

func Success(message string)

Success prints a success message with label

func Warning

func Warning(message string)

Warning prints a warning message with label

Types

This section is empty.

Jump to

Keyboard shortcuts

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