Overview of Task Go Package API
Task can be used as a Go package to extend its functionality or integrate it into Go projects. Note that the package API is currently experimental and subject to breaking changes in minor or patch releases. It is recommended to pin the version in your go.mod file.
Key packages include:
github.com/go-task/task/v3: Core functionality, primarily exposed viatask.Executorfor fetching and executing tasks.github.com/go-task/task/v3/taskfile: Utilities for reading Taskfiles from local files, HTTP/HTTPS, Git, or stdin.github.com/go-task/task/v3/taskfile/ast: Tools for parsing Taskfile YAML into an Abstract Syntax Tree (AST).github.com/go-task/task/v3/errors: Custom error types implementing theerrors.TaskErrorinterface, which provides aCode()method for unique exit codes.