prompt

package
v1.2.6 Latest Latest
Warning

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

Go to latest
Published: Jan 11, 2018 License: MIT Imports: 11 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Hidden

func Hidden() (string, error)

Hidden provides a prompt without echoing the value entered

func Prompt

func Prompt() (string, error)

Prompt returns a prompt to receive the value of a parameter. If the key is on a secret keys list it suppresses the feedback.

func SelectOption

func SelectOption(indexLength int, equivalents map[string]int) (index int, err error)

SelectOption prompts for an option from a list

Types

This section is empty.

Jump to

Keyboard shortcuts

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