ui

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Dec 30, 2025 License: MIT Imports: 3 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 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 Spinner added in v0.4.0

func Spinner(title string, action func()) error

Spinner runs an action with a spinner

func SpinnerWithError added in v0.4.0

func SpinnerWithError(title string, action func() error) error

SpinnerWithError runs an action with a spinner and returns error

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