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

Function WithEntrypoint

executor.go:142–144  ·  view source on GitHub ↗

WithEntrypoint sets the entrypoint (main Taskfile) of the [Executor]. By default, Task will search for one of the default Taskfiles in the given directory.

(entrypoint string)

Source from the content-addressed store, hash-verified

140// default, Task will search for one of the default Taskfiles in the given
141// directory.
142func WithEntrypoint(entrypoint string) ExecutorOption {
143 return &entrypointOption{entrypoint}
144}
145
146type entrypointOption struct {
147 entrypoint string

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…