Cli.kind_text: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 4403-4411 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=4403&end_line=4411 import Base def kind_text(kind: UsageKind, +stem: String) -> String: match kind: case FlagKind{}: "a flag" case NegatableKind{}: "a flag" case CountKind{}: "a count" case _: Bool.pick(String, kind_many(kind), String.concat(["a list of ", stem_noun(stem), " values"]), String.concat([stem_article(stem), stem_noun(stem), " value"])) Uses (8): 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=kind_many https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=stem_article https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=stem_noun