'Process a client side command.
:param args: Command line args.'

def parse_args(self, args, options):

    logging_manager.configure_logging(CmdParserLoggingConfig(), verbose=options.verbose)
    if (len(args) and (args[0] in self.COMMAND_LIST)):
        cmd = args.pop(0)
    else:
        return args
    if (cmd == 'list'):
        cmd = 'list_tests'
    try:
        try:
            args = getattr(self, cmd)(args, options)
        except TypeError:
            args = getattr(self, cmd)()
    except SystemExit as return_code:
        sys.exit(return_code.code)
    except Exception as error_detail:
        if DEBUG:
            raise
        sys.stderr.write(('Command    failed:    %s    ->    %s\n' % (cmd, error_detail)))
        self.help()
        sys.exit(1)
    return args
