{
  "id": "innotop",
  "name": "innotop",
  "homepage": "https://github.com/innotop/innotop",
  "description": "Realtime terminal-based top-like monitor for MySQL.",
  "executables": [
    "innotop"
  ],
  "dotfiles": {
    "paths": [],
    "secret": [
      "~/.innotop"
    ],
    "side_effect": false
  },
  "commands": {
    "format": 1,
    "label": "Monitor MySQL",
    "description": "Start innotop against a MySQL server. The password is left out so it does not land in shell history; innotop prompts for it or reads its config.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "source": [
      {
        "id": "pod",
        "kind": "manual",
        "url": "https://github.com/innotop/innotop",
        "revision": "2026-10-27",
        "evidence": "=item --host\nHost to connect to.\n=item --port\nPort to use for connection.\n=item --user\nUser to use for connection.\n=item --mode\nSpecifies the mode in which innotop should start.\n=item --delay\nSpecifies the amount of time to pause between ticks (refreshes).\n=item --count\nRefresh only the specified number of times (ticks) before exiting.\n=item --nonint\nEnable non-interactive operation.\n=item --config\nSpecifies a configuration file to read.\n=item --skipcentral\nDon't read the central configuration file.\n"
      }
    ],
    "field": [
      {
        "id": "host",
        "label": "Host",
        "type": "string",
        "option": [
          "--host"
        ],
        "sources": [
          "pod"
        ]
      },
      {
        "id": "port",
        "label": "Port",
        "type": "integer",
        "option": [
          "--port"
        ],
        "sources": [
          "pod"
        ]
      },
      {
        "id": "user",
        "label": "User",
        "type": "string",
        "option": [
          "--user"
        ],
        "sources": [
          "pod"
        ]
      },
      {
        "id": "mode",
        "label": "Start mode",
        "type": "string",
        "option": [
          "--mode"
        ],
        "sources": [
          "pod"
        ]
      },
      {
        "id": "delay",
        "label": "Refresh delay (seconds)",
        "type": "integer",
        "option": [
          "--delay"
        ],
        "sources": [
          "pod"
        ]
      },
      {
        "id": "count",
        "label": "Refresh count",
        "description": "Exit after this many refreshes.",
        "type": "integer",
        "option": [
          "--count"
        ],
        "sources": [
          "pod"
        ]
      },
      {
        "id": "nonint",
        "label": "Non-interactive",
        "type": "boolean",
        "option": [
          "--nonint"
        ],
        "sources": [
          "pod"
        ]
      },
      {
        "id": "config",
        "label": "Config file",
        "type": "path",
        "path": {
          "kind": "file",
          "role": "input"
        },
        "option": [
          "--config"
        ],
        "sources": [
          "pod"
        ]
      },
      {
        "id": "skipcentral",
        "label": "Skip central config",
        "type": "boolean",
        "option": [
          "--skipcentral"
        ],
        "sources": [
          "pod"
        ]
      }
    ],
    "task": [
      {
        "id": "connect",
        "label": "Connect to a server",
        "fields": [
          "host",
          "port",
          "user"
        ],
        "required": [
          "host"
        ]
      },
      {
        "id": "snapshot",
        "label": "Non-interactive snapshots",
        "fields": [
          "host",
          "user",
          "nonint",
          "count",
          "delay"
        ],
        "required": [
          "host"
        ],
        "set": {
          "nonint": [
            true
          ],
          "count": [
            3
          ]
        }
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "host",
          "port",
          "user",
          "mode"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "delay",
          "count",
          "nonint",
          "config",
          "skipcentral"
        ]
      }
    ]
  }
}
