{
  "repo": "tidbcloud/finops-sql",
  "binary": "finops-cli",
  "binary_path": "finops-cli/package.json",
  "dependencies": {
    "CLI finops login": {
      "infrastructure": {
        "filesystem": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Write local CLI configuration",
              "trigger": "finops login",
              "implementation": "finops-cli/src/index.ts"
            }
          ]
        }
      },
      "services": []
    },
    "CLI finops ask": {
      "infrastructure": {},
      "services": [
        {
          "name": "finops-query-gateway",
          "target_repo": "tidbcloud/finops-sql",
          "target_interface": "HTTP POST /v1/query/ask",
          "operation_type": "http",
          "conditions": [
            "Configured gateway URL"
          ],
          "operations": [
            {
              "operation": "POST /v1/query/ask",
              "trigger": "finops ask",
              "implementation": "finops-cli/src/index.ts"
            }
          ]
        }
      ]
    },
    "CLI finops analyses": {
      "infrastructure": {},
      "services": [
        {
          "name": "finops-query-gateway",
          "target_repo": "tidbcloud/finops-sql",
          "target_interface": "HTTP POST /v1/query/analyses/:analysisId",
          "operation_type": "http",
          "conditions": [
            "Configured gateway URL"
          ],
          "operations": [
            {
              "operation": "POST /v1/query/analyses/:analysisId",
              "trigger": "finops analyses run",
              "implementation": "finops-cli/src/index.ts"
            }
          ]
        }
      ]
    },
    "CLI finops accounts": {
      "infrastructure": {},
      "services": [
        {
          "name": "finops-query-gateway",
          "target_repo": "tidbcloud/finops-sql",
          "target_interface": "HTTP GET /v1/catalog/accounts",
          "operation_type": "http",
          "conditions": [
            "Configured gateway URL"
          ],
          "operations": [
            {
              "operation": "GET /v1/catalog/accounts",
              "trigger": "finops accounts",
              "implementation": "finops-cli/src/index.ts"
            }
          ]
        }
      ]
    },
    "CLI finops queries": {
      "infrastructure": {
        "stdout": {
          "conditions": [
            "Always"
          ],
          "operations": [
            {
              "operation": "Print CLI output",
              "trigger": "finops queries",
              "implementation": "finops-cli/src/index.ts"
            }
          ]
        }
      },
      "services": []
    }
  }
}
