ui

package
v0.5.0 Latest Latest
Warning

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

Go to latest
Published: Dec 27, 2025 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

View Source
const (
	Green  = "\033[0;32m"
	Yellow = "\033[0;33m"
	Red    = "\033[0;31m"
	Blue   = "\033[0;34m"
	White  = "\033[0;37m"
	Bold   = "\033[1m"
	Reset  = "\033[0m"
)

Variables

This section is empty.

Functions

func PrintBanner

func PrintBanner(version, provider string)

func PrintDefault added in v0.3.0

func PrintDefault(msg string)

PrintDefault prints a message in green (for default provider)

func PrintError

func PrintError(msg string)

func PrintHeader

func PrintHeader(msg string)

func PrintInfo

func PrintInfo(msg string)

func PrintProviderOption

func PrintProviderOption(number int, name string, cfg *config.Config, secrets map[string]string, provider string)

func PrintSection

func PrintSection(msg string)

func PrintSuccess

func PrintSuccess(msg string)

func PrintWarn

func PrintWarn(msg string)

func PrintWhite added in v0.3.0

func PrintWhite(msg string)

PrintWhite prints a message in white (no color)

func Prompt

func Prompt(prompt string) string

func PromptSecret

func PromptSecret(prompt string) (string, error)

func PromptWithDefault

func PromptWithDefault(prompt, defaultVal string) string

Types

This section is empty.

Jump to

Keyboard shortcuts

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