Run.run: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/tool/run.bend as Run Lines 330-338 of ezx@1.11.0.0/src/tool/run.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/tool/run.bend&start_line=330&end_line=338 import Base import snap@1.4.0.0/main.bend as R import ezx@1.11.0.0/src/io/file.bend as F import ezx@1.11.0.0/src/tool/world.bend as TW # `ez tool run [--entry ] [-- args…]`, `install` and `upgrade` def run(act: TW.Act, +target: String, +want: String) -> IO(Unit): do IO: +pwd : String <- R.exec(["pwd"]) +vars : TW.Env <- env() +bend : String <- bend.is() led : Maybe<&2, String> <- F.read("ez.toml") lock : Maybe<&2, String> <- F.read("ez.lock.toml") go(act, target, want, String.trim(R.text(pwd)), vars, bend, led, lock) Uses (15): 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=List 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=Base/base.bend&name=String.trim https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Unit https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/io/file.bend&name=read https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/run.bend&name=bend.is https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/run.bend&name=env https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/run.bend&name=go https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/world.bend&name=Act https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/tool/world.bend&name=Env https://jend.leeeet.dev/definition.txt?path=snap@1.4.0.0/main.bend&name=exec https://jend.leeeet.dev/definition.txt?path=snap@1.4.0.0/main.bend&name=text