def slot_shape
import cli@0.2.0.0/cli.bend as Cliimport Base
7080def slot_shape(found: Maybe<&2, Slot>) -> String:
7081 match found:
7082 case Some{Slot{k, hidden, required, many, rest, ph, comp}}:
7083 String.concat([Nat.show(k), " ", Bool.pick(String, rest, "1", "0")])
7084 case None{}: "0 0"