prompt

package
v0.0.0-...-f041f8d Latest Latest
Warning

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

Go to latest
Published: May 12, 2024 License: MIT Imports: 2 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 struct {
	// contains filtered or unexported fields
}

func NewPrompt

func NewPrompt(message string, choices []string) *Prompt

func (*Prompt) PromptMultipleSelect

func (p *Prompt) PromptMultipleSelect() ([]string, error)

func (*Prompt) PromptSelect

func (p *Prompt) PromptSelect() (string, error)

Jump to

Keyboard shortcuts

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