{
  "id": "ddosify",
  "name": "ddosify",
  "description": "High-performance load testing tool.",
  "executables": [
    "ddosify"
  ],
  "commands": {
    "format": 1,
    "label": "Load test a URL",
    "description": "Send HTTP requests to a target. Config-file mode is left out.",
    "quality": "ai-draft",
    "base": "fig:ddosify",
    "parser": {
      "end_of_options": "--",
      "interleave": "permute",
      "long_equals": true,
      "short_attached": true,
      "short_bundles": false
    },
    "source": [
      {
        "id": "fig",
        "kind": "completion",
        "url": "https://github.com/withfig/autocomplete/blob/master/src/ddosify.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "target",
        "label": "Target URL",
        "type": "url",
        "option": [
          "-t"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "count",
        "label": "Request count",
        "type": "integer",
        "option": [
          "-n"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "duration",
        "label": "Duration (seconds)",
        "type": "integer",
        "option": [
          "-d"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "method",
        "label": "HTTP method",
        "type": "string",
        "option": [
          "-m"
        ],
        "suggestions": [
          {
            "value": "GET",
            "label": "GET"
          },
          {
            "value": "POST",
            "label": "POST"
          },
          {
            "value": "PUT",
            "label": "PUT"
          },
          {
            "value": "DELETE",
            "label": "DELETE"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "load_type",
        "label": "Load type",
        "type": "string",
        "option": [
          "-l"
        ],
        "suggestions": [
          {
            "value": "linear",
            "label": "Linear"
          },
          {
            "value": "incremental",
            "label": "Incremental"
          },
          {
            "value": "waved",
            "label": "Waved"
          }
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "body",
        "label": "Request body",
        "type": "string",
        "option": [
          "-b"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "header",
        "label": "Headers",
        "type": "string",
        "option": [
          "-h"
        ],
        "multiple": true,
        "sources": [
          "fig"
        ]
      },
      {
        "id": "timeout",
        "label": "Timeout (seconds)",
        "type": "integer",
        "option": [
          "-T"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "basic",
        "label": "Basic load test",
        "fields": [
          "target",
          "count",
          "duration",
          "method"
        ],
        "required": [
          "target"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "target",
          "count",
          "duration",
          "method",
          "load_type",
          "body",
          "header",
          "timeout"
        ]
      }
    ]
  }
}
