def parse.word

shake@0.7.0.0 · src/cli.bend:1132

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

1132# a word: a subcommand, or a positional
1133def parse.word(
1134  +tok: String,
1135  +args: List<&2, Arg>,
1136  +up: List<&2, Level>,
1137  +subs: List<&2, Sub>,
1138  +path: List<&2, String>,
1139  +binds: List<&2, Bind>,
1140  +pos: List<&2, Arg>,
1141  +raw: Bool,
1142  +seen: Bool
1143) -> St:
1144  parse.word.go(find_sub(subs, tok), tok, args, up, subs, path, binds, pos,
1145    raw, seen)

Uses (10)

Used by (2)