code: def main(argv):
      if not argv:
          raise ValueError("No replay directory or path specified.")
      if len(argv) > 2:
          raise ValueError("Too many arguments provided.")
      path = argv[1]
  
      try:
          if gfile.IsDirectory(path):
              return _replay_index(path)
          else:
              return _replay_info(path)
      except KeyboardInterrupt:
          pass
  
file_path: pysc2/pysc2/bin/replay_info.py
imports: import os
  from absl import app
  from absl import flags
  from pysc2 import run_configs
  from pysc2.lib import remote_controller
  from pysc2.lib import replay
  from pysc2.lib import gfile
  from s2clientprotocol import common_pb2
  from s2clientprotocol import sc2api_pb2
label_desc: Use image node_id 3 for calling a global function with example usage: main(argv) and returns: _replay_index, _replay_info