Cli.scope_groups: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 1682-1687 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=1682&end_line=1687 import Base def scope_groups(items: List<&2, Item>) -> List<&2, String>: match items: case Nil{}: Nil{} case Arg{usage, help, attrs} <> tail: List.append(&2, String, find_group_attrs(attrs), scope_groups(tail)) case head <> tail: scope_groups(tail) Uses (5): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=List.append https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=String 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=find_group_attrs