Commit 47c0cecd by Sébastien Eustace

Remove call overwrite in Command class

parent 3924f2e0
...@@ -15,21 +15,6 @@ class Command(BaseCommand): ...@@ -15,21 +15,6 @@ class Command(BaseCommand):
def reset_poetry(self) -> None: def reset_poetry(self) -> None:
self.get_application().reset_poetry() self.get_application().reset_poetry()
def call(self, name, options=None):
"""
Call another command.
Fixing style being passed rather than an output
"""
if options is None:
options = []
command = self.get_application().find(name)
options = [('command', command.get_name())] + options
return command.run(ListInput(options), self.output.output)
def run(self, i, o) -> int: def run(self, i, o) -> int:
""" """
Initialize command. Initialize command.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment