prompt

package
v1.0.16 Latest Latest
Warning

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

Go to latest
Published: Jul 9, 2023 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func GetConfirmRunner added in v1.0.9

func GetConfirmRunner() *promptui.Prompt

func GetPromptRunner

func GetPromptRunner(label string, isConfirm bool, valFunc func(s string) error) *promptui.Prompt

Types

type PromptRunner

type PromptRunner interface {
	Run() (string, error)
}

Jump to

Keyboard shortcuts

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