cli

package
v0.4.0 Latest Latest
Warning

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

Go to latest
Published: Dec 8, 2024 License: MIT Imports: 7 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ClearTerminal

func ClearTerminal()

func Confirm

func Confirm(prompt string) bool

func DoneMsg added in v0.4.0

func DoneMsg(text string) doneMsg

func ErrMsg added in v0.4.0

func ErrMsg(text string) errMsg

func ErrorPrint added in v0.4.0

func ErrorPrint(a ...any)

func ErrorPrintf added in v0.4.0

func ErrorPrintf(format string, a ...any)

func InfoPrint added in v0.4.0

func InfoPrint(a ...any)

func InfoPrintf added in v0.4.0

func InfoPrintf(format string, a ...any)

func Input

func Input(prompt string) string

func Loading added in v0.4.0

func Loading(loadingText string, f func() tea.Msg)

func Question

func Question(prompt string, options []string) []string

func Selection

func Selection(prompt string, options []string) string

func SuccessPrint added in v0.4.0

func SuccessPrint(a ...any)

func SuccessPrintf added in v0.4.0

func SuccessPrintf(format string, a ...any)

func WarningPrint added in v0.4.0

func WarningPrint(a ...any)

func WarningPrintf added in v0.4.0

func WarningPrintf(format string, a ...any)

Types

This section is empty.

Jump to

Keyboard shortcuts

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