input

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2023 License: GPL-3.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PromptUserForSingleChoice

func PromptUserForSingleChoice(choices []string, message string) (string, bool)

Will prompt the user to select an option of the provided choices and choice their selection. If true is returned it means the user quit instead of selecting an option. The provided message can be used to display text to the user as part of the prompt, but is optional.

Types

This section is empty.

Jump to

Keyboard shortcuts

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