Cli.zsh_spec: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 6761-6769 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=6761&end_line=6769 import Base def zsh_spec(+name: String, kind: UsageKind, pre: String, d: String, ph: String, act: String) -> String: match kind: case OptionKind{many}: String.concat([pre, name, Bool.pick(String, long_name(name), "=", "+"), "[", d, "]:", ph, ":", act]) case BareOptionKind{}: String.concat([pre, name, "=-[", d, "]::", ph, ":", act]) case _: String.concat([pre, name, "[", d, "]"]) Uses (6): 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=Base/base.bend&name=String.concat 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=long_name