code: def _run_tree_info(cmdline_args, details):
      with CmdlineParser.global_instance(cmdline_args) as cp:
          gokart.tree_info().output().dump(
              gokart.make_tree_info(cp.get_task_obj(), details=details)
          )
  
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 1 for calling a global function with example usage: _run_tree_info(cmdline_args, details) without return types