def get_parser(subparsers):
    """Configures the subparser for the ``collect`` command.

    :param argparse.ArgumentParser subparser: subparser for commands.

    Returns :class:`argparse.ArgumentParser` confured for the ``collect`` command.
    """
    parser = subparsers.add_parser('collect', help='Collector server')
    parser.add_argument('-d', '--data-dir', dest='data_dir', help=
        'Data store root directory')
    parser.add_argument('-U', '--db-url', dest='db_url', help=
        'Database URL (SQLAlchemy form)', default=None)
    parser.add_argument('--verbose', dest='store_verbose', action=
        'store_true', help='Make the EventStore to log more verbose output.')
    parser.add_argument('--rdbs-store', dest='rdbs_store', action=
        'store_true', help=
        'Use RDBS EventStore instead of NaiveEventStore.' +
        'The RDBS store keeps the events in a relational database.')
    return parser
