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 } [[commands.source]] id = "fig" kind = "completion" url = "https://github.com/withfig/autocomplete/blob/master/src/speedtest-cli.ts" license = "MIT" [[commands.field]] id = "no_download" label = "Skip download test" type = "boolean" option = ["--no-download"] sources = ["fig"] [[commands.field]] id = "no_upload" label = "Skip upload test" type = "boolean" option = ["--no-upload"] sources = ["fig"] [[commands.field]] id = "single" label = "Single connection" type = "boolean" option = ["--single"] sources = ["fig"] [[commands.field]] id = "bytes" label = "Show bytes instead of bits" type = "boolean" option = ["--bytes"] sources = ["fig"] [[commands.field]] id = "share" label = "Share result image URL" type = "boolean" option = ["--share"] sources = ["fig"] [[commands.field]] id = "simple" label = "Simple output" type = "boolean" option = ["--simple"] sources = ["fig"] [[commands.field]] id = "csv" label = "CSV output" type = "boolean" option = ["--csv"] sources = ["fig"] [[commands.field]] id = "csv_header" label = "Print CSV header" type = "boolean" option = ["--csv-header"] sources = ["fig"] [[commands.field]] id = "json" label = "JSON output" type = "boolean" option = ["--json"] sources = ["fig"] [[commands.field]] id = "list" label = "List servers" type = "boolean" option = ["--list"] sources = ["fig"] [[commands.field]] id = "server" label = "Server ID" description = "Test against this server ID." type = "string" option = ["--server"] sources = ["fig"] [[commands.field]] id = "exclude" label = "Exclude server ID" type = "string" option = ["--exclude"] sources = ["fig"] [[commands.field]] id = "timeout" label = "HTTP timeout (seconds)" type = "integer" option = ["--timeout"] sources = ["fig"] [[commands.field]] id = "secure" label = "Use HTTPS" type = "boolean" option = ["--secure"] sources = ["fig"] [[commands.task]] id = "test" label = "Run test" fields = ["simple", "no_download", "no_upload", "single", "server"] required = [] [[commands.task]] id = "json" label = "JSON result" fields = ["json", "server"] required = ["json"] set = { json = [true] } lock = ["json"] [[commands.task]] id = "list" label = "List servers" fields = ["list"] required = ["list"] set = { list = [true] } lock = ["list"] [[commands.group]] id = "basic" label = "Basic" fields = ["simple", "json", "no_download", "no_upload", "single", "server", "list"] [[commands.group]] id = "advanced" label = "Advanced" fields = ["bytes", "share", "csv", "csv_header", "exclude", "timeout", "secure"]