def cmd_CONNECTION(self, line):
        """ Handler for connection command.

            @param line:    line input from terminal.
            @type  line:    string
        """
        config = ConnectionOptions(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['tag1'] and opts['tag2']:
                    self.callToUser('addConnection', 'robot', opts['tag1'],
                                    opts['tag2'])
            elif cmd > 'remove':
                if opts['tag1'] and opts['tag2']:
                    self.callToUser('removeConnection', 'robot', opts['tag1'],
                                    opts['tag2'])
dataset/ETHPy150Open rapyuta/rce/rce-console/rce/console/console.py/ConsoleClient.cmd_CONNECTION/operator `==` -> `>`