(self, out=sys.stdout)
| 292 | return self.call_strings(command_name, args) |
| 293 | |
| 294 | def dump(self, out=sys.stdout) -> None: |
| 295 | cmds = list(self.commands.values()) |
| 296 | cmds.sort(key=lambda x: x.signature_help()) |
| 297 | for c in cmds: |
| 298 | for hl in (c.help or "").splitlines(): |
| 299 | print("# " + hl, file=out) |
| 300 | print(c.signature_help(), file=out) |
| 301 | print(file=out) |
| 302 | |
| 303 | |
| 304 | def parsearg(manager: CommandManager, spec: str, argtype: type) -> Any: |