color

package
v1.2.45-rc1 Latest Latest
Warning

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

Go to latest
Published: Sep 2, 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