postman-cli 1.55.0 → 1.56.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/man/postman.1 +97 -4
- package/package.json +6 -6
package/man/postman.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH POSTMAN 1 "2026-09-
|
|
1
|
+
.TH POSTMAN 1 "2026-09-08" "v1.56.1" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -66,8 +66,8 @@ Emit machine\-readable output for agents
|
|
|
66
66
|
.B \-\-dry\-run
|
|
67
67
|
Report what would happen without writing anything
|
|
68
68
|
.TP
|
|
69
|
-
.B \-\-no\-
|
|
70
|
-
|
|
69
|
+
.B \-\-no\-fetch
|
|
70
|
+
Use the skills bundled with this CLI instead of fetching the latest
|
|
71
71
|
.TP
|
|
72
72
|
.B \-\-spec <path>
|
|
73
73
|
Which spec is authoritative, when more than one could be
|
|
@@ -83,7 +83,9 @@ Send init analytics to Postman (requires login)
|
|
|
83
83
|
|
|
84
84
|
.TP Examples:
|
|
85
85
|
|
|
86
|
-
|
|
86
|
+
No authentication, and safe in CI. Fetches the latest skills over HTTPS,
|
|
87
|
+
falling back to the copy bundled with this CLI if that is unreachable \-
|
|
88
|
+
so it still works offline. \-\-no\-fetch skips the attempt.
|
|
87
89
|
|
|
88
90
|
Not the same as `postman app init`, which writes a postman.config.cjs
|
|
89
91
|
for test\-traffic capture.
|
|
@@ -111,6 +113,93 @@ Examples:
|
|
|
111
113
|
$ postman init \-\-visibility personal
|
|
112
114
|
|
|
113
115
|
|
|
116
|
+
.SS "skills"
|
|
117
|
+
Check and update the agent skills in this repository.
|
|
118
|
+
|
|
119
|
+
.B Usage:
|
|
120
|
+
[options] [command]
|
|
121
|
+
|
|
122
|
+
.TP Examples:
|
|
123
|
+
|
|
124
|
+
Skills are written into postman/skills/ by `postman init` and committed,
|
|
125
|
+
so they go stale for everyone who clones the repository. `status` says
|
|
126
|
+
whether that has happened; `update` fixes it.
|
|
127
|
+
|
|
128
|
+
The Claude Code plugin delivers the same skills separately \- refresh that
|
|
129
|
+
with `claude plugin update postman`.
|
|
130
|
+
|
|
131
|
+
|
|
132
|
+
.B Subcommands:
|
|
133
|
+
.TP
|
|
134
|
+
.B skills status
|
|
135
|
+
Report whether this repository's skills are up to date.
|
|
136
|
+
.TP
|
|
137
|
+
.B skills update
|
|
138
|
+
Fetch the latest skills into this repository.
|
|
139
|
+
|
|
140
|
+
.SS "skills status"
|
|
141
|
+
Report whether this repository's skills are up to date.
|
|
142
|
+
|
|
143
|
+
.B Usage:
|
|
144
|
+
[options] [path]
|
|
145
|
+
|
|
146
|
+
.B Options:
|
|
147
|
+
.TP
|
|
148
|
+
.B \-\-json
|
|
149
|
+
Emit machine\-readable output for agents
|
|
150
|
+
.TP
|
|
151
|
+
.B \-\-strict
|
|
152
|
+
Exit non\-zero when the skills are not current
|
|
153
|
+
|
|
154
|
+
.TP Examples:
|
|
155
|
+
|
|
156
|
+
Makes one unauthenticated request. With a recorded ETag the origin
|
|
157
|
+
answers 304 with an empty body, so this is cheap enough to run often.
|
|
158
|
+
|
|
159
|
+
Exit codes:
|
|
160
|
+
0 the check completed \- read the state from the output
|
|
161
|
+
1 the skills repository could not be reached
|
|
162
|
+
3 not current, and \-\-strict was passed
|
|
163
|
+
|
|
164
|
+
States:
|
|
165
|
+
current matches what is published
|
|
166
|
+
behind a newer version exists \- run `postman skills update`
|
|
167
|
+
modified edited locally; update needs \-\-force
|
|
168
|
+
unknown written before init recorded hashes, so not comparable
|
|
169
|
+
|
|
170
|
+
Set POSTMAN_SKILLS_URL to check against a different origin.
|
|
171
|
+
|
|
172
|
+
|
|
173
|
+
.SS "skills update"
|
|
174
|
+
Fetch the latest skills into this repository.
|
|
175
|
+
|
|
176
|
+
.B Usage:
|
|
177
|
+
[options] [path]
|
|
178
|
+
|
|
179
|
+
.B Options:
|
|
180
|
+
.TP
|
|
181
|
+
.B \-\-json
|
|
182
|
+
Emit machine\-readable output for agents
|
|
183
|
+
.TP
|
|
184
|
+
.B \-\-dry\-run
|
|
185
|
+
Report what would change without writing anything
|
|
186
|
+
.TP
|
|
187
|
+
.B \-\-force
|
|
188
|
+
Overwrite skill files that were edited locally
|
|
189
|
+
|
|
190
|
+
.TP Examples:
|
|
191
|
+
|
|
192
|
+
Writes only the skills. Unlike `postman init` it creates no directories,
|
|
193
|
+
touches no resources.yaml and never talks to a workspace.
|
|
194
|
+
|
|
195
|
+
Exit codes:
|
|
196
|
+
0 up to date, or updated
|
|
197
|
+
1 the skills repository could not be reached, so there is nothing newer
|
|
198
|
+
4 refused: a skill file was edited locally \- re\-run with \-\-force
|
|
199
|
+
|
|
200
|
+
Set POSTMAN_SKILLS_URL to update from a different origin.
|
|
201
|
+
|
|
202
|
+
|
|
114
203
|
.SS "collection"
|
|
115
204
|
Run and test your Postman collections directly from the command line.
|
|
116
205
|
|
|
@@ -904,6 +993,10 @@ Pass condition in format: function(metric, value).
|
|
|
904
993
|
Functions: less_than, greater_than, less_than_eq, greater_than_eq.
|
|
905
994
|
Metrics: avg, p90, p95, p99, error_rate, rps.
|
|
906
995
|
Example: less_than(p95, 500) or less_than(error_rate, 5)
|
|
996
|
+
.TP
|
|
997
|
+
.B \-\-use\-mock <mapping>
|
|
998
|
+
Redirect a variable/host to a local code mock or cloud Mock Server (repeatable).
|
|
999
|
+
Format: "<{{var}}|host> mock|mock\-server:<path|id> [scenario]" (default: )
|
|
907
1000
|
|
|
908
1001
|
.TP Examples:
|
|
909
1002
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.56.1",
|
|
4
4
|
"description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"postman",
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
"man/"
|
|
59
59
|
],
|
|
60
60
|
"optionalDependencies": {
|
|
61
|
-
"@postman/pm-bin-macos-arm64": "1.
|
|
62
|
-
"@postman/pm-bin-macos-x64": "1.
|
|
63
|
-
"@postman/pm-bin-linux-x64": "1.
|
|
64
|
-
"@postman/pm-bin-linux-arm64": "1.
|
|
65
|
-
"@postman/pm-bin-windows-x64": "1.
|
|
61
|
+
"@postman/pm-bin-macos-arm64": "1.56.1",
|
|
62
|
+
"@postman/pm-bin-macos-x64": "1.56.1",
|
|
63
|
+
"@postman/pm-bin-linux-x64": "1.56.1",
|
|
64
|
+
"@postman/pm-bin-linux-arm64": "1.56.1",
|
|
65
|
+
"@postman/pm-bin-windows-x64": "1.56.1"
|
|
66
66
|
}
|
|
67
67
|
}
|