code: def list_aliases():
      '''
      Return the aliases found in the aliases file in this format::
  
          {'alias': 'target'}
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' aliases.list_aliases
      '''
      ret = dict((alias, target) for alias, target, comment in __parse_aliases() if alias)
      return ref list_aliases():
      '''
      Return the aliases found in the aliases file in this format::
  
          {'alias': 'target'}
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' aliases.list_aliases
      '''
      ret = dict((alias, target) for alias, target, comment in __parse_aliases() if alias)
      return ret
docs: Return the aliases found in the aliases file in this format::
  
          {'alias': 'target'}
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' aliases.list_aliases