tasks

package
v1.2.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Sep 15, 2026 License: Apache-2.0 Imports: 3 Imported by: 0 modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

Documentation

Overview

Package tasks is a shim over fumeapp/taskin for headless execution.

Rationale: taskin's DisableUI flag only strips ANSI escapes — it still writes task-status lines to os.Stdout, which contaminates --json output. RunHeadless walks the same task tree without invoking the bubbletea runner so stdout stays clean.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func RunHeadless

func RunHeadless(tasks taskin.Tasks, progressOut io.Writer) error

RunHeadless executes every task in the tree in order, in the caller's goroutine, without the bubbletea runner. Task.Progress calls still update internal state and Task.Title mutations still work; the difference is that nothing reaches stdout.

When progressOut is non-nil, one line per completed task is written there (typically the renderer's stderr) so users get a coarse audit trail even without the TUI.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL