prompt

package
v0.7.1-beta.4 Latest Latest
Warning

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

Go to latest
Published: Nov 22, 2023 License: AGPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Confirm

func Confirm(names []string, in io.Reader, customMessage string, prompt string) error

Confirm let user double-check for the cluster ops use customMessage to display more information when names are empty, require validation for 'yes'.

func NewPrompt

func NewPrompt(label string, validate promptui.ValidateFunc, in io.Reader) *promptui.Prompt

Types

This section is empty.

Jump to

Keyboard shortcuts

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