Run.run: def of ezx@1.11.0.0 Import: import ezx@1.11.0.0/src/remove/run.bend as Run Lines 44-54 of ezx@1.11.0.0/src/remove/run.bend: https://jend.leeeet.dev/read.txt?path=ezx@1.11.0.0/src/remove/run.bend&start_line=44&end_line=54 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/lock/run.bend as Run import ezx@1.11.0.0/src/lock/world.bend as W import ezx@1.11.0.0/src/remove/plan.bend as RP import ezx@1.11.0.0/src/remove/relock.bend as RR import ezx@1.11.0.0/src/ws/relock.bend as Rel import ezx@1.11.0.0/src/ws/run.bend as WsRun # `ez remove ` def run(+name: String) -> IO(Unit): do IO: lib : String <- Run.bend.lib() +pwd : String <- R.exec(["pwd"]) led : Maybe<&2, String> <- F.read(RP.toml()) ig : Maybe<&2, String> <- F.read(RP.ignore.file()) ls : W.Listing <- Run.read.listing() ws : Rel.Ws <- WsRun.relock.ws() loop(Run.rounds(), lib, ws, RR.World{RP.World{name, led, F.text_of(ig)}, String.trim(R.text(pwd)), ls, []}) Uses (22): 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/io/file.bend&name=text_of https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/run.bend&name=bend.lib https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/run.bend&name=read.listing https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/run.bend&name=rounds https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/lock/world.bend&name=Listing https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/remove/plan.bend&name=World https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/remove/plan.bend&name=ignore.file https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/remove/plan.bend&name=toml https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/remove/relock.bend&name=World https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/remove/run.bend&name=loop https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/relock.bend&name=Ws https://jend.leeeet.dev/definition.txt?path=ezx@1.11.0.0/src/ws/run.bend&name=relock.ws 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