console

package
v0.1.9 Latest Latest
Warning

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

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

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Banner(msg string) string

func Debug

func Debug(msg string)

func DebugBlock added in v0.1.4

func DebugBlock(title string, msgs ...string)

func DebugGroup

func DebugGroup(title string, msgs ...string)

func Error

func Error(msg string)

func ErrorBlock added in v0.1.4

func ErrorBlock(title string, msgs ...string)

func ErrorGroup

func ErrorGroup(title string, msgs ...string)

func Info

func Info(msg string)

func InfoBlock added in v0.1.4

func InfoBlock(title string, msgs ...string)

func InfoGroup

func InfoGroup(title string, msgs ...string)

func PrintKVs added in v0.1.4

func PrintKVs(title string, entries ...KV)

func PromptAndConfirmPassword added in v0.1.3

func PromptAndConfirmPassword(prompt, confirmPrompt string) (string, error)

func PromptConfirm added in v0.1.3

func PromptConfirm(prompt string) bool

func PromptSecret added in v0.1.3

func PromptSecret(prompt string) (string, error)

func Success

func Success(msg string)

func SuccessBlock added in v0.1.4

func SuccessBlock(title string, msgs ...string)

func SuccessGroup

func SuccessGroup(title string, msgs ...string)

func VSpacer added in v0.1.9

func VSpacer(lines int)

func Warn

func Warn(msg string)

func WarnBlock added in v0.1.4

func WarnBlock(title string, msgs ...string)

func WarnGroup

func WarnGroup(title string, msgs ...string)

Types

type KV added in v0.1.4

type KV struct {
	// contains filtered or unexported fields
}

func KeyOnly added in v0.1.4

func KeyOnly(key string) KV

func KeyValue added in v0.1.4

func KeyValue(key, value string) KV

Jump to

Keyboard shortcuts

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