prompt

package
v0.2.1-0...-3b06ce0 Latest Latest
Warning

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

Go to latest
Published: Feb 9, 2020 License: Apache-2.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type InteractivePrompter

type InteractivePrompter struct {
}

InteractivePrompter ask for user input interactively on the console.

func (*InteractivePrompter) Prompt

func (ip *InteractivePrompter) Prompt(p *config.Parameter, replacements map[string]interface{}) error

Prompt requests user input from the console.

type Prompter

type Prompter interface {
	Prompt(p *config.Parameter, replacements map[string]interface{}) error
}

Prompter ask for user input for a given list of parameters.

Jump to

Keyboard shortcuts

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