def run.plan.of
import snap@1.4.0.0/src/argv.bend as Argvimport Base
56# an argv accepted is run; any other is refused
57def run.plan.of(ok: Bool, argv: List<&2, String>) -> Step:
58 match ok:
59 case True{}:
60 Run{wire(argv)}
61 case False{}:
62 Refused{}