Check.reads.arg: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/check.bend as Check Lines 252-259 of shake@0.7.0.0/src/check.bend: https://jend.leeeet.dev/read.txt?path=shake@0.7.0.0/src/check.bend&start_line=252&end_line=259 import Base import shake@0.7.0.0/src/cli.bend as C # a read of the argument found under its name, or of none def reads.arg(found: Maybe<&2, C.Arg>, want: Want, +path: List<&2, String>, +name: String) -> List<&2, ReadErr>: match found: case None{}: [NoArg{path, name}] case Some{aa}: C.Arg{_n, _s, _l, kind, _h, _r, _d, _c} = aa reads.want(want, reads.flag(kind), path, name) Uses (8): 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=shake@0.7.0.0/src/check.bend&name=ReadErr https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/check.bend&name=Want https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/check.bend&name=reads.flag https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/check.bend&name=reads.want https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=Arg