Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Match ¶
func Match(args *MatchPromptArgs) (string, error)
Creates a prompt that is valid when the value is the same as the default
Types ¶
type MatchPromptArgs ¶
type TextPromptArgs ¶
type TextPromptArgs struct { Label string Default string AllowEdit bool Validate promptui.ValidateFunc Mask rune HideEntered bool Templates *promptui.PromptTemplates }
Click to show internal directories.
Click to hide internal directories.