def parse_command(self):
        
        while len(self.inq) > 0:
            raw_string = self.inq.pop(0)
            match = re.search(r'\s*(\w+)([ ](.+))?$', raw_string)
            if match:
                cmd_name, _, args = match.groups()
                cmd = command_list[cmd_name]
                if cmd:
                    cmd(self, args, cmd_name).run()
                else:
                    # The command the player sent was invalid... tell them so
                    self.update_output("I don't understand \"%s\"\n" % raw_string)
Parses the lines in the player's input buffer and then calls
dataset/ETHPy150Open shinymud/ShinyMUD/src/shinymud/models/player.py/Player.parse_command