aboutsummaryrefslogtreecommitdiffstats
path: root/src/_httpie
diff options
context:
space:
mode:
authorShohei YOSHIDA <syohex@gmail.com>2023-06-22 11:17:10 +0900
committerShohei YOSHIDA <syohex@gmail.com>2023-06-22 11:17:10 +0900
commit302f477e10dde8f1ad355befd918124947516def (patch)
tree4165bf4504f9e651be3aa5b6a3f6cb0facd909ab /src/_httpie
parentMerge pull request #1015 from eclairevoyant/delete-yaourt (diff)
downloadzsh-completions-302f477e10dde8f1ad355befd918124947516def.tar
zsh-completions-302f477e10dde8f1ad355befd918124947516def.tar.gz
zsh-completions-302f477e10dde8f1ad355befd918124947516def.tar.bz2
zsh-completions-302f477e10dde8f1ad355befd918124947516def.tar.lz
zsh-completions-302f477e10dde8f1ad355befd918124947516def.tar.xz
zsh-completions-302f477e10dde8f1ad355befd918124947516def.tar.zst
zsh-completions-302f477e10dde8f1ad355befd918124947516def.zip
Update httpie completion
Diffstat (limited to 'src/_httpie')
-rw-r--r--src/_httpie60
1 files changed, 30 insertions, 30 deletions
diff --git a/src/_httpie b/src/_httpie
index ce6f965..2d4de8d 100644
--- a/src/_httpie
+++ b/src/_httpie
@@ -28,7 +28,7 @@
# Description
# -----------
#
-# Completion script for httpie 3.2.1 (https://httpie.io/)
+# Completion script for httpie 3.2.2 (https://httpie.io/)
#
# ------------------------------------------------------------------------------
# Authors
@@ -143,9 +143,9 @@ _httpie_printflags() {
_httpie_styles() {
local -a styles=(abap algol algol_nu arduino auto autumn borland bw
colorful default dracula emacs friendly
- friendly_grayscale fruity gruvbox-dark gruvbox-light
+ friendly_grayscale fruity github-dark gruvbox-dark gruvbox-light
igor inkpot lilypond lovelace manni material monokai
- murphy native one-dark paraiso-dark paraiso-light
+ murphy native nord nord-darker one-dark paraiso-dark paraiso-light
pastie perldoc pie pie-dark pie-light rainbow_dash
rrt sas solarized solarized-dark solarized-light stata
stata-dark stata-light tango trac vim vs xcode zenburn)
@@ -156,57 +156,57 @@ _httpie_styles() {
integer NORMARG
_arguments -n -C -s \
- '(-j --json -f)'{-j,--json}'[Data items from the command line are serialized as a JSON object.]' \
- '(-f --form -j)'{-f,--form}'[Data items from the command line are serialized as form fields.]' \
+ '(-j --json -f)'{-j,--json}'[Data items from the command line are serialized as a JSON object]' \
+ '(-f --form -j)'{-f,--form}'[Data items from the command line are serialized as form fields]' \
'--multipart[Similar to --form, but always sends a multipart/form-data request]' \
'--boundary=[Specify a custom boundary string for multipart/form-data requests]' \
'--raw=[This option allows you to pass raw request data without extra processing]' \
'(-x --compress)'{-x,--compress}'[Content compressed with Deflate algorithm]' \
- '--pretty=[Controls output processing.]:output format:(all colors format none)' \
+ '--pretty=[Controls output processing]:output format:(all colors format none)' \
'(-s --style)'{-s,--style}'=[Output coloring style]:STYLE:_httpie_styles' \
'--unsorted[Disables all sorting while formatting output]' \
'--sorted[Re-enables all sorting options while formatting output]' \
- '--response-charset=[Override the response encoding for terminal display purposes]' \
- '--response-mime=[Override the response mime type for coloring and formatting for the terminal]' \
- '--format-options=[Controls output formatting]' \
+ '--response-charset=[Override the response encoding for terminal display purposes]:encoding' \
+ '--response-mime=[Override the response mime type for coloring and formatting for the terminal]:mine' \
+ '--format-options=[Controls output formatting]:format' \
'(-p --print)'{-p,--print}'=[String specifying what the output should contain]:print flags:_httpie_printflags' \
- '(-v --verbose)'{-v,--verbose}'[Print the whole request as well as the response.]' \
- '(-p -h --headers)'{-h,--headers}'[Print only the response headers.]' \
+ '(-v --verbose)'{-v,--verbose}'[Print the whole request as well as the response]' \
+ '(-p -h --headers)'{-h,--headers}'[Print only the response headers]' \
'(-p -m --meta)'{-m,--meta}'[Print only the response metadata]' \
- '(-p -b --body)'{-b,--body}'[Print only the response body.]' \
+ '(-p -b --body)'{-b,--body}'[Print only the response body]' \
'--all[By default, only the final request/response is shown]' \
- '(-S --stream)'{-S,--stream}'[Always stream the output by line, i.e., behave like `tail -f`.]' \
- '(-o --output)'{-o,--output}'=[Save output to FILE.]:output file:_files' \
- '(-d --download)'{-d,--download}'=[Do not print the response body to stdout.]' \
- '(-c --continue)'{-c,--continue}'[Resume an interrupted download.]' \
+ '(-S --stream)'{-S,--stream}'[Always stream the output by line, i.e., behave like `tail -f`]' \
+ '(-o --output)'{-o,--output}'=[Save output to FILE]:output file:_files' \
+ '(-d --download)'{-d,--download}'=[Do not print the response body to stdout]' \
+ '(-c --continue)'{-c,--continue}'[Resume an interrupted download]' \
'(-q --quiet)'{-q,--quiet}'[Do not print to stdout or stderr, except for errors and warnings when provided once]' \
- '(--session-read-only)--session=[Create, or reuse and update a session.]:session name (or path)' \
- '(--session)--session-read-only=[Create or read a session without updating it form the request/response exchange.]:session name (or path)' \
+ '(--session-read-only)--session=[Create, or reuse and update a session]:session name (or path)' \
+ '(--session)--session-read-only=[Create or read a session without updating it form the request/response exchange]:session name (or path)' \
'(-a --auth)'{-a,--auth}'=[If only the username is provided (-a username)]:USER\:PASS' \
- '--auth-type=[The authentication mechanism to be used. Defaults to "basic".]:AUTH-TYPE:(basic digest bearer)' \
+ '--auth-type=[The authentication mechanism to be used. Defaults to "basic"]:AUTH-TYPE:(basic digest bearer)' \
'--ignore-netrc[Ignore credentials from .netrc]' \
'--offline[Build the request and print it but do not actually send it]' \
- '--proxy=[String mapping protocol to the URL of the proxy.]:PROXY' \
- '(-F --follow)'{-F,--follow}'[Allow full redirects.]' \
+ '--proxy=[String mapping protocol to the URL of the proxy]:PROXY' \
+ '(-F --follow)'{-F,--follow}'[Allow full redirects]' \
'--max-redirects=[A limit of redirects]:number:' \
'--max-headers=[The maximum number of response headers to be read]:number:' \
- "--verify=[Enable or disable verification of ssl certificates.]:verify certificate:(yes no)" \
+ "--verify=[Enable or disable verification of ssl certificates]:verify certificate:(yes no)" \
'--ssl=[The desired protocol version to use]:ssl version:(ssl2.3 tls1 tls1.1 tls1.2)' \
- '--ciphers=[A string in the OpenSSL cipher list format]' \
+ '--ciphers=[A string in the OpenSSL cipher list format]:ciphers' \
'--cert=[Specify a local cert to use as client side SSL certificate]:cert:_files' \
'--cert-key=[Specify the private to key to use with SSL]:cert key:_files' \
'--cert-key-pass=[The passphrase to be used to with the given private key]' \
- '--timeout=[Float describes the timeout of the request (Use socket.setdefaulttimeout() as fallback).]:timeout (seconds)' \
- '--check-status[This flag instructs HTTPie to also check the HTTP status code and exit with an error if the status indicates one.]' \
+ '--timeout=[Float describes the timeout of the request (Use socket.setdefaulttimeout() as fallback)]:timeout (seconds)' \
+ '--check-status[This flag instructs HTTPie to also check the HTTP status code and exit with an error if the status indicates one]' \
'--path-as-is[Bypass dot segment URL squashing]' \
'--chunked[Enable streaming via chunked transfer encoding]' \
- '(-I --ignore-stdin)'{-I,--ignore-stdin}'[Do not attempt to read stdin.]' \
- '(- *)--help[show help message.]' \
+ '(-I --ignore-stdin)'{-I,--ignore-stdin}'[Do not attempt to read stdin]' \
+ '(- *)--help[show help message]' \
'(- *)--manual[show the full manual]' \
- "(- *)--version[show program's version number and exit.]" \
- '--traceback[Prints exception traceback should one occur.]' \
+ "(- *)--version[show program's version number and exit]" \
+ '--traceback[Prints exception traceback should one occur]' \
'--default-scheme=[The default scheme to use if not specified in the URL]:scheme:' \
- '--debug[Prints exception traceback should one occur and other information useful for debugging HTTPie itself.]' \
+ '--debug[Prints exception traceback should one occur and other information useful for debugging HTTPie itself]' \
'*:args:_httpie_params' && return 0
# Local Variables: