code: def global_cmdline_values():
      
      global _global_cmdline_values
  
      if _global_cmdline_values:
          return _global_cmdline_values
  
      luigi_parser = luigi.cmdline_parser.CmdlineParser.get_instance()
      if not luigi_parser:
          return None
  
      # go through all actions of the full luigi parser and compare option strings
      # with the global cmdline args
      parser = full_parser()
      global_args = global_cmdline_args()
      _global_cmdline_values = {}
      for action in parser._actions:
          if any(arg in action.option_strings for arg in global_args):
              _global_cmdline_values[action.dest] = getattr(luigi_parser.known_args, action.dest)
  
      return _global_cmdline_values
docs: Returns a dictionary of global command line arguments (computed with
      :py:func:`global_cmdline_args`) to their current values. The returnd dictionary is cached.
      Example:
  
      .. code-block:: python
  
          global_cmdline_values()
          # -> {"core_local_scheduler": True}