def out.run
import bolt@1.27.0.0/src/args.bend as Argsimport 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)}