prompt

package
v1.0.0 Latest Latest
Warning

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

Go to latest
Published: Mar 6, 2023 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm

func Confirm(label string) bool

Confirm is a helper function to confirm an action.

func Password

func Password(label string) string

Password prompts the user for a password.

func Select

func Select(label, selected string, items []string) string

Select is a helper function to select an item from a list.

func Text

func Text(label string) string

Text prompts the user for a string.

Types

This section is empty.

Jump to

Keyboard shortcuts

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