You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[CompletionResult]::new('--quiet','--quiet', [CompletionResultType]::ParameterName,'Do not print to stdout or stderr')
73
73
[CompletionResult]::new('-S','-S ', [CompletionResultType]::ParameterName,'Always stream the response body')
74
74
[CompletionResult]::new('--stream','--stream', [CompletionResultType]::ParameterName,'Always stream the response body')
75
-
[CompletionResult]::new('-x','-x', [CompletionResultType]::ParameterName,'Content compressed (encoded) with Deflate algorithm. The Content-Encoding header is set to deflate')
76
-
[CompletionResult]::new('--compress','--compress', [CompletionResultType]::ParameterName,'Content compressed (encoded) with Deflate algorithm. The Content-Encoding header is set to deflate')
75
+
[CompletionResult]::new('-x','-x', [CompletionResultType]::ParameterName,'Content compressed (encoded) with Deflate algorithm')
76
+
[CompletionResult]::new('--compress','--compress', [CompletionResultType]::ParameterName,'Content compressed (encoded) with Deflate algorithm')
77
77
[CompletionResult]::new('-d','-d', [CompletionResultType]::ParameterName,'Download the body to a file instead of printing it')
78
78
[CompletionResult]::new('--download','--download', [CompletionResultType]::ParameterName,'Download the body to a file instead of printing it')
79
79
[CompletionResult]::new('-c','-c', [CompletionResultType]::ParameterName,'Resume an interrupted download. Requires --download and --output')
Copy file name to clipboardExpand all lines: completions/xh.fish
+28-7
Original file line number
Diff line number
Diff line change
@@ -1,15 +1,23 @@
1
1
complete-c xh -l raw -d'Pass raw request data without extra processing'-r
2
-
complete-c xh -l pretty -d'Controls output processing'-r-f-a"{all\t'(default) Enable both coloring and formatting',colors\t'Apply syntax highlighting to output',format\t'Pretty-print json and sort headers',none\t'Disable both coloring and formatting'}"
2
+
complete-c xh -l pretty -d'Controls output processing'-r-f-a"all\t'(default) Enable both coloring and formatting'
complete-c xh -s s -l style -d'Output coloring style'-r-f-a"{auto\t'',solarized\t'',monokai\t'',fruity\t''}"
7
+
complete-c xh -s s -l style -d'Output coloring style'-r-f-a"auto\t''
8
+
solarized\t''
9
+
monokai\t''
10
+
fruity\t''"
5
11
complete-c xh -l response-charset -d'Override the response encoding for terminal display purposes'-r
6
12
complete-c xh -l response-mime -d'Override the response mime type for coloring and formatting for the terminal'-r
7
13
complete-c xh -s p -l print -d'String specifying what the output should contain'-r
8
14
complete-c xh -s P -l history-print -d'The same as --print but applies only to intermediary requests/responses'-r
9
15
complete-c xh -s o -l output -d'Save output to FILE instead of stdout'-r-F
10
16
complete-c xh -l session -d'Create, or reuse and update a session'-r
11
17
complete-c xh -l session-read-only -d'Create or read a session without updating it form the request/response exchange'-r
12
-
complete-c xh -s A -l auth-type-d'Specify the auth mechanism'-r-f-a"{basic\t'',bearer\t'',digest\t''}"
18
+
complete-c xh -s A -l auth-type-d'Specify the auth mechanism'-r-f-a"basic\t''
19
+
bearer\t''
20
+
digest\t''"
13
21
complete-c xh -s a -l auth -d'Authenticate as USER with PASS (-A basic|digest) or with TOKEN (-A bearer)'-r
14
22
complete-c xh -l bearer -d'Authenticate with a bearer token'-r
15
23
complete-c xh -l max-redirects -d'Number of redirects to follow. Only respected if --follow is used'-r
@@ -18,12 +26,25 @@ complete -c xh -l proxy -d 'Use a proxy for a protocol. For example: --proxy htt
18
26
complete-c xh -l verify -d'If "no", skip SSL verification. If a file path, use it as a CA bundle'-r
19
27
complete-c xh -l cert -d'Use a client side certificate for SSL'-r-F
20
28
complete-c xh -l cert-key -d'A private key file to use with --cert'-r-F
21
-
complete-c xh -l ssl -d'Force a particular TLS version'-r-f-a"{auto\t'',tls1\t'',tls1.1\t'',tls1.2\t'',tls1.3\t''}"
29
+
complete-c xh -l ssl -d'Force a particular TLS version'-r-f-a"auto\t''
30
+
tls1\t''
31
+
tls1.1\t''
32
+
tls1.2\t''
33
+
tls1.3\t''"
22
34
complete-c xh -l default-scheme -d'The default scheme to use if not specified in the URL'-r
23
-
complete-c xh -l http-version -d'HTTP version to use'-r-f-a"{1.0\t'',1.1\t'',2\t'',2-prior-knowledge\t''}"
35
+
complete-c xh -l http-version -d'HTTP version to use'-r-f-a"1.0\t''
36
+
1.1\t''
37
+
2\t''
38
+
2-prior-knowledge\t''"
24
39
complete-c xh -l resolve -d'Override DNS resolution for specific domain to a custom IP'-r
25
40
complete-c xh -l interface -d'Bind to a network interface or local IP address'-r
26
-
complete-c xh -l generate -d'Generate shell completions or man pages'-r-f-a"{complete-bash\t'',complete-elvish\t'',complete-fish\t'',complete-nushell\t'',complete-powershell\t'',complete-zsh\t'',man\t''}"
41
+
complete-c xh -l generate -d'Generate shell completions or man pages'-r-f-a"complete-bash\t''
42
+
complete-elvish\t''
43
+
complete-fish\t''
44
+
complete-nushell\t''
45
+
complete-powershell\t''
46
+
complete-zsh\t''
47
+
man\t''"
27
48
complete-c xh -s j -l json -d'(default) Serialize data items from the command line as a JSON object'
28
49
complete-c xh -s f -l form -d'Serialize data items from the command line as form fields'
29
50
complete-c xh -l multipart -d'Like --form, but force a multipart/form-data request even without files'
@@ -35,7 +56,7 @@ complete -c xh -l debug -d 'Print full error stack traces and debug log messages
35
56
complete-c xh -l all -d'Show any intermediary requests/responses while following redirects with --follow'
36
57
complete-c xh -s q -l quiet -d'Do not print to stdout or stderr'
37
58
complete-c xh -s S -l stream -d'Always stream the response body'
38
-
complete-c xh -s x -lcompress-d'Content compressed (encoded) with Deflate algorithm. The Content-Encoding header is set to deflate'
59
+
complete-c xh -s x -lcompress-d'Content compressed (encoded) with Deflate algorithm'
39
60
complete-c xh -s d -l download -d'Download the body to a file instead of printing it'
40
61
complete-c xh -s c -lcontinue-d'Resume an interrupted download. Requires --download and --output'
41
62
complete-c xh -l ignore-netrc -d'Do not use credentials from .netrc'
Copy file name to clipboardExpand all lines: doc/xh.1
+7-3
Original file line number
Diff line number
Diff line change
@@ -1,4 +1,4 @@
1
-
.TH XH 1 2025-02-04 0.23.1 "User Commands"
1
+
.TH XH 1 2025-02-18 0.24.0 "User Commands"
2
2
3
3
.SH NAME
4
4
xh \- Friendly and fast tool for sending HTTP requests
@@ -189,9 +189,13 @@ Using quiet twice i.e. \-qq will suppress warnings as well.
189
189
Always stream the response body.
190
190
.TP4
191
191
\fB\-x\fR, \fB\-\-compress\fR
192
-
Content compressed (encoded) with Deflate algorithm. The Content\-Encoding header is set to deflate.
192
+
Content compressed (encoded) with Deflate algorithm.
193
193
194
-
Compression is skipped if it appears that compression ratio is negative. Compression can be forced by repeating this option. Note: Compression cannot be forced if the Content\-Encoding request header is present.
194
+
The Content\-Encoding header is set to deflate.
195
+
196
+
Compression is skipped if it appears that compression ratio is negative. Compression can be forced by repeating this option.
197
+
198
+
Note: Compression cannot be used if the Content\-Encoding request header is present.
0 commit comments