Cli.spec_group_usages: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 3941-3950 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=3941&end_line=3950 import Base def spec_group_usages(items: List<&2, SpecItem>, +name: String) -> List<&2, String>: match items: case Nil{}: Nil{} case SpecArg{+info} <> tail: +later = spec_group_usages(tail, name) attrs = info_attrs(info) Bool.pick(List<&2, String>, arg_in_group(attrs, name), arg_display(info) <> later, later) case head <> tail: spec_group_usages(tail, name) Uses (7): 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=Base/base.bend&name=String https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=SpecItem https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=arg_display https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=arg_in_group https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=info_attrs