Versions in this module Expand all Collapse all v2 v2.0.0 Apr 13, 2022 Changes in this version + func Bool(prompt string) (result bool, err error) + func Default(prompt string, def T, pp console.ParsedPromptFunc[T]) (result T, err error) + func Float(prompt string) (result float64, err error) + func Int(prompt string) (result int, err error) + func Password(prompt string) (result string, err error) + func Question(q string, def string) (result string) + func QuestionBool(q string, def bool) (result bool) + func QuestionChoice(q string, def string, choices []string) (result string) + func QuestionFloat(q string, def float64) (result float64) + func QuestionInt(q string, def int) (result int) + func QuestionUint(q string, def uint) (result uint) + func Slice(prompt string, t ...scanner.Tokenizer) (result []string, err error) + func SliceBool(prompt string, t ...scanner.Tokenizer) (result []bool, err error) + func SliceFloat(prompt string, t ...scanner.Tokenizer) (result []float64, err error) + func SliceInt(prompt string, t ...scanner.Tokenizer) (result []int, err error) + func SliceUint(prompt string, t ...scanner.Tokenizer) (result []uint, err error) + func String(prompt string) (result string, err error) + func Uint(prompt string) (result uint, err error)