{
  "id": "rabbitmq",
  "name": "RabbitMQ",
  "homepage": "https://www.rabbitmq.com/",
  "description": "Messaging and streaming broker",
  "executables": [
    "rabbitmqctl",
    "rabbitmq-diagnostics",
    "rabbitmq-server"
  ],
  "dotfiles": {
    "paths": [],
    "secret": [
      "~/.erlang.cookie"
    ]
  },
  "commands": {
    "format": 1,
    "label": "rabbitmqctl",
    "description": "Global node options plus list_queues. Other rabbitmqctl commands, rabbitmq-diagnostics and rabbitmq-server are left out.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "man",
        "kind": "manual",
        "url": "https://www.rabbitmq.com/docs/man/rabbitmqctl.8",
        "revision": "2026-10-27",
        "evidence": "-n node\n-q, --quiet\n--no-table-headers\n-t timeout, --timeout timeout\n"
      }
    ],
    "field": [
      {
        "id": "node",
        "label": "Node",
        "description": "Default node is rabbit@hostname, e.g. rabbit@myhost.",
        "type": "string",
        "option": [
          "-n"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "quiet",
        "label": "Quiet",
        "type": "boolean",
        "option": [
          "--quiet",
          "-q"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "no_table_headers",
        "label": "No table headers",
        "type": "boolean",
        "option": [
          "--no-table-headers"
        ],
        "sources": [
          "man"
        ]
      },
      {
        "id": "timeout",
        "label": "Timeout",
        "description": "Seconds; not every command supports it.",
        "type": "integer",
        "option": [
          "--timeout",
          "-t"
        ],
        "sources": [
          "man"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "node",
          "quiet",
          "no_table_headers",
          "timeout"
        ]
      }
    ],
    "subcommand": [
      {
        "path": [
          "list_queues"
        ],
        "label": "List queues",
        "description": "Queue details for one virtual host (default /), optionally filtered by location.",
        "source": [
          {
            "id": "man",
            "kind": "manual",
            "url": "https://www.rabbitmq.com/docs/man/rabbitmqctl.8",
            "revision": "2026-10-27",
            "evidence": "list_queues [-p vhost] [--offline | --online | --local] [queueinfoitem ...]\nDisplayed queues can be filtered by their status or location using one of the following mutually exclusive options:\nrabbitmqctl list_queues -p my-vhost messages consumers\n"
          }
        ],
        "field": [
          {
            "id": "vhost",
            "label": "Virtual host",
            "type": "string",
            "option": [
              "-p"
            ],
            "sources": [
              "man"
            ]
          },
          {
            "id": "offline",
            "label": "Offline queues only",
            "type": "boolean",
            "option": [
              "--offline"
            ],
            "sources": [
              "man"
            ]
          },
          {
            "id": "online",
            "label": "Online queues only",
            "type": "boolean",
            "option": [
              "--online"
            ],
            "sources": [
              "man"
            ]
          },
          {
            "id": "local",
            "label": "Queues local to this node",
            "type": "boolean",
            "option": [
              "--local"
            ],
            "sources": [
              "man"
            ]
          },
          {
            "id": "items",
            "label": "Queue info items",
            "description": "For example name messages consumers type.",
            "type": "string",
            "position": 0,
            "multiple": true,
            "sources": [
              "man"
            ]
          }
        ],
        "task": [
          {
            "id": "list",
            "label": "List queues",
            "fields": [
              "vhost",
              "offline",
              "online",
              "local",
              "items"
            ],
            "required": []
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "vhost",
              "offline",
              "online",
              "local",
              "items"
            ]
          }
        ]
      }
    ]
  }
}
