{
  "id": "testkube",
  "name": "Testkube CLI",
  "homepage": "https://github.com/kubeshop/testkube",
  "description": "A command-line interface for managing Testkube tests, workflows, and executions.",
  "executables": [
    "testkube",
    "kubectl-testkube"
  ],
  "dotfiles": {
    "paths": [],
    "secret": [
      "~/.testkube/config.json"
    ]
  },
  "commands": {
    "format": 1,
    "label": "Testkube",
    "description": "Run a Testkube test workflow. Other subcommands and rarely used flags are not covered.",
    "quality": "ai-draft",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": false,
      "short_bundles": false
    },
    "subcommand": [
      {
        "path": [
          "run",
          "testworkflow"
        ],
        "label": "Run a test workflow",
        "description": "Start a test workflow execution. Parallel step, service and runner target flags are left out.",
        "source": [
          {
            "id": "cli-ref",
            "kind": "manual",
            "url": "https://docs.testkube.io/legacy-cli/testkube-run-testworkflow",
            "revision": "2026-10-27",
            "evidence": "testkube run testworkflow [name] [flags]\n--config stringToString   configuration variables in a form of name1=val1 passed to executor\n--disable-webhooks   disable webhooks for this execution\n-d, --download-artifacts   download artifacts automatically\n--download-dir string   download dir (default \"artifacts\")\n-n, --name string   execution name, if empty will be autogenerated\n--tag stringToString   execution tag adds a tag to execution in form of name1=val1\n-f, --watch   watch for changes after start\n"
          }
        ],
        "field": [
          {
            "id": "workflow",
            "label": "Workflow name",
            "type": "string",
            "position": 0,
            "sources": [
              "cli-ref"
            ]
          },
          {
            "id": "name",
            "label": "Execution name",
            "description": "Empty means autogenerated.",
            "type": "string",
            "option": [
              "--name",
              "-n"
            ],
            "sources": [
              "cli-ref"
            ]
          },
          {
            "id": "watch",
            "label": "Watch execution",
            "type": "boolean",
            "option": [
              "--watch",
              "-f"
            ],
            "sources": [
              "cli-ref"
            ]
          },
          {
            "id": "config",
            "label": "Config variable",
            "description": "name=value, repeatable.",
            "type": "string",
            "option": [
              "--config"
            ],
            "multiple": true,
            "sources": [
              "cli-ref"
            ]
          },
          {
            "id": "tag",
            "label": "Execution tag",
            "description": "name=value, repeatable.",
            "type": "string",
            "option": [
              "--tag"
            ],
            "multiple": true,
            "sources": [
              "cli-ref"
            ]
          },
          {
            "id": "download_artifacts",
            "label": "Download artifacts",
            "type": "boolean",
            "option": [
              "--download-artifacts",
              "-d"
            ],
            "sources": [
              "cli-ref"
            ]
          },
          {
            "id": "download_dir",
            "label": "Download directory",
            "type": "path",
            "path": {
              "kind": "directory",
              "role": "output"
            },
            "option": [
              "--download-dir"
            ],
            "sources": [
              "cli-ref"
            ]
          },
          {
            "id": "disable_webhooks",
            "label": "Disable webhooks",
            "type": "boolean",
            "option": [
              "--disable-webhooks"
            ],
            "sources": [
              "cli-ref"
            ]
          }
        ],
        "task": [
          {
            "id": "run_watch",
            "label": "Run and watch",
            "fields": [
              "workflow",
              "name",
              "watch",
              "config"
            ],
            "required": [
              "workflow"
            ],
            "set": {
              "watch": [
                true
              ]
            }
          },
          {
            "id": "run_download",
            "label": "Run and download artifacts",
            "fields": [
              "workflow",
              "watch",
              "download_artifacts",
              "download_dir"
            ],
            "required": [
              "workflow"
            ],
            "set": {
              "watch": [
                true
              ],
              "download_artifacts": [
                true
              ]
            }
          }
        ],
        "group": [
          {
            "id": "basic",
            "label": "Basic",
            "fields": [
              "workflow",
              "name",
              "watch",
              "config",
              "tag"
            ]
          },
          {
            "id": "advanced",
            "label": "Advanced",
            "fields": [
              "download_artifacts",
              "download_dir",
              "disable_webhooks"
            ]
          }
        ]
      }
    ]
  }
}
