Cmd.started: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/ez/cmd.bend as Cmd Lines 27-33 of ezx@1.11.0.0/src/ez/cmd.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/ez/cmd.bend&start_line=27&end_line=33 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 # what `ez check`, `ez build` or `ez run` does, decided from ez.toml as it is # on disk (`S.start`): a missing or unreadable ledger is refused before # anything is started or made def started(+ask: S.Ask) -> IO(S.Start): do IO: t : Maybe<&2, String> <- F.read(toml()) return S.start(ask, t) Uses (10): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.bind https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=IO.pure https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/cmd.bend&name=toml https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/start.bend&name=Ask https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/start.bend&name=Start https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ez/start.bend&name=start https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/io/file.bend&name=read