output

package
v0.0.1 Latest Latest
Warning

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

Go to latest
Published: Jun 20, 2024 License: Apache-2.0 Imports: 2 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Error

func Error(err error)

func Println

func Println(msg string, opts ...interface{})

Println can be used for all general CLI prints and will append a magenta `dctl` prefix to all output

func PrintlnWithNameAndColor

func PrintlnWithNameAndColor(name, msg string, c Color, opts ...interface{})

Types

type Color

type Color int
const (
	None Color = iota
	Red
	Green
	Yellow
	Blue
	Magenta
	Cyan
	LightGray
	DarkGray
	LightRed
	LightGreen
	LightYellow
	LightBlue
	LightMagenta
	LightCyan
)

func (Color) String

func (c Color) String() string

Jump to

Keyboard shortcuts

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