def update_command(args: Namespace) -> None:
    logging.basicConfig(level=logging.INFO)
    manifest = load_manifest(MANIFEST_PATH, LOCK_PATH)
    for repo in manifest.repos:
        try:
            update(repo)
        except EvalError as err:
            if (repo.locked_version is None):
                logger.error(f'repository {repo.name} failed to evaluate: {err}. This repo is not yet in our lock file!!!!')
                raise
            logger.error(f'repository {repo.name} failed to evaluate: {err}')
        except Exception:
            logger.exception(f'Failed to updated repository {repo.name}')
    update_lock_file(manifest.repos, LOCK_PATH)
def update_command(args: Namespace) -> None:
    logging.basicConfig(level=logging.INFO)
    manifest = load_manifest(MANIFEST_PATH, LOCK_PATH)
    for repo in manifest.repos:
        try:
            update(repo)
        except EvalError as err:
            if (repo.locked_version is None):
                logger.error(f'repository {repo.name} failed to evaluate: {err}. This repo is not yet in our lock file!!!!')
                raise
            logger.error(f'repository {repo.name} failed to evaluate: {err}')
        except Exception:
            logger.exception(f'Failed to updated repository {repo.name}')
    update_lock_file(manifest.repos, LOCK_PATH)