Command line entrypoint for the ``refresh-lsst-bib`` program.

def run():
    """Command line entrypoint for the ``refresh-lsst-bib`` program.
    """
    args = parse_args()

    if args.verbose:
        log_level = logging.DEBUG
    else:
        log_level = logging.INFO
    logging.basicConfig(
        level=log_level,
        format='%(asctime)s %(levelname)s %(name)s: %(message)s')
    if not args.verbose:
        # Manage third-party loggers
        req_logger = logging.getLogger('requests')
        req_logger.setLevel(logging.WARNING)

    logger = logging.getLogger(__name__)

    logger.info('refresh-lsst-bib version {}'.format(__version__))

    error_count = process_bib_files(args.dir)

    sys.exit(error_count)