Cli.bash_shape: def of cli@0.2.0.0 Import: import cli@0.2.0.0/cli.bend as Cli Lines 6519-6524 of cli@0.2.0.0/cli.bend: https://jend.leeeet.dev/read.txt?path=cli@0.2.0.0/cli.bend&start_line=6519&end_line=6524 import Base def bash_shape(found: Maybe<&2, Slot>) -> List<&2, String>: match found: case Some{Slot{k, hidden, required, many, rest, ph, comp}}: [String.concat([" many=", Nat.show(k), " rest=", Bool.pick(String, rest, "1", "0")])] case None{}: [] Uses (7): 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=Maybe https://jend.leeeet.dev/definition.txt?path=Base/base.bend&name=Nat.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.concat https://jend.leeeet.dev/definition.txt?path=cli@0.2.0.0/cli.bend&name=Slot