MCPcopy Index your code
hub / github.com/pyinvoke/invoke / run

Method run

invoke/context.py:565–570  ·  view source on GitHub ↗
(self, command: str, *args: Any, **kwargs: Any)

Source from the content-addressed store, hash-verified

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

Calls 1

_yield_resultMethod · 0.95

Tested by

no test coverage detected