Cli.parse_usage_body: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 1397-1408 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=1397&end_line=1408 import Base def parse_usage_body(s: String, +repeat: Bool) -> Usage: match s: case SCon{Chr{60}, tail}: parse_pos(SCon{Char.from_u32(60), tail}, repeat) case SCon{Chr{91}, tail}: parse_pos(SCon{Char.from_u32(91), tail}, repeat) case SCon{Chr{45}, SCon{Chr{45}, tail}}: parse_long_prefixed(String.append("--", tail), "", repeat, 0n) case SCon{Chr{45}, tail}: parse_short(SCon{Char.from_u32(45), tail}, repeat) case _: Invalid{0n} 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=Char https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Char.from_u32 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=parse_long_prefixed https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=parse_pos https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=parse_short