def scan_state_keys

cli@0.2.0.0 · cli.bend:3320

import cli@0.2.0.0/cli.bend as Cli
import Base

3320# The keys of state's scope.
3321def scan_state_keys(state: ScanState) -> List<&2, OptKey>:
3322  match state:
3323    case ScanState{Scope{path, Spec{keys, args, slots, variadic, subs,
3324        has_sub, external, needs_sub, version, digit_short, inherit}},
3325        events, resting, positional_count, ext, issue}: keys

Uses (5)

Used by (1)