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

Function WithFlags

internal/flags/flags.go:257–259  ·  view source on GitHub ↗

WithFlags is a special internal functional option that is used to pass flags from the CLI into any constructor that accepts functional options.

()

Source from the content-addressed store, hash-verified

255// WithFlags is a special internal functional option that is used to pass flags
256// from the CLI into any constructor that accepts functional options.
257func WithFlags() task.ExecutorOption {
258 return &flagsOption{}
259}
260
261type flagsOption struct{}
262

Callers 1

runFunction · 0.92

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…