ui

package
v0.7.0 Latest Latest
Warning

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

Go to latest
Published: May 8, 2026 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ColorBrand   = lipgloss.Color("#7C3AED")
	ColorSuccess = lipgloss.Color("#10B981")
	ColorWarning = lipgloss.Color("#F59E0B")
	ColorError   = lipgloss.Color("#EF4444")
	ColorMuted   = lipgloss.Color("#6B7280")
	ColorInfo    = lipgloss.Color("#3B82F6")
)

Color constants for consistent terminal styling.

Functions

This section is empty.

Types

type Printer

type Printer struct {
	// contains filtered or unexported fields
}

Printer provides styled terminal output. All methods are safe for concurrent use from multiple goroutines.

func New

func New(w io.Writer) *Printer

New creates a new Printer writing to w.

func (*Printer) Banner

func (p *Printer) Banner()

Banner prints the fullsend brand banner with tagline.

func (*Printer) Blank

func (p *Printer) Blank()

Blank prints an empty line.

func (*Printer) ErrorBox

func (p *Printer) ErrorBox(title, detail string)

ErrorBox prints an error-styled bordered box with title and detail.

func (*Printer) Header

func (p *Printer) Header(text string)

Header prints a section header with an arrow prefix.

func (*Printer) Heartbeat added in v0.0.3

func (p *Printer) Heartbeat(text string)

Heartbeat prints a periodic progress line in muted color.

func (*Printer) KeyValue

func (p *Printer) KeyValue(key, value string)

KeyValue prints a key-value pair with the key in muted color.

func (p *Printer) PRLink(repo, url string)

PRLink prints a pull request link with the repository name.

func (*Printer) Raw added in v0.0.3

func (p *Printer) Raw(text string)

Raw writes text directly to the output without any styling or indentation.

func (*Printer) StepDone

func (p *Printer) StepDone(text string)

StepDone prints a successful step marker in success color.

func (*Printer) StepFail

func (p *Printer) StepFail(text string)

StepFail prints a failed step marker in error color.

func (*Printer) StepInfo

func (p *Printer) StepInfo(text string)

StepInfo prints indented informational text in muted color.

func (*Printer) StepStart

func (p *Printer) StepStart(text string)

StepStart prints a step-in-progress marker.

func (*Printer) StepWarn

func (p *Printer) StepWarn(text string)

StepWarn prints a warning step marker in warning color.

func (*Printer) Summary

func (p *Printer) Summary(title string, items []string)

Summary prints a bordered summary box with a title and list of items.

Jump to

Keyboard shortcuts

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