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 Finding(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 PlainStyle() bool
- 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 UpdateCurrentProgressSpinner(msg string)
- 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." ContainerBuildInProgressMsg string = "Building fuzz container..." ContainerBuildInProgressSuccessMsg string = "Building fuzz container... Done." ContainerBuildInProgressErrorMsg string = "Building fuzz container... Error." ContainerRunInProgressMsg string = "Running fuzz container..." ContainerRunInProgressSuccessMsg string = "Running fuzz container... Done." ContainerRunInProgressErrorMsg string = "Running fuzz container... Error." )
Variables ¶
View Source
var ActiveUpdatingPrinter updatingPrinter
View Source
var Output io.Writer
Output is the primary outlet for the log to write to.
View Source
var VerboseSecondaryOutput io.Writer
VerboseSecondaryOutput captures the complete verbose output of the primary output, even when the command is not called in verbose mode. It provides a secondary output option.
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 PlainStyle ¶ added in v0.33.0
func PlainStyle() bool
func StopCurrentProgressSpinner ¶ added in v0.18.0
func UpdateCurrentProgressSpinner ¶ added in v0.36.0
func UpdateCurrentProgressSpinner(msg string)
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.