cli

package
v0.4.1 Latest Latest
Warning

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

Go to latest
Published: Jun 1, 2022 License: GPL-3.0 Imports: 5 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	ErrCanceled = errors.New("Canceled.")
)

Functions

func Begin

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

func Error

func Error(format string, a ...any) error

func Finish

func Finish()

func Info

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

func Input

func Input(question string) (string, error)

func IsInProgress

func IsInProgress() bool

func Select

func Select(msg string, displayOptions []string, options []string) (string, error)

func Success

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

func Warn

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

func YesNo

func YesNo(question string, defaultValue bool) (yes bool, err error)

Types

This section is empty.

Jump to

Keyboard shortcuts

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