prompt

package
v0.1.118 Latest Latest
Warning

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

Go to latest
Published: Mar 5, 2026 License: MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Prompter

type Prompter interface {
	YesNo(msg string, defaultYes bool) (bool, error)
	Select(label string, options []string) (string, error)
	ConfirmOverwrite(path string) (bool, error)
}

func NewCLIPrompter

func NewCLIPrompter(nonInteractive bool) Prompter

Jump to

Keyboard shortcuts

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