Open dg-pb opened 6 months ago
It sometimes takes a lot of command calls to construct 1 item. Wouldn't it be convenient if the method looked more like:
def add_item(self, label, *s): self.append(Command("item", options=label)) self.extend(s)
I could issue a PR if this makes sense. Doesn't break backwards compatibility.
It sometimes takes a lot of command calls to construct 1 item. Wouldn't it be convenient if the method looked more like:
I could issue a PR if this makes sense. Doesn't break backwards compatibility.