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

Function WithOutputStyle

executor.go:530–532  ·  view source on GitHub ↗

WithOutputStyle sets the output style of the [Executor]. By default, the output style is set to the style defined in the Taskfile.

(outputStyle ast.Output)

Source from the content-addressed store, hash-verified

528// WithOutputStyle sets the output style of the [Executor]. By default, the
529// output style is set to the style defined in the Taskfile.
530func WithOutputStyle(outputStyle ast.Output) ExecutorOption {
531 return &outputStyleOption{outputStyle}
532}
533
534type outputStyleOption struct {
535 outputStyle ast.Output

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…