mt board
Show one row per project: its open, ready and blocked counts and what's next
On a set, mt @home board or a bare mt @home, each project gets a row under its own config. Otherwise it shows the current project. The columns come from [board] in at.toml.
A column is a [[board.columns]] entry in at.toml. A filter column counts the tasks it matches, and a top column shows the first match in the project’s default order. Every filter runs under that project’s own config. A cell that fails prints ? with a note under the table, and a project whose config won’t load is a ⚠ row, after which mt exits 1. This is the board mt provides.
# crates/mindtape/src/at/board.toml: the board mt ships
sort = ["ready:desc", "open:desc"]
hide = "open == 0"
[[columns]]
name = "open"
filter = "!terminal"
[[columns]]
name = "ready"
filter = "ready"
[[columns]]
name = "blocked"
filter = "blocked"
[[columns]]
name = "next"
top = "ready"[board] in at.toml changes the board for every entry, and [at.<name>.board] changes it for one, key by key over the default board:
| Key | Default | Purpose |
|---|---|---|
columns | The columns, in display order. | |
hide | An expression over the cells. The board hides a row the expression holds for. An empty expression leaves every row visible. | |
sort | Row order: column, column:asc or column:desc, ties broken by the next entry and then by set order. |
Each [[board.columns]] entry takes these keys:
| Key | Default | Purpose |
|---|---|---|
fallback | The filter to use instead when the project lacks a view the column’s filter names. | |
filter | A filter whose matching tasks the cell counts. | |
name | The column’s name, which sort and hide read it by. | |
top | A filter whose first task, in the project’s default order, is the cell. |
Runs on every project of a set too. A bare mt @work runs the board, one row per project.
--all | Show the rows the board's hide hides, too |
--json | Print every row as JSON, hidden ones included |
mt @demo # a bare @name runs mt @demo board
mt @demo board --all # the rows hide hides, tooEvery command also takes the global flags.