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

Function WithSilent

executor.go:380–382  ·  view source on GitHub ↗

WithSilent tells the [Executor] to suppress all output except for the output of the tasks that are run.

(silent bool)

Source from the content-addressed store, hash-verified

378// WithSilent tells the [Executor] to suppress all output except for the output
379// of the tasks that are run.
380func WithSilent(silent bool) ExecutorOption {
381 return &silentOption{silent}
382}
383
384type silentOption struct {
385 silent 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…