postman-cli 1.73.0 → 1.74.0

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 +52 -4
  2. package/package.json +6 -6
package/man/postman.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH POSTMAN 1 "2026-10-09" "v1.73.0" "Postman CLI Manual"
1
+ .TH POSTMAN 1 "2026-10-13" "v1.74.0" "Postman CLI Manual"
2
2
  .SH NAME
3
3
  postman \- Command\-line companion utility for Postman
4
4
  .SH SYNOPSIS
@@ -63,6 +63,9 @@ Sign up to keep the work you created as a guest (claims your guest workspace). W
63
63
  .B \-\-guest
64
64
  Start working as an anonymous guest instead of signing up — no account or browser needed, so it works anywhere. Your work is saved to a temporary workspace you can keep later by running `postman signup`.
65
65
  .TP
66
+ .B \-\-no\-push
67
+ Do not push local work to your guest workspace before signing up. By default, work saved under postman/ is pushed first, so the workspace you keep is not empty.
68
+ .TP
66
69
  .B \-\-json
67
70
  Print the sign\-up details as machine\-readable JSON.
68
71
 
@@ -2057,6 +2060,9 @@ Output format for the results. [choices: "json", "csv"]
2057
2060
  .B \-\-workspace\-id <value>
2058
2061
  The workspace ID to use for fetching governance rulesets.
2059
2062
  .TP
2063
+ .B \-\-ruleset <path>
2064
+ Lint against a local Spectral ruleset.
2065
+ .TP
2060
2066
  .B \-\-report\-events
2061
2067
  Dispatch events to the API Catalog and Application Inventory ingestion pipelines (on by default)
2062
2068
  .TP
@@ -2366,12 +2372,16 @@ Collection ID to sync (required for cloud mode)
2366
2372
  Postman API key
2367
2373
  .TP
2368
2374
  .B \-\-force
2369
- Overwrite hand\-written scripts that the spec would otherwise drop
2375
+ Overwrite hand\-written scripts, headers and descriptions that the spec would otherwise drop
2376
+ .TP
2377
+ .B \-\-dry\-run
2378
+ Report what sync would change and remove without writing anything
2370
2379
 
2371
2380
  .TP Examples:
2372
2381
 
2373
2382
  Examples:
2374
2383
  postman spec sync collection ./postman/specs/My\e API/index.yaml
2384
+ postman spec sync collection ./postman/specs/My\e API/index.yaml \-\-dry\-run
2375
2385
  postman spec sync collection 12345\-spec\-id \-\-collection\-id 67890\-col\-id
2376
2386
 
2377
2387
 
@@ -3353,7 +3363,7 @@ Manage performance tests on your collections.
3353
3363
  .B Subcommands:
3354
3364
  .TP
3355
3365
  .B performance run
3356
- Run a performance test on a collection
3366
+ Run a performance test on a collection (cloud collection UID or local collection path)
3357
3367
  .TP
3358
3368
  .B performance list
3359
3369
  List past performance runs for a collection, newest first.
@@ -3362,7 +3372,7 @@ List past performance runs for a collection, newest first.
3362
3372
  Get one performance run by ID.
3363
3373
 
3364
3374
  .SS "performance run"
3365
- Run a performance test on a collection
3375
+ Run a performance test on a collection (cloud collection UID or local collection path)
3366
3376
 
3367
3377
  .B Usage:
3368
3378
  <collectionId> [options]
@@ -3458,6 +3468,7 @@ Pass \-\-dataset multiple times to load several .dataset.yaml files (or director
3458
3468
 
3459
3469
  Examples:
3460
3470
  postman performance run 123456\-45159473\-1e45\-1f34\-5678\-1234567890ab # defaults: 20 VUs, ramp\-up, 1 minute
3471
+ postman performance run "postman/collections/My Collection" \-\-peak\-vu 10 \-\-duration 2 # a local collection, recorded only when git\-linked
3461
3472
  postman performance run <collectionId> \-\-load\-profile fixed \-\-peak\-vu 50 \-\-duration 15 # 50 VUs, flat
3462
3473
  postman performance run <collectionId> \-\-load\-profile spike \-\-peak\-vu 100 \-\-base\-vu 2 \-\-duration 5 \-\-load\-segments 1m30s,20s,40s
3463
3474
  postman performance run <collectionId> \-\-pass\-if "less_than(p95, 500)" \-\-pass\-if "less_than(error_rate, 5)" # fail if p95 is over 500ms or error rate is over 5%
@@ -3617,6 +3628,9 @@ Run a single flow from a file (e.g. ./path/to/flow.json)
3617
3628
  .B flows update
3618
3629
  Update settings for a deployed flow
3619
3630
  .TP
3631
+ .B flows delete
3632
+ Delete a flow. A flow id deletes the cloud flow; a local flow file path deletes that file only. Prompts for confirmation unless \-\-yes is passed.
3633
+ .TP
3620
3634
  .B flows list-runs
3621
3635
  List run history for a deployed flow
3622
3636
  .TP
@@ -3873,6 +3887,36 @@ Examples:
3873
3887
 
3874
3888
 
3875
3889
 
3890
+ .SS "flows delete"
3891
+ Delete a flow. A flow id deletes the cloud flow; a local flow file path deletes that file only. Prompts for confirmation unless \-\-yes is passed.
3892
+
3893
+ .B Usage:
3894
+ <flowIdOrPath> [options]
3895
+
3896
+ .B Options:
3897
+ .TP
3898
+ .B \-y, \-\-yes
3899
+ Skip the confirmation prompt
3900
+ .TP
3901
+ .B \-\-verbose
3902
+ Verbose output
3903
+ .TP
3904
+ .B \-\-debug
3905
+ Debug output
3906
+ .TP
3907
+ .B \-\-json
3908
+ JSON output
3909
+
3910
+ .TP Examples:
3911
+
3912
+ Examples:
3913
+ postman flows delete 6a04d32ec3c97f7f2fafc386
3914
+ postman flows delete 6a04d32ec3c97f7f2fafc386 \-\-yes
3915
+ postman flows delete ./postman/flows/my\-flow.json
3916
+ postman flows delete 6a04d32ec3c97f7f2fafc386 \-\-yes \-\-json
3917
+
3918
+
3919
+
3876
3920
  .SS "flows list\-runs"
3877
3921
  List run history for a deployed flow
3878
3922
 
@@ -4708,6 +4752,9 @@ Name for the mock. Taken from the source when you provide one; required for the
4708
4752
  .B \-\-port <port>
4709
4753
  Port the mock runs on (e.g. 4010) (default: 4500)
4710
4754
  .TP
4755
+ .B \-\-stateful
4756
+ Generate pm.state\-backed CRUD handlers (create/read/list/update/delete) instead of static example responses. Endpoints that are not CRUD\-shaped stay static. Applies to collection or spec sources.
4757
+ .TP
4711
4758
  .B \-\-force
4712
4759
  Overwrite the mock's files if the target folder already has one
4713
4760
  .TP
@@ -4729,6 +4776,7 @@ Eg. postman mock generate ./my\-collection.json
4729
4776
  postman mock generate \-\-name "My Mock" # sample shopping\-cart mock
4730
4777
  postman mock generate \-\-name "My Mock" \-\-port 4010 # sample mock, custom port
4731
4778
  postman mock generate ./openapi.yaml \-\-output ./postman/mocks/api \-\-port 4010
4779
+ postman mock generate ./openapi.yaml \-\-stateful # CRUD handlers backed by pm.state
4732
4780
  postman mock generate ./my\-collection.json \-\-update ./postman/mocks/orders
4733
4781
  postman mock generate ./my\-collection.json \-w 12345678\-90ab\-cdef\-1234\-567890abcdef # save to Postman cloud
4734
4782
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli",
3
- "version": "1.73.0",
3
+ "version": "1.74.0",
4
4
  "description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
5
5
  "keywords": [
6
6
  "postman",
@@ -62,10 +62,10 @@
62
62
  "scripts/"
63
63
  ],
64
64
  "optionalDependencies": {
65
- "@postman/pm-bin-macos-arm64": "1.73.0",
66
- "@postman/pm-bin-macos-x64": "1.73.0",
67
- "@postman/pm-bin-linux-x64": "1.73.0",
68
- "@postman/pm-bin-linux-arm64": "1.73.0",
69
- "@postman/pm-bin-windows-x64": "1.73.0"
65
+ "@postman/pm-bin-macos-arm64": "1.74.0",
66
+ "@postman/pm-bin-macos-x64": "1.74.0",
67
+ "@postman/pm-bin-linux-x64": "1.74.0",
68
+ "@postman/pm-bin-linux-arm64": "1.74.0",
69
+ "@postman/pm-bin-windows-x64": "1.74.0"
70
70
  }
71
71
  }