promptuife

package
v0.0.2 Latest Latest
Warning

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

Go to latest
Published: Dec 22, 2019 License: Apache-2.0 Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var ErrAbortEdit = errors.New("frontend: User declined to correct error")
View Source
var PromptTemplate = &promptui.PromptTemplates{
	Success: `{{ . | bold }}{{ ":" | bold }} `,
}

Functions

This section is empty.

Types

type Frontend

type Frontend struct{}

func (Frontend) Configure

func (fe Frontend) Configure(items []frontend.ConfigItem) error

func (Frontend) Confirm

func (Frontend) Confirm(q string) error

func (Frontend) EditText

func (fe Frontend) EditText(beforeEdit string, validator func(string) (string, error)) (string, error)

Jump to

Keyboard shortcuts

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