def started

ezx@1.11.0.0 · src/ez/cmd.bend:27

import ezx@1.11.0.0/src/ez/cmd.bend as Cmd
import Base
import ezx@1.11.0.0/src/io/file.bend as F
import ezx@1.11.0.0/src/ez/start.bend as S

27# what `ez check`, `ez build` or `ez run` does, decided from ez.toml as it is
28# on disk (`S.start`): a missing or unreadable ledger is refused before
29# anything is started or made
30def started(+ask: S.Ask) -> IO(S.Start):
31  do IO<S.Start>:
32    t : Maybe<&2, String> <- F.read(toml())
33    return S.start(ask, t)

Uses (10)

Used by (3)