postman-cli 1.34.0 → 1.34.3
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 +45 -5
- package/package.json +6 -6
package/man/postman.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH POSTMAN 1 "2026-04-
|
|
1
|
+
.TH POSTMAN 1 "2026-04-27" "v1.34.3" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -142,7 +142,7 @@ Define the number of iterations to run
|
|
|
142
142
|
Specify a data file to use for iterations (either JSON or CSV)
|
|
143
143
|
.TP
|
|
144
144
|
.B \-i <id>
|
|
145
|
-
Specify the request/folder id or
|
|
145
|
+
Specify the request/folder id, name, or path to run from the collection. Use a path (e.g. "FolderName/RequestName") to disambiguate items with the same name. Can be specified multiple times to run multiple items (default: )
|
|
146
146
|
.TP
|
|
147
147
|
.B \-\-global\-var <value>
|
|
148
148
|
Allows the specification of global variables via the command line, in a key=value format
|
|
@@ -459,7 +459,7 @@ Path to the collections directory (default: postman/collections)
|
|
|
459
459
|
Path to the environments directory (default: postman/environments)
|
|
460
460
|
.TP
|
|
461
461
|
.B \-\-no\-prepare
|
|
462
|
-
Skip
|
|
462
|
+
Skip ID validation and auto\-fix before pushing
|
|
463
463
|
.TP
|
|
464
464
|
.B \-y, \-\-yes
|
|
465
465
|
Skip all confirmation prompts
|
|
@@ -1139,6 +1139,9 @@ Create or update .postman/config.json with an SDK configuration stub.
|
|
|
1139
1139
|
.B sdk generate
|
|
1140
1140
|
Generate a new SDK from a Postman collection or specification.
|
|
1141
1141
|
.TP
|
|
1142
|
+
.B sdk track
|
|
1143
|
+
Enable change tracking for a generated SDK. Adds file hashes to .manifest.json so that the next `sdk generate` can detect your edits and preserve them via 3\-way merge.
|
|
1144
|
+
.TP
|
|
1142
1145
|
.B sdk list
|
|
1143
1146
|
List SDK builds for a collection, extensible collection, or specification.
|
|
1144
1147
|
.TP
|
|
@@ -1168,7 +1171,7 @@ Generate a new SDK from a Postman collection or specification.
|
|
|
1168
1171
|
.B Options:
|
|
1169
1172
|
.TP
|
|
1170
1173
|
.B \-l, \-\-language <languages...>
|
|
1171
|
-
Target language(s) for SDK generation. Specify one or more languages. [choices: "typescript", "python", "java", "go", "csharp", "php", "ruby", "cli"]
|
|
1174
|
+
Target language(s) for SDK generation. Specify one or more languages. [choices: "typescript", "python", "java", "go", "csharp", "php", "ruby", "cli", "kotlin", "rust"]
|
|
1172
1175
|
.TP
|
|
1173
1176
|
.B \-\-all
|
|
1174
1177
|
Generate SDKs for all supported languages
|
|
@@ -1199,6 +1202,15 @@ Set build log detail level. "warn" (default) shows errors/warnings inline and co
|
|
|
1199
1202
|
.TP
|
|
1200
1203
|
.B \-\-pr
|
|
1201
1204
|
Create pull requests to configured GitHub repositories after SDK generation
|
|
1205
|
+
.TP
|
|
1206
|
+
.B \-\-no\-track\-changes
|
|
1207
|
+
Disable change tracking. By default, file hashes are written into .manifest.json to enable edit detection on the next regeneration.
|
|
1208
|
+
.TP
|
|
1209
|
+
.B \-\-no\-merge
|
|
1210
|
+
Skip custom code merge even if user edits are detected. Forces a fresh generation.
|
|
1211
|
+
.TP
|
|
1212
|
+
.B \-\-conflict\-strategy <strategy>
|
|
1213
|
+
Strategy for handling merge conflicts: "mark" inserts conflict markers (default), "ours" keeps user edits, "theirs" keeps generated code
|
|
1202
1214
|
|
|
1203
1215
|
.TP Examples:
|
|
1204
1216
|
|
|
@@ -1244,6 +1256,34 @@ Examples:
|
|
|
1244
1256
|
|
|
1245
1257
|
|
|
1246
1258
|
|
|
1259
|
+
.SS "sdk track"
|
|
1260
|
+
Enable change tracking for a generated SDK. Adds file hashes to .manifest.json so that the next `sdk generate` can detect your edits and preserve them via 3\-way merge.
|
|
1261
|
+
|
|
1262
|
+
.B Usage:
|
|
1263
|
+
[options]
|
|
1264
|
+
|
|
1265
|
+
.B Options:
|
|
1266
|
+
.TP
|
|
1267
|
+
.B \-l, \-\-language <languages...>
|
|
1268
|
+
Language(s) to track. [choices: "typescript", "python", "java", "go", "csharp", "php", "ruby", "cli", "kotlin", "rust"]
|
|
1269
|
+
.TP
|
|
1270
|
+
.B \-o, \-\-output\-dir <path>
|
|
1271
|
+
Base directory containing generated SDKs (default: ./sdks)
|
|
1272
|
+
|
|
1273
|
+
.TP Examples:
|
|
1274
|
+
|
|
1275
|
+
Examples:
|
|
1276
|
+
Enable tracking for a TypeScript SDK:
|
|
1277
|
+
postman sdk track \-l typescript
|
|
1278
|
+
|
|
1279
|
+
Enable tracking for multiple languages:
|
|
1280
|
+
postman sdk track \-l typescript python
|
|
1281
|
+
|
|
1282
|
+
Custom output directory:
|
|
1283
|
+
postman sdk track \-l typescript \-o ./my\-sdks
|
|
1284
|
+
|
|
1285
|
+
|
|
1286
|
+
|
|
1247
1287
|
.SS "sdk list"
|
|
1248
1288
|
List SDK builds for a collection, extensible collection, or specification.
|
|
1249
1289
|
|
|
@@ -1344,7 +1384,7 @@ Connect a collection or specification to a Git repository for automated SDK PRs
|
|
|
1344
1384
|
.B Options:
|
|
1345
1385
|
.TP
|
|
1346
1386
|
.B \-l, \-\-language <language>
|
|
1347
|
-
SDK language (required) [choices: typescript, python, java, go, csharp, php, ruby, cli]
|
|
1387
|
+
SDK language (required) [choices: typescript, python, java, go, csharp, php, ruby, cli, kotlin, rust]
|
|
1348
1388
|
.TP
|
|
1349
1389
|
.B \-w, \-\-workspace <workspaceId>
|
|
1350
1390
|
Workspace ID (optional)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.34.
|
|
3
|
+
"version": "1.34.3",
|
|
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.34.
|
|
62
|
-
"@postman/pm-bin-macos-x64": "1.34.
|
|
63
|
-
"@postman/pm-bin-linux-x64": "1.34.
|
|
64
|
-
"@postman/pm-bin-linux-arm64": "1.34.
|
|
65
|
-
"@postman/pm-bin-windows-x64": "1.34.
|
|
61
|
+
"@postman/pm-bin-macos-arm64": "1.34.3",
|
|
62
|
+
"@postman/pm-bin-macos-x64": "1.34.3",
|
|
63
|
+
"@postman/pm-bin-linux-x64": "1.34.3",
|
|
64
|
+
"@postman/pm-bin-linux-arm64": "1.34.3",
|
|
65
|
+
"@postman/pm-bin-windows-x64": "1.34.3"
|
|
66
66
|
}
|
|
67
67
|
}
|