prompt

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Sep 10, 2020 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func PromptConfirm

func PromptConfirm(msg string) (bool, error)

func PromptInteger

func PromptInteger(msg string, required bool) (int, error)

func PromptSelect

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

func PromptString

func PromptString(msg string, required bool) (string, error)

func ValidateEmptyInput

func ValidateEmptyInput(input string) error

func ValidateIntegerNumberInput

func ValidateIntegerNumberInput(input string) error

Types

This section is empty.

Jump to

Keyboard shortcuts

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