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 MakeDirnameAvailableValidator ¶ added in v2.0.31
func PrintSeparateln ¶
func SetUsePrettyPrompts ¶ added in v2.0.28
func SetUsePrettyPrompts(promptStylePretty bool)
Types ¶
type Confirm ¶ added in v2.0.28
type Confirm struct {
// contains filtered or unexported fields
}
func NewConfirm ¶ added in v2.0.28
func NewConfirm() *Confirm
func (*Confirm) Affirmative ¶ added in v2.0.28
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.