Cli.gather_event: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3689-3697 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3689&end_line=3697 import Base def gather_event(event: ScanEvent, id: String, kind: UsageKind, gather: Gather) -> Gather: match event: case ValueHit{key, value}: gather_value_if(same_text(key, id), gather, value, kind) case FlagHit{key, value}: gather_flag_if(same_text(key, id), gather, value) case CountHit{key}: gather_count_if(same_text(key, id), gather) case _: gather Uses (8): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Gather 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=UsageKind https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=gather_count_if https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=gather_flag_if https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=gather_value_if https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=same_text