def status

ezx@1.11.0.0 · src/ez/line.bend:205

import ezx@1.11.0.0/src/ez/line.bend as Line
import Base

205# help exits 0, a misused line 1, and a command that runs ends as it ends
206def status(how: Line) -> Status:
207  match how:
208    case Runs{_sub, _m}:
209      Ends{}
210    case Shows{_text}:
211      Exits{0}
212    case Misuse{_text}:
213      Exits{1}

Uses (2)

Used by (1)