Cli.event_id: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3005-3010 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3005&end_line=3010 import Base def event_id(event: ScanEvent) -> Maybe<&2, String>: match event: case FlagHit{id, value}: Some{id} case CountHit{id}: Some{id} case ValueHit{id, value}: Some{id} case _: None{} Uses (3): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Maybe 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=ScanEvent