Documentation ¶ Index ¶ func Confirm(confirmed *bool, title string) error func HasDataAvailable(reader io.Reader) bool func PromptForOne(resource string, options []string) (string, error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ func Confirm ¶ func Confirm(confirmed *bool, title string) error func HasDataAvailable ¶ func HasDataAvailable(reader io.Reader) bool HasDataAvailable will return whether the given Reader has data available to read func PromptForOne ¶ func PromptForOne(resource string, options []string) (string, error) PromptForOne will show the list of options to the user, allowing them to select one to return. It's possible for them to choose none or cancel the selection, resulting in an error. Types ¶ This section is empty. Source Files ¶ View all Source files confirm.go input.go prompt.go Click to show internal directories. Click to hide internal directories.