Documentation ¶
Index ¶
- func Confirm(label string, placeholder bool) (bool, error)
- func Error(v ...interface{})
- func Errorf(format string, a ...interface{})
- func Fatal(v ...interface{})
- func Fatalf(format string, a ...interface{})
- func Info(v ...interface{})
- func Infof(format string, a ...interface{})
- func MustConfirm(label string, placeholder bool) bool
- func MustPrompt(label, placeholder string) string
- func MustSelect(label string, items []string) (int, string)
- func OpenFile(path string) error
- func OpenURL(url string) error
- func Prompt(label, placeholder string) (string, error)
- func Select(label string, items []string) (int, string, error)
- func Table(header []string, rows [][]string)
- func Title(val string)
- func Warn(v ...interface{})
- func Warnf(format string, a ...interface{})
- type App
- type BoolFlag
- type Command
- type Context
- type Flag
- type IntFlag
- type IntSliceFlag
- type PathFlag
- type StringFlag
- type StringSliceFlag
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func MustConfirm ¶ added in v0.20.0
func MustPrompt ¶ added in v0.20.0
Types ¶
type IntSliceFlag ¶
type IntSliceFlag = cli.IntSliceFlag
type StringFlag ¶
type StringFlag = cli.StringFlag
type StringSliceFlag ¶
type StringSliceFlag = cli.StringSliceFlag
Click to show internal directories.
Click to hide internal directories.