Cli.long_candidates: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 5869-5876 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=5869&end_line=5876 import Base # T4 for E01: visible longs, their no- forms and long aliases. def long_candidates(items: List<&2, Item>) -> List<&2, String>: match items: case Nil{}: Nil{} case Arg{usage, help, +attrs} <> tail: List.append(&2, String, visible_names(has_hidden(attrs), usage, attrs), long_candidates(tail)) case head <> tail: long_candidates(tail) Uses (6): 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=has_hidden https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=visible_names