Cli.fish_ends: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7202-7208 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7202&end_line=7208 import Base def fish_ends(subs: List<&2, Entry>, +at: String, id: String, slots: List<&2, Slot>) -> List<&2, String>: match subs: case Nil{}: fish_slot_lines(completing(slots), at, id) case head <> tail: List.append(&2, String, fish_sub_lines(head <> tail, at), [String.append(at, " n' -a 'help' -d 'Print this message or the help of the given subcommand(s)'")]) Uses (9): 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=Base/base.bend&name=String.append https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Entry https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Slot https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=completing https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=fish_slot_lines https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=fish_sub_lines