Keyboard shortcuts

Press ← or → to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

Passing Output Between Tasks

capture = true exposes a task's stdout (trailing newline removed) to dependents as MX_OUTPUT_<TASK> (the title upper-cased with other characters replaced by _). The output is still printed.

## version

```meta
capture = true
```

```bash
git describe --tags
```

## release

```meta
depends = ["version"]
```

```bash
echo "releasing $MX_OUTPUT_VERSION"
```

Captured output reaches direct and transitive dependents. Because stdout is piped, programs may stop colouring it.