~/bend-docscommunity

src/init/run.bend fails

raw source on the hub · import 0x886223f5c47e4983fe57d887c034bc7f/src/init/run.bend as Run

init/run: the interpreter for ez init. It reads ez.toml, .gitignore, the entry file and src/lib.bend into a World, asks the planner (init/plan.bend) for the plan, and runs it with the lock's effect runner (Run.exec.plan), which makes a file's directory before writing it and exits 1 with the reason when the plan refuses. It decides nothing; that it reads and executes faithfully is EZ-TRUST-2.

4 imports
import Base
import ../io/file.bend as F
import ../lock/run.bend as Run
import ./plan.bend as IP

Definitions

def run source · line 13 · raw

@+name:String -> @+file:String -> @+desc:String -> IO(Unit)

ez init [name] [entry.bend] [--description TEXT]