ui

package
v0.10.0 Latest Latest
Warning

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

Go to latest
Published: Apr 6, 2026 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	HeaderStyle  = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("212"))
	SuccessStyle = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("42"))
	WarnStyle    = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("220"))
	ErrorStyle   = lipgloss.NewStyle().Bold(true).Foreground(lipgloss.Color("196"))
	PathStyle    = lipgloss.NewStyle().Foreground(lipgloss.Color("244"))
)

Functions

This section is empty.

Types

type NoopProgressReporter

type NoopProgressReporter struct{}

func (*NoopProgressReporter) Finish

func (n *NoopProgressReporter) Finish(message string)

func (*NoopProgressReporter) Inc

func (n *NoopProgressReporter) Inc()

func (*NoopProgressReporter) Start

func (n *NoopProgressReporter) Start(title string, total int)

func (*NoopProgressReporter) Update

func (n *NoopProgressReporter) Update(current int)

type ProgressReporter

type ProgressReporter interface {
	Start(title string, total int)
	Update(current int)
	Inc()
	Finish(message string)
}

type TeaProgressReporter

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

func NewTeaProgressReporter

func NewTeaProgressReporter() *TeaProgressReporter

func (*TeaProgressReporter) Finish

func (t *TeaProgressReporter) Finish(message string)

func (*TeaProgressReporter) Inc

func (t *TeaProgressReporter) Inc()

func (*TeaProgressReporter) Start

func (t *TeaProgressReporter) Start(title string, total int)

func (*TeaProgressReporter) Update

func (t *TeaProgressReporter) Update(current int)

Jump to

Keyboard shortcuts

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