Versions in this module Expand all Collapse all v0 v0.8.1 Aug 18, 2025 v0.8.0 Jul 24, 2025 Changes in this version + var ErrCompletedWithFailures = fmt.Errorf("%w: completed with failures", Error) + var Error = errors.New("taskrunner") + type Action func(ex *Executor) (res Result) + type Executor struct + func (e *Executor) AddTick() + func (e *Executor) Println(a ...any) + func (e *Executor) Program() *tea.Program + func (e *Executor) Stdout() *os.File + func (e *Executor) Subtask(name string, action Action) TaskID + func (e *Executor) SubtaskD(dep TaskID, name string, action Action) TaskID + type OutputMsg string + type Result struct + func Failure(msg string) Result + func Info(msg string) Result + func Notice(msg string) Result + func Skip(msg string) Result + func Success(msg string) Result + func Warn(msg string) Result + func (r Result) WithDesc(desc string) Result + type Runner struct + func New(name string) *Runner + func (tr *Runner) Add(name string, action Action) TaskID + func (tr *Runner) AddD(dep TaskID, name string, action Action) TaskID + func (tr *Runner) AddTask(task Task) TaskID + func (tr *Runner) Run() error + type SetStatusMsg string + type State uint + const FAILURE + const INFO + const NOTICE + const SKIPPED + const SUCCESS + const WARNING + type Task struct + func NewTask(name string, action Action) Task + func (t Task) DependsOn(dep TaskID) Task + func (t Task) ID() TaskID + type TaskID = uuid.UUID