Documentation
¶
Index ¶
- Variables
- func Begin(format string, a ...any)
- func Error(format string, a ...any) error
- func Finish()
- func Info(format string, a ...any)
- func Input(question string) (string, error)
- func InputAlphanum(question string) (string, error)
- func IsInProgress() bool
- func Select(msg string, displayOptions []string, options []string) (string, error)
- func Success(format string, a ...any)
- func Warn(format string, a ...any)
- func YesNo(question string, defaultValue bool) (yes bool, err error)
Constants ¶
This section is empty.
Variables ¶
View Source
var (
ErrCanceled = errors.New("Canceled.")
)
Functions ¶
func InputAlphanum ¶ added in v0.5.0
Same as Input but only allows 'a'-'z', 'A'-'Z', '0'-'9', '_', '-' characters.
func IsInProgress ¶
func IsInProgress() bool
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.