def parse.step.help

shake@0.7.0.0 · src/cli.bend:1219

import shake@0.7.0.0/src/cli.bend as Cli
import Base

1219# `help` in command position collects the rest of argv as a path
1220def parse.step.help(
1221  hit: Bool,
1222  +tok: String,
1223  +args: List<&2, Arg>,
1224  +up: List<&2, Level>,
1225  +subs: List<&2, Sub>,
1226  +path: List<&2, String>,
1227  +binds: List<&2, Bind>,
1228  +pos: List<&2, Arg>,
1229  +seen: Bool
1230) -> St:
1231  match hit:
1232    case True{}:
1233      St{Help{}, args, up, subs, path, binds, pos, False{}, seen}
1234    case False{}:
1235      parse.step.kind(tok, args, up, subs, path, binds, pos, seen)

Uses (10)

Used by (1)