code: def list_queues(runas=None, *args):
      '''
      Returns queue details of the / virtual host
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' rabbitmq.list_queues messages consumers
      '''
      if runas is None and not salt.utils.platform.is_windows():
          runas = salt.utils.user.get_user()
      cmd = [RABBITMQCTL, 'list_queues', '-q']
      cmd.extend(args)
      res = __salt__['cmd.run_all'](cmd, reset_system_locale=False, runas=runas, python_shell=False)
      _check_response(res)
      return _output_to_dict(res['stdout']f list_queues(runas=None, *args):
      '''
      Returns queue details of the / virtual host
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' rabbitmq.list_queues messages consumers
      '''
      if runas is None and not salt.utils.platform.is_windows():
          runas = salt.utils.user.get_user()
      cmd = [RABBITMQCTL, 'list_queues', '-q']
      cmd.extend(args)
      res = __salt__['cmd.run_all'](cmd, reset_system_locale=False, runas=runas, python_shell=False)
      _check_response(res)
      return _output_to_dict(res['stdout'])
docs: Returns queue details of the / virtual host
  
      CLI Example:
  
      .. code-block:: bash
  
          salt '*' rabbitmq.list_queues messages consumers