Brat is built with Brut, the Brutal Router for Unix Tools, a tiny, generic git-style command dispatcher. You can copy the main entrypoint, `bin/brat`, to another location, give it a different name, and use it to make your own command-line tools. https://codeberg.org/sstephenson/brat/src/branch/main/bin/brat
(I’ll document and release Brut separately, eventually…)