prompt

package
v0.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 1, 2023 License: MIT Imports: 1 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmPrompt

func ConfirmPrompt(msg string) bool

func MultiselectPrompt

func MultiselectPrompt[T any](msg string, choices []T, printFn func(T) string) []T

func SelectPrompt

func SelectPrompt[T any](msg string, choices []T, printFn func(T) string) (T, bool)

func TextPrompt

func TextPrompt(msg string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL