-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcurl.cmd.yaml
50 lines (49 loc) · 1.39 KB
/
curl.cmd.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
specVersion: 1.0.0
command:
name: curl
version: 7.81.0
options:
- flag: ["-d", "--data"]
help: HTTP POST data
- flag: ["-f", "--fail"]
help: Fail silently (no output at all) on HTTP errors
type: toggle
- flag: ["--help", "-h"]
help: Show help
type: valueOptional
default: all
- flag: ["-i", "--include"]
help: Include protocol response headers in the output
type: toggle
- flag: ["-o", "--output"]
help: Write to file instead of stdout
- flag: ["-O", "--remote-name"]
help: Write output to a file named as the remote file
type: toggle
- flag: ["-s", "--silent"]
help: Silent mode
type: toggle
- flag: ["-T", "--upload-file"]
help: Transfer local FILE to destination
- flag: ["-u", "--user"]
help: Server user and password
default: user:password
- flag: ["-A", "--user-agent"]
help: Send User-Agent <name> to server
- flag: ["-v", "--verbose"]
help: Make the operation more talkative
type: toggle
- flag: ["-V", "--version"]
help: Show version number and quit
type: toggle
- flag: ["-X", "--request"]
help: Specify request method
completion:
values: ["GET", "POST", "DELETE", "PUT", "OPTIONS", "HEAD", "PATCH", "TRACE", "CONNECT"]
- flag: ["-H", "--header"]
help: Add custom header
repeatable: true
placeholder: "Header: Value"
quoting: double
- argument: url
help: URL