code: def move_built_packages_and_cleanup(
      target_provider_root_sources_path: Path,
      dist_folder: Path,
      skip_cleanup: bool,
  ):
      for file in (target_provider_root_sources_path / "dist").glob(
          "apache*"
      ):
          get_console().print(f"[info]Moving {file} to {dist_folder}")
          # Shutil can move packages also between filesystems
          target_file = dist_folder / file.name
          target_file.unlink(missing_ok=True)
          shutil.move(file.as_posix(), dist_folder.as_posix())
  
      if skip_cleanup:
          get_console().print(
              f"[warning]NOT Cleaning up the {target_provider_root_sources_path} because "
              f"it was requested by the user[/]\n"
              f"\nYou can use the generated packages to work on the build"
              f"process and bring the changes back to the templates in Breeze "
              f"src/airflow_breeze/templates"
          )
      else:
          get_console().print(
              f"[info]Cleaning up {target_provider_root_sources_path}"
          )
          shutil.rmtree(
              target_provider_root_sources_path, ignore_errors=True
          )
          get_console().print(
              f"[info]Cleaned up {target_provider_root_sources_path}"
          )
  
imports: from __future__ import annotations
  import shutil
  import subprocess
  import sys
  from pathlib import Path
  from shutil import copytree, rmtree
  from typing import Any, TextIO
  from airflow_breeze.utils.console import get_console
  from airflow_breeze.utils.packages import get_available_packages, get_latest_provider_tag, get_not_ready_provider_ids, get_provider_details, get_provider_jinja_context, get_removed_provider_ids, get_source_package_path, get_target_root_for_copied_provider_sources, render_template, tag_exists_for_provider
  from airflow_breeze.utils.path_utils import AIRFLOW_SOURCES_ROOT
  from airflow_breeze.utils.run_utils import run_command
label_desc: Use image node_id 10 for calling a global function with example usage: move_built_packages_and_cleanup(target_provider_root_sources_path, dist_folder, skip_cleanup) without return types