Documentation
¶
Index ¶
- Variables
- func ColourConfig(message ...any) string
- func ColourConfigA(message ...any) string
- func ColourError(message ...any) string
- func ColourFileSize(message ...any) string
- func ColourFileSizeA(message ...any) string
- func ColourFileSizeDupe(message ...any) string
- func ColourFilename(message ...any) string
- func ColourFilenameA(message ...any) string
- func ColourFolderHierarchy(message ...any) string
- func ColourHash(message ...any) string
- func ColourNumber(message ...any) string
- func ColourPath(message ...any) string
- func ColourSplash(message ...any) string
- func ColourSuccess(message ...any) string
- func ColourTime(message ...any) string
- func ColourVersion(message ...any) string
- func ColourVersionMeta(message ...any) string
- func DefaultSpinner() pterm.SpinnerPrinter
- func FinaliseSpinner() pterm.SpinnerPrinter
- func Hyperlink(uri string, text string) string
- func IndexingSpinner() pterm.SpinnerPrinter
- func InternetSpinner() pterm.SpinnerPrinter
- func MultiWriter() pterm.MultiPrinter
- func Println(message ...any)
- func PrintlnWithContext(context string, message ...any)
- func SmashingSpinner() pterm.SpinnerPrinter
- func StyleUrl(message ...any) string
- func TimeLongSpinner() pterm.SpinnerPrinter
- func TimeSoonSpinner() pterm.SpinnerPrinter
- func WarnSkipWithContext(context string, message ...any)
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 ColourConfigA ¶
func ColourError ¶
func ColourFileSize ¶
func ColourFileSizeA ¶
func ColourFileSizeDupe ¶ added in v0.0.7
func ColourFilename ¶
func ColourFilenameA ¶
func ColourFolderHierarchy ¶
func ColourHash ¶
func ColourNumber ¶
func ColourPath ¶
func ColourSplash ¶
func ColourSuccess ¶
func ColourTime ¶
func ColourVersion ¶
func ColourVersionMeta ¶
func DefaultSpinner ¶
func DefaultSpinner() pterm.SpinnerPrinter
func FinaliseSpinner ¶
func FinaliseSpinner() pterm.SpinnerPrinter
func IndexingSpinner ¶
func IndexingSpinner() pterm.SpinnerPrinter
func InternetSpinner ¶
func InternetSpinner() pterm.SpinnerPrinter
func MultiWriter ¶
func MultiWriter() pterm.MultiPrinter
func PrintlnWithContext ¶
func SmashingSpinner ¶
func SmashingSpinner() pterm.SpinnerPrinter
func TimeLongSpinner ¶
func TimeLongSpinner() pterm.SpinnerPrinter
func TimeSoonSpinner ¶
func TimeSoonSpinner() pterm.SpinnerPrinter
func WarnSkipWithContext ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.