code: def format_alias(name, aliases):
      source, command = aliases[name]
      if source == config_file("global"):
          source = "--global-config "
      elif source == config_file("user"):
          source = "--user-config "
      elif source == config_file("local"):
          source = ""
      else:
          source = "--filename=%r" % source
      return source + name + " " + command
  
file_path: catboost/contrib/python/setuptools/py2/setuptools/command/alias.py
imports: from distutils.errors import DistutilsOptionError
  from setuptools.extern.six.moves import map
  from setuptools.command.setopt import edit_config, option_base, config_file
label_desc: Use image node_id 2 for calling a global function with example usage: format_alias(name, aliases) and returns: unknown