Documentation ¶
Index ¶
- func AskInt(question string) (int, error)
- func AskPrintf(text string, values ...interface{})
- func AskSprint(text string) string
- func AskSprintf(text string, values ...interface{}) string
- func AskString(question string) (string, error)
- func ChooseOneColor(question string, options []ktane.Color) (ktane.Color, error)
- func ChooseOneString(question string, options []string) (result string, err error)
- func ChooseOneStringable[T fmt.Stringer](question string, options []T) (T, error)
- func ChooseOneWithMapper[T any](question string, options []T, mapper func(t T) string) (T, error)
- func ConfirmNoDefault(question string) (result bool, err error)
- func SafeWord(input string, wordList map[string]string) string
- func Tell(text string)
- func TellSprint(text string) string
- func TellSprintf(text string, values ...interface{}) string
- func Tellf(text string, values ...interface{})
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AskSprintf ¶
func ChooseOneColor ¶
func ChooseOneString ¶
func ChooseOneStringable ¶
func ChooseOneWithMapper ¶
func ConfirmNoDefault ¶
func TellSprint ¶
func TellSprintf ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.