def go.end
import ezx@1.11.0.0/src/ez/main.bend as Ezximport Base
import ezx@1.11.0.0/src/ez/line.bend as L
108# a status decided before any command ran, exited with; a command's own end
109# is its own
110def go.end(st: L.Status) -> IO(Unit):
111 match st:
112 case L.Exits{+code}:
113 go.exit(U32.is_eq(code, 0), code)
114 case L.Ends{}:
115 IO.pure(Unit, Unit{})