def parse.take_long.named
shake@0.7.0.0 · src/cli.bend:803
import shake@0.7.0.0/src/cli.bend as Cli
import Base
803
804def parse.take_long.named(
805 empty: Bool,
806 +name: String,
807 val: Maybe<&2, String>,
808 +orig: String,
809 +args: List<&2, Arg>,
810 +up: List<&2, Level>,
811 +subs: List<&2, Sub>,
812 +path: List<&2, String>,
813 +binds: List<&2, Bind>,
814 +pos: List<&2, Arg>,
815 +raw: Bool,
816 +seen: Bool
817) -> St:
818 match empty:
819 case True{}:
820 parse.dead(UnknownFlag{path, orig}, args, up, subs, path, binds, pos, raw, seen)
821 case False{}:
822 parse.take_long.found(by_long(args, name), name, val, orig, args, up, subs,
823 path, binds, pos, raw, seen)