Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ExpectAnyString ¶
func ExpectAnyString(print PrintFunction) (value string, err error)
func ExpectIntRange ¶
func ExpectIntRange(min int, max int, print PrintFunction) (value int, err error)
func ExpectRestrictedString ¶
func ExpectRestrictedString(values []string, print PrintFunction) (value string, err error)
Types ¶
type PrintFunction ¶
func KeyValuePrompt ¶
func KeyValuePrompt(title string, keys []string, values []string) PrintFunction
func ListPrompt ¶
func ListPrompt(title string, items ...string) PrintFunction
func Prompt ¶
func Prompt(prompt string) PrintFunction
Click to show internal directories.
Click to hide internal directories.