common

package
v0.0.0-...-204dc64 Latest Latest
Warning

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

Go to latest
Published: Jan 29, 2021 License: MIT Imports: 5 Imported by: 0

Documentation

Index

Constants

View Source
const NOTSUPPORTED = "NOT_SUPPORTED"

NOTSUPPORTED is used to represent unsupported options

Variables

This section is empty.

Functions

func AskOptions

func AskOptions(question string, options []string) (int, string)

func AskYesNo

func AskYesNo(question string) bool

func EnvOrString

func EnvOrString(envVariable string, mask bool) string

func PromptString

func PromptString(question string, mask bool, defValue string) string

func PromptStringWithValidator

func PromptStringWithValidator(question string, mask bool, defValue string, validator func(string) error) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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