option

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 bool
}

Prompt represents a boolean user prompt

func (Prompt) Execute

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

Execute prompts user for a boolean value

func (Prompt) String

func (p Prompt) String() string

Jump to

Keyboard shortcuts

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