Documentation
¶
Index ¶
- func Debugln(format string, a ...any)
- func Errorln(format string, a ...any) error
- func MakeDirnameAvailableValidator(parentDir string) func(string) error
- func PrintSeparateln(format string, a ...any)
- func Println(format string, a ...any)
- func SetDebug(debugFlag bool)
- func SetUsePrettyPrompts(promptStylePretty bool)
- type Confirm
- type Input
- type Option
- type Select
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func PrintSeparateln ¶
func SetUsePrettyPrompts ¶
func SetUsePrettyPrompts(promptStylePretty bool)
Types ¶
type Confirm ¶
type Confirm struct {
// contains filtered or unexported fields
}
func NewConfirm ¶
func NewConfirm() *Confirm
func (*Confirm) Affirmative ¶
type Option ¶
type Option[T comparable] struct { Title string Value T }
func NewOption ¶
func NewOption[T comparable](title string, value T) Option[T]
type Select ¶
type Select[T comparable] struct { // contains filtered or unexported fields }
func NewSelect ¶
func NewSelect[T comparable]() *Select[T]
Click to show internal directories.
Click to hide internal directories.