Documentation ¶
Index ¶
- func Alert(v string) string
- func Blue(v interface{}) aurora.Value
- func Bold(v interface{}) aurora.Value
- func Details(v string) string
- func Gray(v interface{}) aurora.Value
- func Green(v interface{}) aurora.Value
- func Heading(v string) string
- func Info(v string) string
- func KeyValue(key string, value interface{}) string
- func NewProgress(max int, description ...string) *pb.ProgressBar
- func PromptEmail(v interface{}) error
- func PromptInput(msg string, v interface{}, opts ...*PromptOptions) error
- func PromptPassword(v interface{}) error
- func PromptSelect(message string, options []string, v interface{}) error
- func PromptYesNo(message string, v interface{}) error
- func Red(v interface{}) aurora.Value
- func Warning(v string) string
- func Yellow(v interface{}) aurora.Value
- type PromptOptions
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func NewProgress ¶
func NewProgress(max int, description ...string) *pb.ProgressBar
func PromptEmail ¶
func PromptEmail(v interface{}) error
func PromptInput ¶
func PromptInput(msg string, v interface{}, opts ...*PromptOptions) error
func PromptPassword ¶
func PromptPassword(v interface{}) error
func PromptSelect ¶
func PromptYesNo ¶
Types ¶
type PromptOptions ¶ added in v0.2.4
Click to show internal directories.
Click to hide internal directories.