Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
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.