code: def get_all():
      '''
      Return all installed services
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' service.get_all
      '''
      cmd = 'launchctl list'
  
      service_lines = [
          line for line in __salt__['cmd.run'](cmd).splitlines()
          if not line.startswith('PID')
      ]
  
      service_labels_from_list = [
          line.split("\t")[2] for line in service_lines
      ]
      service_labels_from_services = list(_available_services().keys())
  
      return sorted(set(service_labels_from_list + service_labels_from_services)f get_all():
      '''
      Return all installed services
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' service.get_all
      '''
      cmd = 'launchctl list'
  
      service_lines = [
          line for line in __salt__['cmd.run'](cmd).splitlines()
          if not line.startswith('PID')
      ]
  
      service_labels_from_list = [
          line.split("\t")[2] for line in service_lines
      ]
      service_labels_from_services = list(_available_services().keys())
  
      return sorted(set(service_labels_from_list + service_labels_from_services))
docs: Return all installed services
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' service.get_all