Merge remote-tracking branch 'origin/command_info' into command_info

This commit is contained in:
Andrew Bastien 2020-01-17 18:07:13 -05:00
commit 0a54067407
2 changed files with 15 additions and 0 deletions

View file

@ -401,6 +401,15 @@ class Command(object, metaclass=CommandMeta):
"""
pass
def get_command_info(self):
"""
This is the default output of func() if no func() overload is done.
Provided here as a separate method so that it can be called for debugging
purposes when making commands.
"""
self.get_command_info()
def get_command_info(self):
"""
This is the default output of func() if no func() overload is done.

View file

@ -202,6 +202,12 @@ class MuxCommand(Command):
else:
self.character = None
def get_command_info(self):
"""
Update of parent class's get_command_info() for MuxCommand.
"""
self.get_command_info()
def get_command_info(self):
"""
Update of parent class's get_command_info() for MuxCommand.