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

Function WithForce

executor.go:187–189  ·  view source on GitHub ↗

WithForce ensures that the [Executor] always runs a task, even when fingerprinting or prompts would normally stop it.

(force bool)

Source from the content-addressed store, hash-verified

185// WithForce ensures that the [Executor] always runs a task, even when
186// fingerprinting or prompts would normally stop it.
187func WithForce(force bool) ExecutorOption {
188 return &forceOption{force}
189}
190
191type forceOption struct {
192 force 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…