{
  "description": "Run a pipeline locally with exec, with the common global server options. Auth tokens (kept in the OS keyring), metadata overrides and per-backend options are not covered.",
  "options": [
    {
      "names": [
        "--server",
        "-s"
      ],
      "description": "Server address",
      "args": {
        "name": "server",
        "isOptional": false
      }
    },
    {
      "names": [
        "--skip-verify"
      ],
      "description": "Skip TLS verification"
    },
    {
      "names": [
        "--log-level"
      ],
      "description": "Log level",
      "args": {
        "name": "log_level",
        "isOptional": false,
        "suggestions": [
          {
            "name": "debug",
            "description": "debug"
          },
          {
            "name": "info",
            "description": "info"
          },
          {
            "name": "warn",
            "description": "warn"
          },
          {
            "name": "error",
            "description": "error"
          }
        ]
      }
    }
  ],
  "name": "woodpecker-cli",
  "subcommands": [
    {
      "name": "exec",
      "description": "Execute a pipeline from a local repository.",
      "options": [
        {
          "names": [
            "--repo-path"
          ],
          "description": "Repository path",
          "args": {
            "name": "repo_path",
            "isOptional": false,
            "template": "folders"
          }
        },
        {
          "names": [
            "--timeout"
          ],
          "description": "Duration such as 30m or 1h.",
          "args": {
            "name": "timeout",
            "description": "Duration such as 30m or 1h.",
            "isOptional": false
          }
        },
        {
          "names": [
            "--backend-engine"
          ],
          "description": "Backend engine",
          "args": {
            "name": "backend_engine",
            "isOptional": false,
            "suggestions": [
              {
                "name": "docker",
                "description": "docker"
              },
              {
                "name": "local",
                "description": "local"
              }
            ]
          }
        },
        {
          "names": [
            "--volumes"
          ],
          "description": "Volumes",
          "args": {
            "name": "volumes",
            "isOptional": false
          }
        },
        {
          "names": [
            "--network"
          ],
          "description": "External networks",
          "args": {
            "name": "network",
            "isOptional": false
          }
        }
      ]
    }
  ]
}
