term

package
v3.0.0-alpha.21 Latest Latest
Warning

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

Go to latest
Published: Aug 6, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func DisableColor

func DisableColor()

func DisableDebug

func DisableDebug()

func DisableOutput

func DisableOutput()

func EnableDebug

func EnableDebug()

func EnableOutput

func EnableOutput()

func Error

func Error(input any)
func Header(header string)
func Hyperlink(url, text string) string

func Info

func Info(input any)

func Infof

func Infof(input any, args ...interface{})

func IsTerminal

func IsTerminal() bool

func Println

func Println(s string)

func Section

func Section(s string)

func StopSpinner

func StopSpinner(s Spinner)

func Success

func Success(input any)

func Warning

func Warning(input any)

func Warningf

func Warningf(input any, args ...any)

Types

type Spinner

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

func StartSpinner

func StartSpinner(text string) Spinner

func (Spinner) Logger

func (s Spinner) Logger() config.Logger

Jump to

Keyboard shortcuts

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