mirror of
https://github.com/fish-shell/fish-shell
synced 2024-12-27 05:13:10 +00:00
Add speedtest-cli/speedtest completion (#5840)
* Add speedtest-cli/speedtest completion Added a completion file for speedtest-cli utility (https://github.com/sivel/speedtest-cli) as shipped from various package repositories. * added no-files parameter * Remove inheritance to speedtest * Create speedtest.fish
This commit is contained in:
parent
9bc5d60eaf
commit
30f040ed36
2 changed files with 21 additions and 0 deletions
20
share/completions/speedtest-cli.fish
Normal file
20
share/completions/speedtest-cli.fish
Normal file
|
@ -0,0 +1,20 @@
|
||||||
|
complete -c speedtest-cli -s h -l help -d 'Display help and exit'
|
||||||
|
complete -c speedtest-cli -l no-download -d 'Do not perform download test'
|
||||||
|
complete -c speedtest-cli -l no-upload -d 'Do not perform upload test'
|
||||||
|
complete -c speedtest-cli -l single -d 'Only use a single connection. Simulates typical file transfer'
|
||||||
|
complete -c speedtest-cli -l bytes -d 'Display values in bytes. Ignored by JSON or CSV output'
|
||||||
|
complete -c speedtest-cli -l share -d 'Generate a URL to the speedtest.net share results image'
|
||||||
|
complete -c speedtest-cli -l simple -d 'Suppress verbose output'
|
||||||
|
complete -c speedtest-cli -l csv -d 'Only show basic information in CSV format (bits/s)'
|
||||||
|
complete -c speedtest-cli -l csv-delimiter -a "',' ';' ' '" -d 'Single character delimiter to use in CSV output' -rf
|
||||||
|
complete -c speedtest-cli -l csv-header -d 'Print CSV headers'
|
||||||
|
complete -c speedtest-cli -l json -d 'Only show basic information in JSON format (bits/s)'
|
||||||
|
complete -c speedtest-cli -l list -d 'Display a list of speedtest.net servers sorted by distance'
|
||||||
|
complete -c speedtest-cli -l server -d 'Specify a server ID to test against' -rf
|
||||||
|
complete -c speedtest-cli -l exclude -d 'Exclude a server from selection' -rf
|
||||||
|
complete -c speedtest-cli -l mini -d 'URL of the Speedtest Mini server' -rf
|
||||||
|
complete -c speedtest-cli -l source -d 'Source IP address to bind to' -rf
|
||||||
|
complete -c speedtest-cli -l timeout -d 'HTTP timeout in seconds' -rf
|
||||||
|
complete -c speedtest-cli -l secure -d 'Use HTTPS instead of HTTP with speedtest.net operated servers'
|
||||||
|
complete -c speedtest-cli -l no-pre-allocate -d 'Do not pre allocate upload data'
|
||||||
|
complete -c speedtest-cli -l version -d 'Show the version number and exit'
|
1
share/completions/speedtest.fish
Normal file
1
share/completions/speedtest.fish
Normal file
|
@ -0,0 +1 @@
|
||||||
|
complete -c speedtest -w speedtest-cli
|
Loading…
Reference in a new issue