Documentation ¶
Index ¶
- Constants
- Variables
- func CreateCurrentProgressSpinner(style *pterm.Style, msg string)
- func Debug(a ...any)
- func Debugf(format string, a ...any)
- func Error(err error, a ...any)
- func Errorf(err error, format string, a ...any)
- func GetPtermErrorStyle() *pterm.Style
- func GetPtermSuccessStyle() *pterm.Style
- func Info(a ...any)
- func Infof(format string, a ...any)
- func NewPTermWriter(out io.Writer) *ptermWriter
- func Note(a ...any)
- func Notef(format string, a ...any)
- func Print(a ...any)
- func Printf(format string, a ...any)
- func StopCurrentProgressSpinner(style *pterm.Style, msg string)
- func Success(a ...any)
- func Successf(format string, a ...any)
- func Warn(a ...any)
- func Warnf(format string, a ...any)
Constants ¶
View Source
const ( BuildInProgressMsg string = "Build in progress..." BuildInProgressSuccessMsg string = "Build in progress... Done." BuildInProgressErrorMsg string = "Build in progress... Error." BundleInProgressMsg string = "Bundle in progress..." BundleInProgressSuccessMsg string = "Bundle in progress... Done." BundleInProgressErrorMsg string = "Bundle in progress... Error." )
Variables ¶
View Source
var ActiveUpdatingPrinter updatingPrinter
View Source
var Output io.Writer
Functions ¶
func CreateCurrentProgressSpinner ¶ added in v0.18.0
func Errorf ¶
Errorf highlights a message as an error and shows the stack strace if the --verbose flag is active
func GetPtermErrorStyle ¶ added in v0.18.0
func GetPtermSuccessStyle ¶ added in v0.18.0
func NewPTermWriter ¶
NewPTermWriter returns a writer which ensures that the output written by it doesn't mess with the output of an active pterm.SpinnerPrinter.
func StopCurrentProgressSpinner ¶ added in v0.18.0
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.