printer

package
v0.20.1 Latest Latest
Warning

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

Go to latest
Published: Oct 12, 2026 License: LGPL-3.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearToEndOfLine

func ClearToEndOfLine()

func Error

func Error(msg string)

func Errorf

func Errorf(format string, args ...any)

Errorf is Errorln with a format; a trailing newline in it is optional.

func Errorln

func Errorln(msg string)

Errorln prints msg as one ✖ entry, later lines indented under it. Styled line by line: lipgloss pads a multi-line render to its widest line.

func Header(msg string)

func Headerf

func Headerf(format string, args ...any)

func Headerln

func Headerln(msg string)

func Info

func Info(msg string)

func Infof

func Infof(format string, args ...any)

func Infoln

func Infoln(msg string)

func MoveCursorRight

func MoveCursorRight(numberOfCells int)

func MoveCursorUp

func MoveCursorUp(numberOfLines int)

func NewLine

func NewLine(numberOfLines int)

func Notification

func Notification(msg string)

func Notificationf

func Notificationf(format string, args ...any)

func Notificationln

func Notificationln(msg string)

func SectionDivider

func SectionDivider(symbol string, length int)

SectionDivider prints a divider line of a given symbol and length. Default length is 1.

func Step

func Step(state, kind, name string)

Step prints a one-line completion message in the same visual format the docker-build multispinner uses for its "done" rows:

✓  <state>  <kind>  <name>

state is rendered light-blue, kind is light-magenta, name is green; the leading ✓ is orange + bold (style.TickIcon). Use for one-shot ops that finish synchronously (cluster ready, image imported, shards rolled, etc.) so the cluster bring-up + build + reload sections all look cohesive.

For parallel build-style progress (multi-image), use the multispinner.

func Success

func Success(msg string)

func Successf

func Successf(format string, args ...any)

func Successln

func Successln(msg string)

Types

This section is empty.

Jump to

Keyboard shortcuts

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