def ran
import ezx@1.11.0.0/src/git/exec.bend as Execimport Base
15# a git command that failed stops the command, with whatever git said
16def ran(ok: Bool, what: String, text: String) -> IO(Unit):
17 match ok:
18 case True{}:
19 IO.pure(Unit, Unit{})
20 case False{}:
21 IO.die(Unit, 1, "ez: git " ++ what ++ ": " ++ text)