Cli.heading_sections: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 5477-5483 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=5477&end_line=5483 import Base def heading_sections(titles: List<&2, String>, +args: List<&2, Item>, +long: Bool) -> List<&2, Section>: match titles: case Nil{}: Nil{} case +title <> tail: Section{title, option_rows(args, long, title)} <> heading_sections(tail, args, long) Uses (6): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool 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=Item https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Section https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=option_rows