Documentation ¶
Index ¶
- type CLI
- func (p *CLI) Confirm(message, help string) (val bool, err error)
- func (p *CLI) Get(message, help string, validate func(val string) error) (val string, err error)
- func (p *CLI) SelectMultiple(message, help string, options []string) ([]string, error)
- func (p *CLI) SelectOne(message, help string, options []string) (val string, err error)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type CLI ¶
type CLI struct { Stdin terminal.FileReader Stdout terminal.FileWriter Stderr io.Writer }
func NewCLIPrompter ¶
func NewCLIPrompter(in terminal.FileReader, out terminal.FileWriter, err io.Writer) *CLI
func (*CLI) SelectMultiple ¶
Click to show internal directories.
Click to hide internal directories.