color

package
v0.0.0-...-577f95d Latest Latest
Warning

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

Go to latest
Published: Mar 28, 2023 License: MIT Imports: 2 Imported by: 4

Documentation

Index

Constants

View Source
const (
	FlagColor = "color"
)

Variables

This section is empty.

Functions

func Green

func Green(c *cli.Context, format string, a ...interface{}) string

func Magenta

func Magenta(c *cli.Context, format string, a ...interface{}) string

func Red

func Red(c *cli.Context, format string, a ...interface{}) string

func Yellow

func Yellow(c *cli.Context, format string, a ...interface{}) string

Types

type ColorOption

type ColorOption string
const (
	Auto   ColorOption = "auto"
	Always ColorOption = "always"
	Never  ColorOption = "never"
)

Jump to

Keyboard shortcuts

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