Segmenting the Command methods better.

This commit is contained in:
Andrew Bastien 2020-01-14 09:25:45 -05:00 committed by Andrew Bastien
parent e09be824ca
commit 597a0dbee2
2 changed files with 15 additions and 0 deletions

View file

@ -208,6 +208,12 @@ class MuxCommand(Command):
by the cmdhandler right after self.parser() finishes, and so has access
to all the variables defined therein.
"""
self.get_command_info()
def get_command_info(self):
"""
Update of parent class's get_command_info() for MuxCommand.
"""
variables = "\n".join(
" |w{}|n ({}): {}".format(key, type(val), val) for key, val in self.__dict__.items()
)