Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Output ¶
type Output struct {
// contains filtered or unexported fields
}
Output handles colored terminal output. The caller decides whether to enable color (by checking NO_COLOR, TTY status, etc.) and passes the decision in.
func NewWithOptions ¶ added in v0.11.0
NewWithOptions creates an Output with explicit behavior.
func (*Output) StepPrefix ¶
StepPrefix returns the colored prefix string for use in progress lines that need \r overwriting.
Click to show internal directories.
Click to hide internal directories.