MCPcopy Create free account
hub / github.com/go-task/task / WithColor

Function WithColor

executor.go:488–490  ·  view source on GitHub ↗

WithColor tells the [Executor] whether or not to output using colorized strings.

(color bool)

Source from the content-addressed store, hash-verified

486// WithColor tells the [Executor] whether or not to output using colorized
487// strings.
488func WithColor(color bool) ExecutorOption {
489 return &colorOption{color}
490}
491
492type colorOption struct {
493 color bool

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…