theme

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Jul 13, 2025 License: Apache-2.0 Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	WithContextGlyph = "└─"

	SequenceIndexing = []string{"⠋", "⠙", "⠹", "⠸", "⠼", "⠴", "⠦", "⠧", "⠇", "⠏"}
	SequenceSmashing = []string{"◰", "◳", "◲", "◱"}
	SequenceFinalise = []string{"⣾", "⣽", "⣻", "⢿", "⡿", "⣟", "⣯", "⣷"}
	SequenceInternet = []string{"🌍", "🌎", "🌏"}
	SequenceTimeSoon = []string{"🕐", "🕑", "🕒", "🕓", "🕔", "🕕", "🕖", "🕗", "🕘", "🕙", "🕚", "🕛"}
	SequenceTimeLong = []string{"🕐", "🕜", "🕑", "🕝", "🕒", "🕞", "🕓", "🕟", "🕔", "🕠", "🕕", "🕡", "🕖", "🕢", "🕗", "🕣", "🕘", "🕤", "🕙", "🕥", "🕚", "🕦", "🕛", "🕧"}

	SequenceSmashingAlt = []string{"⬒", "⬔", "⬓", "⬕"}

	Info  = pterm.Info
	Error = pterm.Error
	Warn  = pterm.Warning
	Fatal = pterm.Error.WithFatal(true)

	Verbose      *pterm.PrefixPrinter
	WarnSkipping *pterm.PrefixPrinter

	StyleBold        *pterm.Style
	StyleContext     *pterm.Style
	StyleHeading     *pterm.Style
	StyleSubHeading  *pterm.Style
	StyleDescription *pterm.Style
)

Functions

func ColourConfig

func ColourConfig(message ...any) string

func ColourConfigA

func ColourConfigA(message ...any) string

func ColourError

func ColourError(message ...any) string

func ColourFileSize

func ColourFileSize(message ...any) string

func ColourFileSizeA

func ColourFileSizeA(message ...any) string

func ColourFileSizeDupe added in v0.0.7

func ColourFileSizeDupe(message ...any) string

func ColourFilename

func ColourFilename(message ...any) string

func ColourFilenameA

func ColourFilenameA(message ...any) string

func ColourFolderHierarchy

func ColourFolderHierarchy(message ...any) string

func ColourHash

func ColourHash(message ...any) string

func ColourNumber

func ColourNumber(message ...any) string

func ColourPath

func ColourPath(message ...any) string

func ColourSplash

func ColourSplash(message ...any) string

func ColourSuccess

func ColourSuccess(message ...any) string

func ColourTime

func ColourTime(message ...any) string

func ColourVersion

func ColourVersion(message ...any) string

func ColourVersionMeta

func ColourVersionMeta(message ...any) string

func DefaultSpinner

func DefaultSpinner() pterm.SpinnerPrinter

func FinaliseSpinner

func FinaliseSpinner() pterm.SpinnerPrinter
func Hyperlink(uri string, text string) string

func IndexingSpinner

func IndexingSpinner() pterm.SpinnerPrinter

func InternetSpinner

func InternetSpinner() pterm.SpinnerPrinter

func MultiWriter

func MultiWriter() pterm.MultiPrinter

func Println

func Println(message ...any)

func PrintlnWithContext

func PrintlnWithContext(context string, message ...any)

func SmashingSpinner

func SmashingSpinner() pterm.SpinnerPrinter

func StyleUrl

func StyleUrl(message ...any) string

func TimeLongSpinner

func TimeLongSpinner() pterm.SpinnerPrinter

func TimeSoonSpinner

func TimeSoonSpinner() pterm.SpinnerPrinter

func WarnSkipWithContext

func WarnSkipWithContext(context string, message ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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