def version

ezx@1.11.0.0 · src/run/bend.bend:22

import ezx@1.11.0.0/src/run/bend.bend as Bend
import Base
import snap@1.4.0.0/main.bend as R

22# `bend` asked which bend it is, as a run's answer: the status line, then the
23# banner. A bend that is not on the PATH fails both spellings, so the status
24# an absent bend answers with is still the one the caller sees.
25def version() -> IO(String):
26  do IO<String>:
27    +out : String <- R.exec(["bend", "version"])
28    version.older(R.ok(out), out)

Uses (7)

Used by (2)