postman-cli 1.80.0 → 1.82.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 +126 -27
  2. package/package.json +6 -6
package/man/postman.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH POSTMAN 1 "2026-10-27" "v1.80.0" "Postman CLI Manual"
1
+ .TH POSTMAN 1 "2026-10-28" "v1.82.0" "Postman CLI Manual"
2
2
  .SH NAME
3
3
  postman \- Command\-line companion utility for Postman
4
4
  .SH SYNOPSIS
@@ -49,6 +49,12 @@ Specify the API key directly.
49
49
  .B \-\-region <region>
50
50
  Specify the region for authentication. Use "eu" for EU region.
51
51
  .TP
52
+ .B \-\-migrate\-guest\-workspace
53
+ Copy this repository's local work into a new workspace in the account you sign in to, even when this session is no longer a guest (for example after a logout).
54
+ .TP
55
+ .B \-\-no\-migrate\-guest\-workspace
56
+ Do not copy a guest's local work into the account you sign in to. By default a guest's local work is copied.
57
+ .TP
52
58
  .B \-\-verbose
53
59
  Show detailed error information
54
60
 
@@ -345,7 +351,7 @@ Add, get, update, or remove folders in a local v3 collection.
345
351
  Add, update, remove, get, or list examples (saved responses) under a request.
346
352
  .TP
347
353
  .B collection import
348
- Import a cURL or HAR source into a v3 collection (local, or cloud with \-\-workspace).
354
+ Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or cloud with \-\-workspace).
349
355
  .TP
350
356
  .B collection list
351
357
  List collections: your local project's collections by default, or a Postman cloud workspace's collections with \-\-workspace.
@@ -1224,7 +1230,7 @@ Example type for cloud mode: http. (default: http)
1224
1230
  JSON output.
1225
1231
 
1226
1232
  .SS "collection import"
1227
- Import a cURL or HAR source into a v3 collection (local, or cloud with \-\-workspace).
1233
+ Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or cloud with \-\-workspace).
1228
1234
 
1229
1235
  .B Usage:
1230
1236
  [options] <src>
@@ -1232,7 +1238,7 @@ Import a cURL or HAR source into a v3 collection (local, or cloud with \-\-works
1232
1238
  .B Options:
1233
1239
  .TP
1234
1240
  .B \-\-type <format>
1235
- Source format: curl or har. Auto\-detected from the extension/content when omitted.
1241
+ Source format: curl, har, or jmeter. Auto\-detected from the extension/content when omitted.
1236
1242
  .TP
1237
1243
  .B \-\-name <name>
1238
1244
  Collection display name. Defaults to a per\-format fallback.
@@ -1262,6 +1268,7 @@ JSON output.
1262
1268
  Examples:
1263
1269
  postman collection import ./login.curl
1264
1270
  postman collection import ./session.har \-\-name "Recorded session"
1271
+ postman collection import ./load\-test.jmx \-\-name "Load test"
1265
1272
  pbpaste | postman collection import \- \-\-type curl \-\-name Users
1266
1273
  postman collection import ./session.har \-\-name Session \-\-workspace <workspaceId>
1267
1274
 
@@ -3225,7 +3232,10 @@ Lint the current local Postman workspace: its configuration (.postman/resources.
3225
3232
  Read a workspace's metadata, and optionally the ids of what it holds.
3226
3233
  .TP
3227
3234
  .B workspace context
3228
- Read a workspace's recent activity: who changed what, and the messages left on pushes. Also available as `activity`.
3235
+ Everything about a workspace: collections, environments, monitors, mocks, specs and flows, and how they relate (which monitor runs which collection). Add `\-\-section activity` for the change feed. Prints JSON when piped.
3236
+ .TP
3237
+ .B workspace activity
3238
+ Shorthand for `workspace context \-\-section activity`: who changed what, and the messages left on pushes.
3229
3239
  .TP
3230
3240
  .B workspace create
3231
3241
  Create a Postman workspace and bind it to this git repository.
@@ -3383,7 +3393,60 @@ Exit codes: 0 ok, 1 not found or API failure, 2 bad usage, 3 auth.
3383
3393
 
3384
3394
 
3385
3395
  .SS "workspace context"
3386
- Read a workspace's recent activity: who changed what, and the messages left on pushes. Also available as `activity`.
3396
+ Everything about a workspace: collections, environments, monitors, mocks, specs and flows, and how they relate (which monitor runs which collection). Add `\-\-section activity` for the change feed. Prints JSON when piped.
3397
+
3398
+ .B Usage:
3399
+ [options] [id]
3400
+
3401
+ .B Options:
3402
+ .TP
3403
+ .B \-\-section <names>
3404
+ Comma\-separated sections to show (collection, environment, monitor, mock, spec, flow, activity). Default: everything but activity. Counts are always reported for every inventory section.
3405
+ .TP
3406
+ .B \-\-limit <n>
3407
+ Max items per section, or entries for activity (default 25 items). A cut section says how many were left out.
3408
+ .TP
3409
+ .B \-\-type <types>
3410
+ Activity only: comma\-separated element types, e.g. "api,collection". Use "workspacePush" for the messages left with `workspace push \-m`.
3411
+ .TP
3412
+ .B \-\-contributor <ids>
3413
+ Activity only: comma\-separated user ids.
3414
+ .TP
3415
+ .B \-\-cursor <cursor>
3416
+ Activity only: the page of entries that follows this cursor.
3417
+ .TP
3418
+ .B \-\-markdown
3419
+ Activity only: ask the API for a human\-readable description of each entry.
3420
+ .TP
3421
+ .B \-\-brief
3422
+ With only `\-\-section activity`: one plain line per entry (time, who, message).
3423
+ .TP
3424
+ .B \-\-json
3425
+ Print JSON (schemaVersion 1.0). This is already the default when piped.
3426
+ .TP
3427
+ .B \-\-text
3428
+ Print prose even when piped.
3429
+ .TP
3430
+ .B \-\-timeout <ms>
3431
+ Milliseconds to wait for the API (default 30000).
3432
+
3433
+ .TP Examples:
3434
+
3435
+ Examples:
3436
+ postman workspace context
3437
+ Snapshot of the current folder's bound workspace
3438
+ postman workspace context <id> \-\-section monitor,mock
3439
+ postman workspace context <id> \-\-section collection \-\-limit 200
3440
+ postman workspace context <id> \-\-section activity \-\-limit 5 \-\-brief
3441
+ postman workspace context <id> \-\-section monitor,activity \-\-limit 5
3442
+ postman workspace context <id> \-\-json | jq '.sections.monitor.items[].refs'
3443
+
3444
+ Exit codes: 0 ok, 1 not found or API failure, 2 bad usage, 3 auth, 4 printed but some sections could not be listed.
3445
+
3446
+
3447
+
3448
+ .SS "workspace activity"
3449
+ Shorthand for `workspace context \-\-section activity`: who changed what, and the messages left on pushes.
3387
3450
 
3388
3451
  .B Usage:
3389
3452
  [options] [id]
@@ -3417,14 +3480,9 @@ Milliseconds to wait for the API (default 30000).
3417
3480
  .TP Examples:
3418
3481
 
3419
3482
  Examples:
3420
- postman workspace context
3421
- Reads the current folder's bound workspace
3422
- postman workspace context 00a50319\-1262\-49d2\-83e5\-551e3c5dba00
3423
- postman workspace context <id> \-\-type api,collection
3424
- postman workspace context <id> \-\-contributor <userId>
3425
- postman workspace context <id> \-\-markdown
3426
- postman workspace context <id> \-\-json
3427
- postman workspace context <id> \-\-type workspacePush \-\-limit 5 \-\-brief
3483
+ postman workspace activity
3484
+ postman workspace activity <id> \-\-type workspacePush \-\-limit 5 \-\-brief
3485
+ postman workspace activity <id> \-\-contributor <userId> \-\-json
3428
3486
 
3429
3487
  Exit codes: 0 ok, 1 not found or API failure, 2 bad usage, 3 auth.
3430
3488
 
@@ -3834,6 +3892,9 @@ Format: "<{{var}}|host> mock|mock\-server:<path|id> [scenario]" (default: )
3834
3892
  .TP
3835
3893
  .B \-\-dataset <pathOrDir>
3836
3894
  Pass \-\-dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to the handlers of the local mocks started by \-\-use\-mock as pm.datasets(<id>). Local runner only. (default: )
3895
+ .TP
3896
+ .B \-\-workspace\-id <id>
3897
+ Workspace that owns the shared vault for the collection's v12 secret variables. Required on cloud runs to resolve those secrets; omit if the run uses no vault secrets.
3837
3898
 
3838
3899
  .TP Examples:
3839
3900
 
@@ -3865,9 +3926,9 @@ Load segments:
3865
3926
  ramp\-up — 2 segments
3866
3927
 
3867
3928
  peak ┤ _________ at peak __________
3868
- │ ramp\-up _____╱
3869
- │ ______╱
3870
- base ┤__ warm\-up ___╱
3929
+ │ ramp\-up _____/
3930
+ │ ______/
3931
+ base ┤__ warm\-up ___/
3871
3932
  └┬─────────────┬─────────────┬───────────────────────────┤ \-\-duration
3872
3933
  1 2 (3)
3873
3934
 
@@ -3879,10 +3940,10 @@ Load segments:
3879
3940
 
3880
3941
  spike — 3 segments · no time at the peak; use \-\-load\-profile peak to hold
3881
3942
 
3882
- peak ┤ ╱╲
3883
- │ ramp\-up _╱ ╲_ ramp\-down
3884
- │ _╱ ╲_
3885
- base ┤______ warm\-up _______╱ ╲______ at base _______
3943
+ peak ┤ /\e
3944
+ │ ramp\-up _/ \e_ ramp\-down
3945
+ │ _/ \e_
3946
+ base ┤______ warm\-up _______/ \e______ at base _______
3886
3947
  └┬─────────────────────┬─────┬─────┬─────────────────────┤ \-\-duration
3887
3948
  1 2 3 (4)
3888
3949
 
@@ -3895,9 +3956,9 @@ Load segments:
3895
3956
  peak — 4 segments
3896
3957
 
3897
3958
  peak ┤ __ hold ___
3898
- │ ramp\-up ____╱ ╲____ ramp\-down
3899
- │ ____╱ ╲____
3900
- base ┤_ warm\-up _╱ ╲_ at base __
3959
+ │ ramp\-up ____/ \e____ ramp\-down
3960
+ │ ____/ \e____
3961
+ base ┤_ warm\-up _/ \e_ at base __
3901
3962
  └┬──────────┬──────────┬──────────┬──────────┬───────────┤ \-\-duration
3902
3963
  1 2 3 4 (5)
3903
3964
 
@@ -3984,6 +4045,9 @@ Manage and interact with flows.
3984
4045
 
3985
4046
  .B Subcommands:
3986
4047
  .TP
4048
+ .B flows create
4049
+ Create a flow in the current repository, the same way "New flow" does in the Postman app. Run it from the root of a repository connected to a Postman workspace.
4050
+ .TP
3987
4051
  .B flows list
3988
4052
  List all flows
3989
4053
  .TP
@@ -4008,6 +4072,35 @@ List run history for a deployed flow
4008
4072
  .B flows get-run
4009
4073
  Analyze a specific flow run
4010
4074
 
4075
+ .SS "flows create"
4076
+ Create a flow in the current repository, the same way "New flow" does in the Postman app. Run it from the root of a repository connected to a Postman workspace.
4077
+
4078
+ .B Usage:
4079
+ [options]
4080
+
4081
+ .B Options:
4082
+ .TP
4083
+ .B \-n, \-\-name <name>
4084
+ Specify the flow name (default: New flow)
4085
+ .TP
4086
+ .B \-\-verbose
4087
+ Verbose output
4088
+ .TP
4089
+ .B \-\-debug
4090
+ Debug output
4091
+ .TP
4092
+ .B \-\-json
4093
+ JSON output
4094
+
4095
+ .TP Examples:
4096
+
4097
+ Examples:
4098
+ postman flows create
4099
+ postman flows create \-\-name "Order sync"
4100
+ postman flows create \-\-name "Order sync" \-\-json
4101
+
4102
+
4103
+
4011
4104
  .SS "flows list"
4012
4105
  List all flows
4013
4106
 
@@ -5715,7 +5808,13 @@ Eg. postman simulation create \-n "Checkout" \-\-mock ./postman/mocks/payments \
5715
5808
 
5716
5809
  Local mock paths build a simulation file you serve with `postman simulation run`. Postman mock ids create it in your cloud workspace instead. Use one kind or the other, not both. Add \-\-deploy to upload it and get a live mock server.
5717
5810
 
5718
- A <name>.context.md is written beside the .sim.yaml, holding what running this simulation has taught: the commands, the preconditions, and what a passing run still does not prove. `simulation update` renames it with the simulation and `simulation delete` removes it. An existing one is never overwritten, because it holds what earlier runs learned.
5811
+ A <name>.context.yaml is written beside the .sim.yaml: the record of what your code is believed to rely on about the services this stands in for, and the evidence behind each belief.
5812
+ purpose what it stands in for, and what work it unblocks
5813
+ assumptions one claim per entry — { id, status, claim, reason, verification,
5814
+ source, updated_at }, status being supported | contradicted |
5815
+ unknown | conflicting
5816
+ fingerprints the commit and CLI version the claims were written against
5817
+ The template carries each field's meaning in the comments above it. `simulation update` renames the file with the simulation and `simulation delete` removes it. An existing one is never overwritten, because it holds what earlier sessions established.
5719
5818
 
5720
5819
 
5721
5820
  .SS "simulation list"
@@ -5811,8 +5910,8 @@ Show request and response headers and bodies for each request. By default each r
5811
5910
  .B \-\-proxy
5812
5911
  Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes. Each mock is reached on the hostnames its `origin:` declares; a request to any other host reaches the real host unchanged.
5813
5912
  .TP
5814
- .B \-\-proxy\-port <n>
5815
- Port for the proxy server. Distinct from \-\-port, which is the one\-port run's own port. Bound to 127.0.0.1, so point clients there rather than at "localhost" — a client that resolves localhost to ::1 first will not reach it. A busy port exits 1. (default: 7001)
5913
+ .B \-\-proxy\-port <port>
5914
+ Port for the proxy server, or "auto" for a free one. Omitted, it prefers 7001 but falls back to a free port when that one is busy, so an omitted port is not guaranteed: pass one to pin it, or read the bound port from the startup banner. A port passed here exits 1 when it is busy. Distinct from \-\-port, which is the one\-port run's own port. Bound to 127.0.0.1, so point clients there rather than at "localhost" — a client that resolves localhost to ::1 first will not reach it.
5816
5915
  .TP
5817
5916
  .B \-\-scenario <name>
5818
5917
  Scenario each mock serves, sent as both pm\-mock\-scenario and x\-mock\-scenario. A member that defines no scenario by this name serves its default. (default: default)
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli",
3
- "version": "1.80.0",
3
+ "version": "1.82.0",
4
4
  "description": "Official Postman CLI - Command-line companion for API development, testing, and automation",
5
5
  "keywords": [
6
6
  "postman",
@@ -57,10 +57,10 @@
57
57
  "scripts/"
58
58
  ],
59
59
  "optionalDependencies": {
60
- "@postman/pm-bin-macos-arm64": "1.80.0",
61
- "@postman/pm-bin-macos-x64": "1.80.0",
62
- "@postman/pm-bin-linux-x64": "1.80.0",
63
- "@postman/pm-bin-linux-arm64": "1.80.0",
64
- "@postman/pm-bin-windows-x64": "1.80.0"
60
+ "@postman/pm-bin-macos-arm64": "1.82.0",
61
+ "@postman/pm-bin-macos-x64": "1.82.0",
62
+ "@postman/pm-bin-linux-x64": "1.82.0",
63
+ "@postman/pm-bin-linux-arm64": "1.82.0",
64
+ "@postman/pm-bin-windows-x64": "1.82.0"
65
65
  }
66
66
  }