gre-0.1.12 is not a library.

gre
Parallel git status aggregator for multiple repositories. Human and JSON output for agent automation.
Installation • Quick Start • Usage • Config • Output Formats
Features
- Parallel inspection — rayon-powered concurrent repo scanning across all configured repositories
- Action-aware sorting — repos sorted by priority: conflicts → dirty → behind → ahead → clean
- Focus line — shows actionable repos and how many more need attention
- Machine readable — stable JSON output with timing stats (elapsed, avg, p95) for automation pipelines
- Non-interactive — no prompts, no TUI. Just output. Built for speed and scripts.
- Configurable — TOML config with simple path lists or named repo entries
- Shell agnostic — works in any terminal, pipe JSON to agents or other tools
Installation
Homebrew
Cargo
Quick Start
Usage
Config
Default path: ~/.config/gre/config.toml
Simple — just paths
= [
"~/code/gre",
"~/code/muthr",
"~/code/utmd",
]
Named — when you want a different label than the directory
[[]]
= "gre"
= "~/code/gre"
[[]]
= "muthr"
= "~/code/muthr"
Output Formats
Human Output
gre sorts repos by action priority: conflicts → dirty → behind → ahead → clean. The summary line includes timing (elapsed, average) and a focus line showing which repos need attention.
repos:3 dirty:1 behind:1 ahead:1 time:12ms avg:4.00ms focus:gre:commit-or-stash,muthr:pull,utmd:none
repo branch +sync state next last_commit path
gre main +1 -0 dirty s:0 u:2 ?:0 c:0 commit-or-stash 8a3b2f1 tune output (2 hours ago) ~/code/gre
Next action values:
resolve-conflicts— has merge conflictscommit— has staged changes ready to commitcommit-or-stash— has unstaged or untracked changespull— behind remotepush— ahead of remotesync— ahead and behindnone— clean
JSON Output
--json returns a stable schema for automation and agent pipelines:
configured_total equals succeeded_total + failed_total. Repo fields include path, clean, last_hash, last_subject, and last_relative.
Note: gre does not fetch remotes. Run git fetch in your repos before running gre to refresh tracking refs.