Args.scan.flag2: def of cswap-bend-cli@0.1.0.0 Import: import cswap-bend-cli@0.1.0.0/args.bend as Args Lines 374-383 of cswap-bend-cli@0.1.0.0/args.bend: https://jend.leeeet.dev/read.txt?path=cswap-bend-cli@0.1.0.0/args.bend&start_line=374&end_line=383 import Base def scan.flag2(valued: Bool, switch: Bool, +name: String, inline: Maybe<&2, String>, opts: List<&2, Opt>, err: String) -> Scan: match valued switch inline: case True{} _ Some{v}: Scan{Opt{name, v} <> opts, "", err} case True{} _ None{}: Scan{opts, name, err} case False{} True{} _: Scan{Opt{name, ""} <> opts, "", err} case False{} False{} _: Scan{opts, "", scan.fail(err, name)} Uses (7): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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=cswap-bend-cli@0.1.0.0/args.bend&name=Opt https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/args.bend&name=Scan https://jend.leeeet.dev/definition.txt?path=cswap-bend-cli@0.1.0.0/args.bend&name=scan.fail