input

package
v0.2.12 Latest Latest
Warning

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

Go to latest
Published: Mar 30, 2021 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prompt

type Prompt struct {
	Message string
	Var     string
	Default string
}

Prompt represents a single text input user prompt

func (Prompt) Execute

func (p Prompt) Execute(context exec.Context) error

Execute prompts user for input value

func (Prompt) String added in v0.2.8

func (p Prompt) String() string

Jump to

Keyboard shortcuts

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