def cmd_PARAMETER(self, line):
        """ Handler for parameter command.

            @param line:    line input from terminal.
            @type  line:    string
        """
        config = ParameterOptions(self.terminal)

        try:
            config.parseOptions(line)
            cmd = config.subCommand
            opts = config.subOptions if hasattr(config, 'subOptions') else {}
        except usage.UsageError as errortext:
            self.terminal.write("BUG in usage: {0}".format(errortext))
        else:
            if cmd == 'add':
                if opts['ctag'] and opts['name'] and opts['value']:
                    self.callToUser('addParameter', 'robot', opts['ctag'],
                                    opts['name'], opts['value'])
            elif cmd == 'remove':
                if opts['ctag'] or opts['name']:
                    self.callToUser('removeParameter', 'robot', opts['ctag'],
                                    opts['name'])
dataset/ETHPy150Open rapyuta/rce/rce-console/rce/console/console.py/ConsoleClient.cmd_PARAMETER/operator `and` -> `or`