Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NormalizePrompt ¶
NormalizePrompt normalizes the prompt string.
Types ¶
type ProgressBar ¶
type ProgressBar struct {
// contains filtered or unexported fields
}
ProgressBar is a progress bar.
func NewProgressBar ¶
func NewProgressBar(writers ...io.Writer) *ProgressBar
NewProgressBar creates a new progress bar.
func (*ProgressBar) Abort ¶ added in v0.0.2
func (p *ProgressBar) Abort(name string, err error)
Abort aborts the progress bar.
func (*ProgressBar) Complete ¶
func (p *ProgressBar) Complete(name string, msg string)
Complete completes the progress bar.
Click to show internal directories.
Click to hide internal directories.