output

package
v1.3.7 Latest Latest
Warning

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

Go to latest
Published: May 29, 2026 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func FormatStatus

func FormatStatus(status string) string

func NewProgressBar

func NewProgressBar(max int, description string) *progressbar.ProgressBar

func PrintError

func PrintError(msg string)

func PrintInfo

func PrintInfo(msg string)

func PrintJSON

func PrintJSON(data interface{}) error

func PrintSuccess

func PrintSuccess(msg string)

func PrintWarning

func PrintWarning(msg string)

Types

type Spinner

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

func NewSpinner

func NewSpinner(msg string) *Spinner

func (*Spinner) Start

func (sp *Spinner) Start()

func (*Spinner) Stop

func (sp *Spinner) Stop()

func (*Spinner) StopWithError

func (sp *Spinner) StopWithError(msg string)

func (*Spinner) StopWithSuccess

func (sp *Spinner) StopWithSuccess(msg string)

type Table

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

func NewTable

func NewTable(title string, headers []string) *Table

func (*Table) AddRow

func (t *Table) AddRow(values ...string)

func (*Table) Render

func (t *Table) Render()

Jump to

Keyboard shortcuts

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