MCPcopy Create free account
hub / github.com/auth0/auth0-cli / Color

Function Color

internal/ansi/ansi.go:35–37  ·  view source on GitHub ↗

Color returns an aurora.Aurora instance with colors enabled or disabled depending on whether the writer supports colors.

()

Source from the content-addressed store, hash-verified

33// Color returns an aurora.Aurora instance with colors enabled or disabled
34// depending on whether the writer supports colors.
35func Color() aurora.Aurora {
36 return aurora.NewAurora(shouldUseColors())
37}
38
39// Initialize re-instantiates the Aurora instance
40// This initialization step is necessary because the parsing of the

Callers 2

ansi.goFile · 0.85
InitializeFunction · 0.85

Calls 1

shouldUseColorsFunction · 0.85

Tested by

no test coverage detected