color

package
v1.2.40 Latest Latest
Warning

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

Go to latest
Published: May 30, 2024 License: Apache-2.0 Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddFlag

func AddFlag(cmd *cobra.Command)

AddFlag adds the interactive flag to the given set of command line flags.

func SetColor added in v1.2.37

func SetColor(colorOption string)

func UseColor

func UseColor() bool

UseColor returns a bool that indicates whether the color is enabled

Types

This section is empty.

Jump to

Keyboard shortcuts

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