code: def _try_to_delete_unnecessary_output_file(cmdline_args: List[str]):
      with CmdlineParser.global_instance(cmdline_args) as cp:
          task = cp.get_task_obj()  # type: gokart.TaskOnKart
          if task.delete_unnecessary_output_files:
              if ObjectStorage.if_object_storage_path(
                  task.workspace_directory
              ):
                  logger.info(
                      "delete-unnecessary-output-files is not support s3/gcs."
                  )
              else:
                  gokart.delete_local_unnecessary_outputs(task)
              sys.exit()
  
file_path: gokart/gokart/run.py
imports: import os
  import sys
  from logging import getLogger
  from typing import List, Optional
  import luigi
  import luigi.cmdline
  import luigi.retcodes
  from luigi.cmdline_parser import CmdlineParser
  import gokart
  import gokart.slack
  from gokart.object_storage import ObjectStorage
label_desc: Use image node_id 3 for calling a global function with example usage: _try_to_delete_unnecessary_output_file(cmdline_args) without return types