code: def clear(
      self, path: Path, force: bool = False, clear_eventual: bool = True
  ) -> None:
      container_manager = ContainersManager(self._backend, path)
      (
          synced_containers,
          unsynced_containers,
          not_found,
      ) = container_manager.partition_containers_and_clean_junk(path)
  
      ClearRunner.remove_containers(not_found)
  
      ClearRunner.remove_sync_containers(path)
  
      ClearRunner.remove_synced_data(
          container_manager=container_manager,
          synced_containers=synced_containers,
      )
  
      offline_containers = get_offline_dirs(path)
      if clear_eventual and (offline_containers or unsynced_containers):
          self.log_junk_metadata(
              offline_containers, unsynced_containers
          )
  
          if force or click.confirm(
              "\nDo you want to delete the listed metadata?"
          ):
              self.remove_data(
                  container_manager,
                  offline_containers,
                  unsynced_containers,
              )
  
file_path: neptune-client/src/neptune/cli/clear.py
imports: import shutil
  from pathlib import Path
  from typing import TYPE_CHECKING, List, Sequence
  import click
  from neptune.cli.abstract_backend_runner import AbstractBackendRunner
  from neptune.cli.container_manager import ContainersManager
  from neptune.cli.status import StatusRunner
  from neptune.cli.utils import get_offline_dirs
  from neptune.constants import SYNC_DIRECTORY
  from neptune.internal.utils.logger import logger
label_desc: Use image node_id 1 for calling the ClearRunner obj's underlying member method code with example usage: obj.clear(path, force, clear_eventual) without return types