prompt

package
v0.1.0 Latest Latest
Warning

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

Go to latest
Published: Oct 26, 2021 License: Apache-2.0 Imports: 3 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 interface {
	GetInput(inputLabel string, validate promptui.ValidateFunc) string
	GetSelect(inputLabel string, options []string) string
}

type PromptImpl

type PromptImpl struct{}

func (PromptImpl) GetInput

func (p PromptImpl) GetInput(inputLabel string, validate promptui.ValidateFunc) string

func (PromptImpl) GetSelect

func (p PromptImpl) GetSelect(inputLabel string, options []string) string

func (PromptImpl) GetSelectWithAdd

func (p PromptImpl) GetSelectWithAdd(inputLabel string, options []string) string

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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