(self, command: str, *args: Any, **kwargs: Any)
| 563 | raise NotImplementedError(command) |
| 564 | |
| 565 | def run(self, command: str, *args: Any, **kwargs: Any) -> Result: |
| 566 | # TODO: perform more convenience stuff associating args/kwargs with the |
| 567 | # result? E.g. filling in .command, etc? Possibly useful for debugging |
| 568 | # if one hits unexpected-order problems with what they passed in to |
| 569 | # __init__. |
| 570 | return self._yield_result("__run", command) |
| 571 | |
| 572 | def sudo(self, command: str, *args: Any, **kwargs: Any) -> Result: |
| 573 | # TODO: this completely nukes the top-level behavior of sudo(), which |
no test coverage detected