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

Installation

cargo install yatr

Or from source (latest main):

cargo install --git https://github.com/cargopete/yatr

Quick start

Create a yatr.toml in your project root:

[tasks.test]
desc = "Run tests"
run = ["cargo test"]

[tasks.build]
desc = "Build release"
depends = ["test"]
run = ["cargo build --release"]

Run tasks:

yatr test            # run 'test'
yatr build           # runs 'test' first, then 'build'
yatr run test build  # run multiple
yatr --dry-run build # show the plan without executing
yatr list            # list available tasks

Bare task names are shorthand for yatr run <task>.