prompt

package
v0.0.0-...-2798f75 Latest Latest
Warning

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

Go to latest
Published: Aug 8, 2023 License: MIT Imports: 1 Imported by: 2

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prompt

type Prompt interface {
	InputWithDefault(target *string, label string, defaultValue string) error
	InputPassword(target *string, label string) error
	Input(target *string, label string) error
	Confirm(label string) (error, bool)
	Multiselect(items []string, label string) (error, []string)
	Select(items []string, label string) (error, string)
}

func NewPrompt

func NewPrompt() Prompt

Jump to

Keyboard shortcuts

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