Cli.cluster.apply.mode: def of shake@0.7.0.0 Import: import shake@0.7.0.0/src/cli.bend as Cli Lines 916-938 of shake@0.7.0.0/src/cli.bend: https://jend.leeeet.dev/read.txt?path=shake@0.7.0.0/src/cli.bend&start_line=916&end_line=938 import Base # one letter against a walker an earlier letter failed changes nothing; # otherwise it goes through `take_arg` def cluster.apply.mode( mode: Mode, +cc: Char, +rest: String, +orig: String, +args: List<&2, Arg>, +up: List<&2, Level>, +subs: List<&2, Sub>, +path: List<&2, String>, +binds: List<&2, Bind>, +pos: List<&2, Arg>, +raw: Bool, +seen: Bool ) -> St: match mode: case Dead{e}: St{Dead{e}, args, up, subs, path, binds, pos, raw, seen} case _other: +found = by_short(args, SCon{cc, SNil{}}) parse.take_arg(found, cluster.val(found, rest), orig, args, up, subs, path, binds, pos, raw, seen) Uses (13): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List 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/cli.bend&name=Arg https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=Bind https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=Level https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=Mode https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=St https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=Sub https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=by_short https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=cluster.val https://jend.leeeet.dev/definition.txt?path=shake@0.7.0.0/src/cli.bend&name=parse.take_arg