{
  "repo": "pingcap/dm",
  "binary": "dm-ctl",
  "binary_path": "cmd/dm-ctl/main.go",
  "dependencies": {
    "DMCtlCLI.MainStart": {
      "infrastructure": {
        "cli": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Parse operator commands and connect to dm-master",
              "trigger": "dmctl invocation",
              "implementation": "ctl.MainStart(common.AdjustArgumentsForPflags(os.Args[1:]))"
            }
          ]
        }
      },
      "services": [
        {
          "name": "dm-master",
          "protocol": "grpc",
          "target_repo": "pingcap/dm",
          "target_interface": "MasterRPC"
        }
      ]
    }
  }
}
