prompts

package
v1.9.4 Latest Latest
Warning

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

Go to latest
Published: Aug 3, 2026 License: MIT Imports: 10 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConfirmDefaultNo

func ConfirmDefaultNo() (bool, error)

func ConfirmOverwrite

func ConfirmOverwrite(path string) (bool, error)

func ConfirmRemove

func ConfirmRemove(target string) (bool, error)

func Index

func Index(choices []string) (int, error)

func MultiSelect added in v1.8.7

func MultiSelect(title, filterPrompt string, choices []string) ([]int, error)

func Select

func Select(title, filterPrompt string, choices []string) (int, error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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