Cli.positional_items: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 2719-2727 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=2719&end_line=2727 import Base def positional_items(items: List<&2, Item>) -> List<&2, Item>: match items: case Nil{}: Nil{} case Arg{+usage, +help, +attrs} <> tail: +rest = positional_items(tail) Bool.pick(List<&2, Item>, usage_kind(~kind_pos, parse_usage(usage)), Arg{usage, help, attrs} <> rest, rest) case head <> tail: positional_items(tail) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Item https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=kind_pos https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=parse_usage https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=usage_kind