postman-cli 1.46.0 → 1.46.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.
Files changed (2) hide show
  1. package/man/postman.1 +74 -4
  2. package/package.json +6 -6
package/man/postman.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH POSTMAN 1 "2026-08-11" "v1.46.0" "Postman CLI Manual"
1
+ .TH POSTMAN 1 "2026-08-12" "v1.46.1" "Postman CLI Manual"
2
2
  .SH NAME
3
3
  postman \- Command\-line companion utility for Postman
4
4
  .SH SYNOPSIS
@@ -276,6 +276,76 @@ Send run results and analytics to Postman
276
276
  Eg. postman collection run 123456\-45159473\-1e45\-1f34\-5678\-1234567890ab
277
277
 
278
278
 
279
+ .SS "environment"
280
+ Work with local Postman environments from the command line.
281
+
282
+ .B Usage:
283
+ [options] [command]
284
+
285
+ .B Subcommands:
286
+ .TP
287
+ .B environment lint
288
+ Run linting on a local Postman environment at the given file or directory path.
289
+
290
+ .SS "environment lint"
291
+ Run linting on a local Postman environment at the given file or directory path.
292
+
293
+ .B Usage:
294
+ <path> [options]
295
+
296
+ .B Options:
297
+ .TP
298
+ .B \-f, \-\-fail\-severity <value>
299
+ Exit with failure if diagnostics at this level or above are present. [choices: "error", "warning"] (default: error)
300
+ .TP
301
+ .B \-o, \-\-output <value>
302
+ Output format: cli (human\-readable), table, json, or csv. (default: cli)
303
+
304
+ .TP Examples:
305
+
306
+ Examples:
307
+ $ postman environment lint ./postman/environments
308
+ $ postman environment lint ./dev.environment.yaml
309
+ $ postman environment lint ./postman/environments \-\-output json
310
+ $ postman environment lint ./dev.environment.yaml \-\-fail\-severity warning
311
+
312
+
313
+
314
+ .SS "globals"
315
+ Work with local Postman globals from the command line.
316
+
317
+ .B Usage:
318
+ [options] [command]
319
+
320
+ .B Subcommands:
321
+ .TP
322
+ .B globals lint
323
+ Run linting on a local Postman globals file at the given file or directory path.
324
+
325
+ .SS "globals lint"
326
+ Run linting on a local Postman globals file at the given file or directory path.
327
+
328
+ .B Usage:
329
+ <path> [options]
330
+
331
+ .B Options:
332
+ .TP
333
+ .B \-f, \-\-fail\-severity <value>
334
+ Exit with failure if diagnostics at this level or above are present. [choices: "error", "warning"] (default: error)
335
+ .TP
336
+ .B \-o, \-\-output <value>
337
+ Output format: cli (human\-readable), table, json, or csv. (default: cli)
338
+
339
+ .TP Examples:
340
+
341
+ Examples:
342
+ $ postman globals lint ./postman/globals
343
+ $ postman globals lint ./workspace.globals.yaml
344
+ $ postman globals lint ./postman/globals \-\-output json
345
+ $ postman globals lint ./workspace.globals.yaml \-\-fail\-severity warning
346
+
347
+
348
+
279
349
  .SS "api"
280
350
  Publish and test your APIs directly from the command line
281
351
 
@@ -1301,7 +1371,7 @@ Generate a new SDK from a Postman collection or specification (OpenAPI or AsyncA
1301
1371
  .B Options:
1302
1372
  .TP
1303
1373
  .B \-l, \-\-language <languages...>
1304
- Target language(s) for SDK generation. Specify one or more languages. [choices: "typescript", "python", "java", "go", "csharp", "php", "ruby", "cli", "kotlin", "rust"]
1374
+ Target language(s) for SDK generation. Specify one or more languages. [choices: "typescript", "python", "java", "go", "csharp", "php", "ruby", "cli", "kotlin", "rust", "swift"]
1305
1375
  .TP
1306
1376
  .B \-\-all
1307
1377
  Generate SDKs for all supported languages
@@ -1403,7 +1473,7 @@ Enable change tracking for a generated SDK. Adds file hashes to .manifest.json s
1403
1473
  .B Options:
1404
1474
  .TP
1405
1475
  .B \-l, \-\-language <languages...>
1406
- Language(s) to track. [choices: "typescript", "python", "java", "go", "csharp", "php", "ruby", "cli", "kotlin", "rust"]
1476
+ Language(s) to track. [choices: "typescript", "python", "java", "go", "csharp", "php", "ruby", "cli", "kotlin", "rust", "swift"]
1407
1477
  .TP
1408
1478
  .B \-o, \-\-output\-dir <path>
1409
1479
  Base directory containing generated SDKs (default: ./sdks)
@@ -1522,7 +1592,7 @@ Connect a collection or specification to a GitHub repository for automatic SDK p
1522
1592
  .B Options:
1523
1593
  .TP
1524
1594
  .B \-l, \-\-language <language>
1525
- SDK language (required) [choices: typescript, python, java, go, csharp, php, ruby, cli, kotlin, rust]
1595
+ SDK language (required) [choices: typescript, python, java, go, csharp, php, ruby, cli, kotlin, rust, swift]
1526
1596
  .TP
1527
1597
  .B \-r, \-\-repo <owner/name>
1528
1598
  GitHub repository in <owner>/<name> form (alternative to \-\-repo\-owner + \-\-repo\-name)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli",
3
- "version": "1.46.0",
3
+ "version": "1.46.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.46.0",
62
- "@postman/pm-bin-macos-x64": "1.46.0",
63
- "@postman/pm-bin-linux-x64": "1.46.0",
64
- "@postman/pm-bin-linux-arm64": "1.46.0",
65
- "@postman/pm-bin-windows-x64": "1.46.0"
61
+ "@postman/pm-bin-macos-arm64": "1.46.1",
62
+ "@postman/pm-bin-macos-x64": "1.46.1",
63
+ "@postman/pm-bin-linux-x64": "1.46.1",
64
+ "@postman/pm-bin-linux-arm64": "1.46.1",
65
+ "@postman/pm-bin-windows-x64": "1.46.1"
66
66
  }
67
67
  }