Cli.scan_option: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3197-3201 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3197&end_line=3201 import Base def scan_option(attached: Maybe<&2, String>, state: ScanState, info: ArgInfo) -> Mode: match attached: case Some{value}: scan_settle(scan_value(state, info, value)) case None{}: Fetch{state, info} Uses (7): 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=ScanState 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_value