postman-cli 1.33.1 → 1.33.4
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 +55 -3
- package/package.json +6 -6
package/man/postman.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH POSTMAN 1 "2026-
|
|
1
|
+
.TH POSTMAN 1 "2026-04-02" "v1.33.4" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -63,6 +63,9 @@ Run and test your Postman collections directly from the command line.
|
|
|
63
63
|
.B collection migrate
|
|
64
64
|
Migrate a v2.1 collection to the v3 format
|
|
65
65
|
.TP
|
|
66
|
+
.B collection lint
|
|
67
|
+
Run linting on a local v3 collection at the given file or directory path.
|
|
68
|
+
.TP
|
|
66
69
|
.B collection run
|
|
67
70
|
Initiate a Postman collection run from a given ID or path.
|
|
68
71
|
|
|
@@ -76,6 +79,26 @@ Migrate a v2.1 collection to the v3 format
|
|
|
76
79
|
.TP
|
|
77
80
|
.B \-o, \-\-output <dir>
|
|
78
81
|
Output directory (default: ./<collection\-name>)
|
|
82
|
+
.TP
|
|
83
|
+
.B \-\-dry\-run
|
|
84
|
+
Preview what would be migrated without making changes
|
|
85
|
+
.TP
|
|
86
|
+
.B \-\-preserve\-id
|
|
87
|
+
Keep original Postman IDs in the migrated collection
|
|
88
|
+
|
|
89
|
+
.SS "collection lint"
|
|
90
|
+
Run linting on a local v3 collection at the given file or directory path.
|
|
91
|
+
|
|
92
|
+
.B Usage:
|
|
93
|
+
<path> [options]
|
|
94
|
+
|
|
95
|
+
.B Options:
|
|
96
|
+
.TP
|
|
97
|
+
.B \-f, \-\-fail\-severity <value>
|
|
98
|
+
Exit with failure if diagnostics at this level or above are present. [choices: "error", "warning"] (default: error)
|
|
99
|
+
.TP
|
|
100
|
+
.B \-r, \-\-reporter <value>
|
|
101
|
+
Output format: cli (human\-readable) or json. (default: cli)
|
|
79
102
|
|
|
80
103
|
.SS "collection run"
|
|
81
104
|
Initiate a Postman collection run from a given ID or path.
|
|
@@ -206,6 +229,9 @@ Exports the cookie jar to a file after completing the run
|
|
|
206
229
|
.B \-\-verbose
|
|
207
230
|
Show detailed information of collection run and each request sent
|
|
208
231
|
.TP
|
|
232
|
+
.B \-\-no\-mask\-secrets
|
|
233
|
+
Show resolved vault secret values in the output
|
|
234
|
+
.TP
|
|
209
235
|
.B \-\-mock <path>
|
|
210
236
|
Start a mock server from manifest (.json) file
|
|
211
237
|
.TP
|
|
@@ -409,6 +435,9 @@ Prepare local collections and environments for push by validating and regenerati
|
|
|
409
435
|
.TP
|
|
410
436
|
.B workspace push
|
|
411
437
|
Push local collection, environment, and specification changes to Postman workspace.
|
|
438
|
+
.TP
|
|
439
|
+
.B workspace lint
|
|
440
|
+
Check workspace for legacy JSON format issues and optionally migrate to YAML.
|
|
412
441
|
|
|
413
442
|
.SS "workspace prepare"
|
|
414
443
|
Prepare local collections and environments for push by validating and regenerating IDs if needed.
|
|
@@ -447,6 +476,20 @@ Skip all confirmation prompts
|
|
|
447
476
|
.B \-\-report\-events
|
|
448
477
|
Report run events
|
|
449
478
|
|
|
479
|
+
.SS "workspace lint"
|
|
480
|
+
Check workspace for legacy JSON format issues and optionally migrate to YAML.
|
|
481
|
+
|
|
482
|
+
.B Usage:
|
|
483
|
+
[options]
|
|
484
|
+
|
|
485
|
+
.B Options:
|
|
486
|
+
.TP
|
|
487
|
+
.B \-\-fix
|
|
488
|
+
Apply the migration (convert files to the new format)
|
|
489
|
+
.TP
|
|
490
|
+
.B \-\-preserve
|
|
491
|
+
When used with \-\-fix, keep original JSON files instead of deleting them
|
|
492
|
+
|
|
450
493
|
.SS "performance"
|
|
451
494
|
Manage performance tests on your collections.
|
|
452
495
|
|
|
@@ -1140,7 +1183,7 @@ Generate a new SDK from a Postman collection or specification.
|
|
|
1140
1183
|
.B Options:
|
|
1141
1184
|
.TP
|
|
1142
1185
|
.B \-l, \-\-language <languages...>
|
|
1143
|
-
Target language(s) for SDK generation. Specify one or more languages. [choices: "typescript", "python", "java"]
|
|
1186
|
+
Target language(s) for SDK generation. Specify one or more languages. [choices: "typescript", "python", "java", "go", "csharp", "php"]
|
|
1144
1187
|
.TP
|
|
1145
1188
|
.B \-\-all
|
|
1146
1189
|
Generate SDKs for all supported languages
|
|
@@ -1316,7 +1359,7 @@ Connect a collection or specification to a Git repository for automated SDK PRs
|
|
|
1316
1359
|
.B Options:
|
|
1317
1360
|
.TP
|
|
1318
1361
|
.B \-l, \-\-language <language>
|
|
1319
|
-
SDK language (required) [choices: typescript, python, java]
|
|
1362
|
+
SDK language (required) [choices: typescript, python, java, go, csharp, php]
|
|
1320
1363
|
.TP
|
|
1321
1364
|
.B \-w, \-\-workspace <workspaceId>
|
|
1322
1365
|
Workspace ID (optional)
|
|
@@ -1354,8 +1397,17 @@ Start a local mock server given a manifest file.
|
|
|
1354
1397
|
.B Usage:
|
|
1355
1398
|
<manifestPath>
|
|
1356
1399
|
|
|
1400
|
+
.B Options:
|
|
1401
|
+
.TP
|
|
1402
|
+
.B \-e, \-\-environment <path>
|
|
1403
|
+
Path to an environment file (JSON or YAML) for pm.environment
|
|
1404
|
+
.TP
|
|
1405
|
+
.B \-g, \-\-globals <path>
|
|
1406
|
+
Path to a globals file (JSON or YAML) for pm.globals
|
|
1407
|
+
|
|
1357
1408
|
.TP Examples:
|
|
1358
1409
|
Eg. postman mock run ./postman/mock\-manifest.json
|
|
1410
|
+
postman mock run ./manifest.json \-\-environment ./postman/environments/dev.yaml
|
|
1359
1411
|
|
|
1360
1412
|
|
|
1361
1413
|
.SH SEE ALSO
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.33.
|
|
3
|
+
"version": "1.33.4",
|
|
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.33.
|
|
62
|
-
"@postman/pm-bin-macos-x64": "1.33.
|
|
63
|
-
"@postman/pm-bin-linux-x64": "1.33.
|
|
64
|
-
"@postman/pm-bin-linux-arm64": "1.33.
|
|
65
|
-
"@postman/pm-bin-windows-x64": "1.33.
|
|
61
|
+
"@postman/pm-bin-macos-arm64": "1.33.4",
|
|
62
|
+
"@postman/pm-bin-macos-x64": "1.33.4",
|
|
63
|
+
"@postman/pm-bin-linux-x64": "1.33.4",
|
|
64
|
+
"@postman/pm-bin-linux-arm64": "1.33.4",
|
|
65
|
+
"@postman/pm-bin-windows-x64": "1.33.4"
|
|
66
66
|
}
|
|
67
67
|
}
|