input

package
v0.2.0-rc.0 Latest Latest
Warning

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

Go to latest
Published: May 17, 2021 License: Apache-2.0 Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prompter

type Prompter interface {
	Prompt(label string, sensitive bool) (string, error)
}

Prompter prompts a user for input.

func NewPrompter

func NewPrompter() Prompter

NewPrompter constructs a new prompter that uses stdin for input and stdout for output.

Jump to

Keyboard shortcuts

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