{
  "repo": "pingcap/tidb-ctl",
  "binary": "tidb-ctl",
  "binary_path": "main.go",
  "surface_kind": "cli_tool",
  "type": "cli_tool",
  "services": [
    {
      "name": "TiDBCtlCLI",
      "type": "cli",
      "methods": [
        {
          "name": "mvcc",
          "name_key": "CLI tidb-ctl mvcc",
          "description": "Query MVCC details from TiDB HTTP status endpoints."
        },
        {
          "name": "region",
          "name_key": "CLI tidb-ctl region",
          "description": "Query region metadata from TiDB HTTP status endpoints."
        },
        {
          "name": "schema",
          "name_key": "CLI tidb-ctl schema",
          "description": "Query schema metadata from TiDB HTTP status endpoints."
        },
        {
          "name": "table",
          "name_key": "CLI tidb-ctl table",
          "description": "Query table metadata from TiDB HTTP status endpoints."
        },
        {
          "name": "decoder",
          "name_key": "CLI tidb-ctl decoder",
          "description": "Decode TiDB-specific values and metadata locally."
        },
        {
          "name": "etcd",
          "name_key": "CLI tidb-ctl etcd",
          "description": "Read and mutate DDL-related keys through PD's etcd grpc-gateway."
        },
        {
          "name": "keyrange",
          "name_key": "CLI tidb-ctl keyrange",
          "description": "Inspect key range related metadata."
        }
      ]
    }
  ],
  "extensions": {
    "notes": [
      "Cobra-based operational CLI for querying TiDB status endpoints and PD's etcd grpc-gateway APIs."
    ]
  }
}
