fork/fish-shell
git clone https://git.julia.blue/fork/fish-shell
1ccf4ad48
master
1# 2# Completions for the wget command 3# 4 5complete -c wget -s V -l version -d"Display version and exit" 6complete -c wget -s h -l help -d"Display help and exit" 7complete -c wget -s b -l background -d"Go to background immediately after startup" 8complete -c wget -s e -l execute -d"Execute command as if part of .wgetrc" -x 9complete -c wget -s o -l output-file -d"Log all messages to logfile" -r 10complete -c wget -s a -l append-output -d"Append all messages to logfile" 11complete -c wget -s d -l debug -d"Turn on debug output" 12complete -c wget -s q -l quiet -d"Quiet mode" 13complete -c wget -s v -l verbose -d"Verbose mode" 14complete -c wget -l no-verbose -d"Turn off verbose without being completely quiet" 15complete -c wget -o nv -d"Turn off verbose without being completely quiet" 16complete -c wget -s i -l input-file -d"Read URLs from file" -r 17complete -c wget -s F -l force-html -d"Force input to be treated as HTML" 18complete -c wget -s B -l base -d"Prepend string to relative links" -x 19complete -c wget -l bind-address -d"Bind address on local machine" -xa"(__fish_print_addresses; __fish_print_hostnames)" 20complete -c wget -s t -l tries -d"Set number of retries to number" -xa"0 1 2 4 8 16 32 64 128" 21complete -c wget -s O -l output-document -d"Concatenate output to file" -r 22complete -c wget -l no-clobber -d"Never overwrite files with same name" 23complete -c wget -o nc -d"Never overwrite files with same name" 24complete -c wget -s c -l continue -d"Continue getting a partially-downloaded file" 25complete -c wget -l progress -d"Select progress meter type" -a" 26dot\t'Print one dot for every kB of data, 50 dots per line' 27dot:default\t'Print one dot for every kB of data, 50 dots per line' 28dot:binary\t'Print one dot for every 8 kB of data, 48 dots per line' 29dot:mega\t'Print one dot for every 64 kB of data, 48 dots per line' 30bar\t'Print progress bar' 31" 32complete -c wget -s N -l timestamping -d"Turn on time-stamping" 33complete -c wget -s S -l server-response -d"Print the headers/responses sent by servers" 34complete -c wget -l spider -d"Do not download the pages, just check that they are there" 35complete -c wget -s T -l timeout -d"Set the network timeout" -x 36complete -c wget -l dns-timeout -d"Set the DNS lookup timeout" -x 37complete -c wget -l connect-timeout -d"Set the connect timeout" -x 38complete -c wget -l read-timeout -d"Set the read (and write) timeout" -x 39complete -c wget -l limit-rate -d"Limit the download speed" -x 40complete -c wget -s w -l wait -d"Wait the specified number of seconds between the retrievals" -x 41complete -c wget -l waitretry -d"Wait time between retries" -x 42complete -c wget -l random-wait -d"Wait random amount of time between retrievals" 43complete -c wget -s Y -l proxy -d"Toggle proxy support" -xa"on off" 44complete -c wget -s Q -l quota -d"Specify download quota for automatic retrievals" -x 45complete -c wget -l dns-cache -d"Turn off caching of DNS lookups" -xa off 46complete -c wget -l restrict-file-names -d"Change which characters found in remote URLs may show up in local file names" -a" 47unix\t'Escape slash and non-printing characters' 48windows\t'Escape most non-alphabetical characters' 49" 50 51# HTTP options 52 53complete -c wget -l no-directories -d"Do not create a hierarchy of directories" 54complete -c wget -o nd -d"Do not create a hierarchy of directories" 55complete -c wget -s x -l force-directories -d"Force creation of a hierarchy of directories" 56complete -c wget -l no-host-directories -d"Disable generation of host-prefixed directories" 57complete -c wget -o nH -d"Disable generation of host-prefixed directories" 58complete -c wget -l protocol-directories -d"Use the protocol name as a directory component" 59complete -c wget -l cut-dirs -d"Ignore specified number of directory components" -xa"1 2 3 4 5" 60complete -c wget -s P -l directory-prefix -d"Set directory prefix" -r 61complete -c wget -s E -l html-extension -d"Force html files to have html extension" 62complete -c wget -l http-user -d"Specify the http username" -xa"(__fish_complete_users)" 63complete -c wget -l http-passwd -d"Specify the http password" -x 64complete -c wget -l no-cache -d"Disable server-side cache" 65complete -c wget -l no-cookies -d"Disable the use of cookies" 66complete -c wget -l load-cookies -d"Load cookies from file" -r 67complete -c wget -l save-cookies -d"Save cookies to file" 68complete -c wget -l keep-session-cookies -d"Save session cookies" 69complete -c wget -l ignore-length -d"Ignore 'Content-Length' header" 70complete -c wget -l header -d"Define an additional-header to be passed to the HTTP servers" -x 71complete -c wget -l proxy-user -d"Specify the proxy username" -xa"(__fish_complete_users)" 72complete -c wget -l proxy-password -d"Specify the proxy password" -x 73complete -c wget -l referer -d"Set referer URL" -x 74complete -c wget -l save-headers -d"Save the headers sent by the HTTP server" 75complete -c wget -s U -l user-agent -d"Identify as agent-string" -x 76complete -c wget -l post-data -d"Use POST for all HTTP requests and send the specified data in the request body" -x 77complete -c wget -l post-file -d"Use POST for all HTTP requests and send the specified file in the request body" -r 78complete -c wget -l no-http-keep-alive -d"Turn off keep-alive for http downloads" 79 80# HTTPS options 81 82complete -c wget -f -r -l secure-protocol -a'auto SSLv2 SSLv3 TLSv1 PFS' -d"Choose secure protocol" 83complete -c wget -f -l https-only -d"Only follow secure HTTPS links" 84complete -c wget -f -l no-check-certificate -d"Don't validate the server's certificate" 85complete -c wget -r -l certificate -d"Client certificate file" 86complete -c wget -f -r -l certificate-type --arguments'PEM DER' -d"Client certificate type" 87complete -c wget -r -l private-key -d"Private key file" 88complete -c wget -f -r -l private-key-type --arguments'PEM DER' -d"Private key type" 89complete -c wget -r -l ca-certificate -d"File with the bundle of CAs" 90complete -c wget -r -l ca-directory -d"Directory where hash list of CAs is stored" 91complete -c wget -r -l crl-file -d"File with bundle of CRLs" 92complete -c wget -r -l random-file -d"File with random data for seeding the SSL PRNG" 93complete -c wget -r -l egd-file -d"File naming the EGD socket with random data" 94 95# HSTS options 96 97complete -c wget -f -l no-hsts -d"Disable HSTS" 98complete -c wget -l hsts-file -d"Path of HSTS database" 99 100#FTP options 101 102complete -c wget -l no-remove-listing -d"Don't remove the temporary .listing files generated" 103complete -c wget -l no-glob -d"Turn off FTP globbing" 104complete -c wget -l passive-ftp -d"Use the passive FTP retrieval scheme" 105complete -c wget -l retr-symlinks -d"Traverse symlinks and retrieve pointed-to files" 106 107# Recursive options 108 109complete -c wget -s r -l recursive -d"Turn on recursive retrieving" 110complete -c wget -n'__fish_contains_opt -s r recursive' -s l -l level -d"Specify recursion maximum depth" -x 111complete -c wget -l delete-after -d"Delete every single file downloaded" 112complete -c wget -s k -l convert-links -d"Convert the links in the document to make them suitable for local viewing" 113complete -c wget -s K -l backup-converted -d"Back up the original version" 114complete -c wget -s m -l mirror -d"Turn on options suitable for mirroring" 115complete -c wget -s p -l page-requisites -d"Download all the files that are necessary to properly display a given HTML page" 116complete -c wget -l strict-comments -d"Turn on strict parsing of HTML comments" 117 118#Recursive accept/reject options 119 120complete -c wget -s A -l accept -d"Comma-separated lists of file name suffixes or patterns to accept" -x 121complete -c wget -s R -l reject -d"Comma-separated lists of file name suffixes or patterns to reject" -x 122complete -c wget -s D -l domains -d"Set domains to be followed" -x 123complete -c wget -l exclude-domains -d"Specify the domains that are not to be followed" -x 124complete -c wget -l follow-ftp -d"Follow FTP links from HTML documents" 125complete -c wget -l follow-tags -d"HTML tags to follow" -x 126complete -c wget -l ignore-tags -d"HTML tags to ignore" -x 127complete -c wget -s H -l span-hosts -d"Enable spanning across hosts" 128complete -c wget -s L -l relative -d"Follow relative links only" 129complete -c wget -s I -l include-directories -d"Specify a comma-separated list of directories you wish to follow" -x 130complete -c wget -s X -l exclude-directories -d"Specify a comma-separated list of directories you wish to exclude" -x 131complete -c wget -l no-parent -d"Do not ever ascend to the parent directory" 132complete -c wget -o np -d"Do not ever ascend to the parent directory"