prompter

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Jul 14, 2023 License: MIT Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PromptConfirm

func PromptConfirm(msg string) (bool, error)

PromptConfirm asks the user a y/n question with the given message.

func PromptSelect

func PromptSelect(msg string, options []string) (string, error)

PromptSelect asks the user to select an option from the given message and options.

func PromptString

func PromptString(msg string) (string, error)

PromptString asks the user for a string input with the given message.

Types

This section is empty.

Jump to

Keyboard shortcuts

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