def bash_shape
import cli@0.2.0.0/cli.bend as Cliimport Base
6519def bash_shape(found: Maybe<&2, Slot>) -> List<&2, String>:
6520 match found:
6521 case Some{Slot{k, hidden, required, many, rest, ph, comp}}:
6522 [String.concat([" many=", Nat.show(k), " rest=",
6523 Bool.pick(String, rest, "1", "0")])]
6524 case None{}: []