def scan_state_keys
import cli@0.2.0.0/cli.bend as Cliimport 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