Cli.scan_simple_hit: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3090-3096 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3090&end_line=3096 import Base def scan_simple_hit(state: ScanState, info: ArgInfo, polarity: Bool) -> ScanState: match info: case ArgInfo{id, usage, short, long, kind, attrs}: match kind: case CountKind{}: scan_event(state, CountHit{id}) case _: scan_event(state, FlagHit{id, polarity}) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=ArgInfo https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=ScanEvent https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=ScanState https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=UsageKind https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=scan_event