Cli.fish_kind: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 7148-7155 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=7148&end_line=7155 import Base # An option of kind needs its value (-r), and only a file name may be any # word (-x elsewhere); a [=] value is optional. def fish_kind(kind: UsageKind, +id: String, +comp: Comp) -> String: match kind: case OptionKind{many}: String.append(fish_needs(comp), fish_words(id, comp)) case BareOptionKind{}: fish_words(id, comp) case _: "" Uses (6): 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=Comp https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=UsageKind https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=fish_needs https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=fish_words