MCPcopy
hub / github.com/go-task/task / WithTask

Function WithTask

task_test.go:148–150  ·  view source on GitHub ↗

WithTask sets the name of the task to run. This should be used when the task to run is not the default task.

(task string)

Source from the content-addressed store, hash-verified

146// WithTask sets the name of the task to run. This should be used when the task
147// to run is not the default task.
148func WithTask(task string) TestOption {
149 return &taskTestOption{task: task}
150}
151
152type taskTestOption struct {
153 task string

Callers 15

TestVarsFunction · 0.85
TestSecretVarsFunction · 0.85
TestRequiresFunction · 0.85
TestSpecialVarsFunction · 0.85
TestStatusFunction · 0.85
TestPreconditionFunction · 0.85
TestAliasFunction · 0.85
TestLabelFunction · 0.85
TestPrefixFunction · 0.85
TestPromptInSummaryFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…