prompt

package
v1.0.3 Latest Latest
Warning

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

Go to latest
Published: Dec 12, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func SecretPrompt

func SecretPrompt(reader io.Reader, promptText string, handler func(input string) error) error

func SelectPrompt

func SelectPrompt(reader io.Reader, promptText string, choices []string, handler func(choice string) error) error

func SimplePrompt

func SimplePrompt(reader io.Reader, promptText string, handler func(input string) error) error

func UserPromptYesOrNoResponse

func UserPromptYesOrNoResponse() (bool, error)

func YesNoPrompt

func YesNoPrompt(reader io.Reader, promptText string) (bool, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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