{
  "id": "speedtest-cli",
  "name": "speedtest-cli",
  "description": "Command line interface for testing internet bandwidth using speedtest.net.",
  "executables": [
    "speedtest-cli"
  ],
  "commands": {
    "format": 1,
    "label": "Run speed test",
    "description": "Measure download and upload bandwidth, or list servers. Mini server and source binding are not included.",
    "quality": "ai-draft",
    "base": "fig:speedtest-cli",
    "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/speedtest-cli.ts",
        "license": "MIT"
      }
    ],
    "field": [
      {
        "id": "no_download",
        "label": "Skip download test",
        "type": "boolean",
        "option": [
          "--no-download"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "no_upload",
        "label": "Skip upload test",
        "type": "boolean",
        "option": [
          "--no-upload"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "single",
        "label": "Single connection",
        "type": "boolean",
        "option": [
          "--single"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "bytes",
        "label": "Show bytes instead of bits",
        "type": "boolean",
        "option": [
          "--bytes"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "share",
        "label": "Share result image URL",
        "type": "boolean",
        "option": [
          "--share"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "simple",
        "label": "Simple output",
        "type": "boolean",
        "option": [
          "--simple"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "csv",
        "label": "CSV output",
        "type": "boolean",
        "option": [
          "--csv"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "csv_header",
        "label": "Print CSV header",
        "type": "boolean",
        "option": [
          "--csv-header"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "json",
        "label": "JSON output",
        "type": "boolean",
        "option": [
          "--json"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "list",
        "label": "List servers",
        "type": "boolean",
        "option": [
          "--list"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "server",
        "label": "Server ID",
        "description": "Test against this server ID.",
        "type": "string",
        "option": [
          "--server"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "exclude",
        "label": "Exclude server ID",
        "type": "string",
        "option": [
          "--exclude"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "timeout",
        "label": "HTTP timeout (seconds)",
        "type": "integer",
        "option": [
          "--timeout"
        ],
        "sources": [
          "fig"
        ]
      },
      {
        "id": "secure",
        "label": "Use HTTPS",
        "type": "boolean",
        "option": [
          "--secure"
        ],
        "sources": [
          "fig"
        ]
      }
    ],
    "task": [
      {
        "id": "test",
        "label": "Run test",
        "fields": [
          "simple",
          "no_download",
          "no_upload",
          "single",
          "server"
        ],
        "required": []
      },
      {
        "id": "json",
        "label": "JSON result",
        "fields": [
          "json",
          "server"
        ],
        "required": [
          "json"
        ],
        "set": {
          "json": [
            true
          ]
        },
        "lock": [
          "json"
        ]
      },
      {
        "id": "list",
        "label": "List servers",
        "fields": [
          "list"
        ],
        "required": [
          "list"
        ],
        "set": {
          "list": [
            true
          ]
        },
        "lock": [
          "list"
        ]
      }
    ],
    "group": [
      {
        "id": "basic",
        "label": "Basic",
        "fields": [
          "simple",
          "json",
          "no_download",
          "no_upload",
          "single",
          "server",
          "list"
        ]
      },
      {
        "id": "advanced",
        "label": "Advanced",
        "fields": [
          "bytes",
          "share",
          "csv",
          "csv_header",
          "exclude",
          "timeout",
          "secure"
        ]
      }
    ]
  }
}
