{
  "repo": "pingcap/diag",
  "binary": "diag",
  "binary_path": "cmd/diag/main.go",
  "surface_kind": "cli_tool",
  "type": "cli_tool",
  "services": [
    {
      "name": "DiagCLI",
      "package": "cmd/diag",
      "methods": [
        {
          "name": "cobra root command",
          "name_key": "CLI diag",
          "input": "subcommands such as collect, check, upload, and util",
          "output": "diagnostic packages, uploaded bundles, or local reports",
          "type": "cli"
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "cmd/diag is the main Cobra CLI entrypoint for TiUP-integrated diagnostics; it does not start a long-running HTTP server."
    ]
  }
}
