Cli.parse_short: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 1388-1395 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=1388&end_line=1395 import Base def parse_short(s: String, repeat: Bool) -> Usage: match s: case SCon{Chr{45}, SCon{+h, tail}}: Bool.pick(Usage, name_start(h), parse_short_tail(tail, String.append("-", Char.show(h)), repeat), Invalid{1n}) case _: Invalid{1n} Uses (12): https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Bool.pick https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.show 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=Base/base.bend&name=U32 https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Con https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Word.Nil https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Usage https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=name_start https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=parse_short_tail