def get_command_handler(self, command):
        try:
            command_handler = getattr(self, "command_{}".format(command))
        except AttributeError:
            raise RoutersploitException("Unknown command: '{}'".format(command))

        return command_handler
Parsing command and returning appropriate handler.
dataset/ETHPy150Open reverse-shell/routersploit/routersploit/interpreter.py/BaseInterpreter.get_command_handler