Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/go-task/task
/ functions
Functions
992 in github.com/go-task/task
⨍
Functions
992
◇
Types & classes
215
Function
WithConcurrency
WithConcurrency sets the maximum number of tasks that the [Executor] can run in parallel.
executor.go:502
Function
WithDebugFunc
WithDebugFunc sets the debug function to be used by the [Reader]. If set, this function will be called with debug messages. This can be useful if the
taskrc/reader.go:47
Function
WithDir
WithDir sets the working directory of the [Executor]. By default, the directory is set to the user's current working directory.
executor.go:127
Function
WithDisableFuzzy
WithDisableFuzzy tells the [Executor] to disable fuzzy matching for task names.
executor.go:393
Function
WithDownload
WithDownload forces the [Executor] to download a fresh copy of the taskfile from the remote source.
executor.go:229
Function
WithDry
WithDry tells the [Executor] to output the commands that would be run without actually running them.
executor.go:446
Function
WithEntrypoint
WithEntrypoint sets the entrypoint (main Taskfile) of the [Executor]. By default, Task will search for one of the default Taskfiles in the given direc
executor.go:142
Function
WithFailfast
WithFailfast tells the [Executor] whether or not to check the version of
executor.go:626
Function
WithFixtureTemplateData
WithFixtureTemplateData adds data to the golden fixture file templates. Keys given here will override any existing values. This option will also enabl
task_test.go:277
Function
WithForce
WithForce ensures that the [Executor] always runs a task, even when fingerprinting or prompts would normally stop it.
executor.go:187
Function
WithForceAll
WithForceAll ensures that the [Executor] always runs all tasks (including subtasks), even when fingerprinting or prompts would normally stop them.
executor.go:201
Function
WithIO
WithIO sets the [Executor]'s standard input, output, and error to the same [io.ReadWriter].
executor.go:598
Function
WithInsecure
WithInsecure allows the [Executor] to make insecure connections when reading remote taskfiles. By default, insecure connections are rejected.
executor.go:215
Function
WithInteractive
WithInteractive tells the [Executor] to prompt for missing required variables.
executor.go:432
Function
WithInterval
WithInterval sets the interval at which the [Executor] will wait for duplicated events before running a task.
executor.go:516
Function
WithListError
WithListError tells the test to expect an error when running the formatter. A fixture will be created with the output of any errors.
formatter_test.go:87
Function
WithOffline
WithOffline stops the [Executor] from being able to make network connections. It will still be able to read local files and cached copies of remote fi
executor.go:243
Function
WithOutputStyle
WithOutputStyle sets the output style of the [Executor]. By default, the output style is set to the style defined in the Taskfile.
executor.go:530
Function
WithParallel
WithParallel tells the [Executor] to run tasks given in the same call in parallel.
executor.go:474
Function
WithRemoteCacheDir
WithRemoteCacheDir sets the directory where remote taskfiles are cached.
executor.go:298
Function
WithSilent
WithSilent tells the [Executor] to suppress all output except for the output of the tasks that are run.
executor.go:380
Function
WithStderr
WithStderr sets the [Executor]'s standard error [io.Writer].
executor.go:584
Function
WithStdin
WithStdin sets the [Executor]'s standard input [io.Reader].
executor.go:558
Function
WithStdout
WithStdout sets the [Executor]'s standard output [io.Writer].
executor.go:571
Function
WithSummary
WithSummary tells the [Executor] to output a summary of the given tasks instead of running them.
executor.go:460
Function
WithTaskSorter
WithTaskSorter sets the sorter that the [Executor] will use to sort tasks. By default, the sorter is set to sort tasks alphabetically, but with tasks
executor.go:545
Function
WithTempDir
WithTempDir sets the temporary directory that will be used by [Executor] for storing temporary files like checksums and cached remote files. By defaul
executor.go:157
Function
WithTempDirPath
WithTempDirPath sets an unresolved path used to build [Executor.TempDir] during [Executor.Setup]. Relative paths are resolved from the root Taskfile d
executor.go:173
Function
WithTimeout
WithTimeout sets the [Executor]'s timeout for fetching remote taskfiles. By default, the timeout is set to 10 seconds.
executor.go:271
Function
WithTrustedHosts
WithTrustedHosts configures the [Executor] with a list of trusted hosts for remote Taskfiles. Hosts in this list will not prompt for user confirmation
executor.go:257
Function
WithVerbose
WithVerbose tells the [Executor] to output more information about the tasks that are run.
executor.go:366
Function
WithVersionCheck
WithVersionCheck tells the [Executor] whether or not to check the version of
executor.go:613
Function
WithWatch
WithWatch tells the [Executor] to keep running in the background and watch for changes to the fingerprint of the tasks that are run. When changes are
executor.go:352
Method
WrapWriter
(stdOut, _ io.Writer, _ string, cache *templater.Cache)
internal/output/group.go:15
Method
WrapWriter
(stdOut, stdErr io.Writer, _ string, _ *templater.Cache)
internal/output/interleaved.go:11
Method
WrapWriter
(stdOut, _ io.Writer, prefix string, _ *templater.Cache)
internal/output/prefixed.go:31
Method
Write
(p []byte)
task_test.go:388
Method
Write
(p []byte)
internal/execext/devnull.go:12
Method
Write
(p []byte)
internal/output/group.go:37
Method
Write
(p []byte)
internal/output/prefixed.go:43
Function
Yellow
()
internal/logger/logger.go:67
Method
applyToExecutorTest
(t *ExecutorTest)
executor_test.go:87
Method
applyToExecutorTest
(t *ExecutorTest)
executor_test.go:99
Method
applyToExecutorTest
(t *ExecutorTest)
executor_test.go:112
Method
applyToExecutorTest
(t *ExecutorTest)
task_test.go:138
Method
applyToExecutorTest
(t *ExecutorTest)
task_test.go:156
Method
applyToExecutorTest
(t *ExecutorTest)
task_test.go:175
Method
applyToExecutorTest
(t *ExecutorTest)
task_test.go:193
Method
applyToExecutorTest
(t *ExecutorTest)
task_test.go:212
Method
applyToExecutorTest
(t *ExecutorTest)
task_test.go:232
Method
applyToExecutorTest
(t *ExecutorTest)
task_test.go:248
Method
applyToExecutorTest
(t *ExecutorTest)
task_test.go:266
Method
applyToExecutorTest
(t *ExecutorTest)
task_test.go:286
Method
applyToFormatterTest
(t *FormatterTest)
formatter_test.go:81
Method
applyToFormatterTest
(t *FormatterTest)
formatter_test.go:93
Method
applyToFormatterTest
(t *FormatterTest)
task_test.go:142
Method
applyToFormatterTest
(t *FormatterTest)
task_test.go:160
Method
applyToFormatterTest
(t *FormatterTest)
task_test.go:179
Method
applyToFormatterTest
(t *FormatterTest)
task_test.go:197
Method
applyToFormatterTest
(t *FormatterTest)
task_test.go:216
Method
applyToFormatterTest
(t *FormatterTest)
task_test.go:236
Method
applyToFormatterTest
(t *FormatterTest)
task_test.go:252
Method
applyToFormatterTest
(t *FormatterTest)
task_test.go:270
Method
applyToFormatterTest
(t *FormatterTest)
task_test.go:291
Function
catLines
(s string)
internal/templater/funcs.go:72
Function
emptyFunc
()
concurrency.go:25
Function
exeExt
()
internal/templater/funcs.go:82
Function
fromYaml
(v string)
internal/templater/funcs.go:123
Function
getEnvAs
getEnvAs parses a TASK_ prefixed env var as type T
internal/flags/flags.go:333
Function
goarch
()
internal/templater/funcs.go:68
Function
goos
()
internal/templater/funcs.go:64
Function
init
()
task_test.go:36
Function
init
()
internal/execext/coreutils.go:12
Function
init
()
internal/version/version.go:16
Function
init
()
internal/flags/flags.go:93
Function
init
()
internal/templater/funcs.go:24
Function
init
()
cmd/release/main.go:29
Function
init
()
taskfile/snippet.go:23
Function
joinEnv
(elem ...string)
internal/templater/funcs.go:102
Function
joinUrl
(elem ...string)
internal/templater/funcs.go:106
Function
main
example: v0.0.9-8-g941583d027-dirty
cmd/sleepit/sleepit.go:25
Function
main
()
cmd/release/main.go:34
Function
main
()
cmd/task/task.go:23
Function
merge
(base map[string]any, v ...map[string]any)
internal/templater/funcs.go:110
Function
mustToYaml
(v any)
internal/templater/funcs.go:139
Function
openHandler
(ctx context.Context, path string, flag int, perm os.FileMode)
internal/execext/exec.go:152
Method
setupFuzzyModel
()
setup.go:110
Function
shellQuote
(str string)
internal/templater/funcs.go:89
Function
splitArgs
(s string)
internal/templater/funcs.go:93
Function
splitLines
(s string)
internal/templater/funcs.go:77
Function
taskfileHash
(vertex *TaskfileVertex)
taskfile/ast/graph.go:24
Function
toYaml
(v any)
internal/templater/funcs.go:134
← previous
901–992 of 992, ranked by callers