Cli.scan_simple_option: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3215-3220 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3215&end_line=3220 import Base def scan_simple_option(attached: Maybe<&2, String>, state: ScanState, info: ArgInfo, polarity: Bool) -> Mode: match attached: case Some{value}: scan_settle(scan_error(state, E05{arg_display(info), value})) case None{}: scan_settle(scan_simple_hit(state, info, polarity)) Uses (11): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=ArgInfo https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Mode https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=ScanFault 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=arg_display https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=scan_error https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=scan_settle https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=scan_simple_hit