def out.run

bolt@1.26.0.0 · src/args.bend:155

import bolt@1.26.0.0/src/args.bend as Args
import Base
import shake@0.6.0.0/main.bend as Shake

155# a successful parse: the version, or the selected command and its files
156def out.run(ask: Bool, +mm: Shake.Matched) -> Out:
157  match ask:
158    case True{}:
159      Stop{Line{}, "bolt " ++ version(), 0}
160    case False{}:
161      Go{command(String.join(Shake.path_of(mm), "/")), files(mm)}

Uses (10)

Used by (1)