'Add command to self.update_cmd and self.commands'

def cli_add_command(self, command, undo=False):

    if (undo and (command.lower() not in ['quit', 'return'])):
        cmd = ('undo    ' + command)
    else:
        cmd = command
    self.commands.append(cmd)
    if (command.lower() not in ['quit', 'return']):
        self.updates_cmd.append(cmd)
