postman-cli 1.50.0 → 1.52.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.
- package/man/postman.1 +181 -74
- package/package.json +6 -6
package/man/postman.1
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
.TH POSTMAN 1 "2026-08-
|
|
1
|
+
.TH POSTMAN 1 "2026-08-28" "v1.52.0" "Postman CLI Manual"
|
|
2
2
|
.SH NAME
|
|
3
3
|
postman \- Command\-line companion utility for Postman
|
|
4
4
|
.SH SYNOPSIS
|
|
@@ -269,14 +269,22 @@ Start a mock server from manifest (.json, .yaml or .yml) file
|
|
|
269
269
|
.B \-\-port <port>
|
|
270
270
|
Port for the \-\-mock server; pass "auto" for an OS\-assigned ephemeral port (default: configured port, falls back to an ephemeral one if busy). Only valid with \-\-mock.
|
|
271
271
|
.TP
|
|
272
|
+
.B \-\-use\-mock <mapping>
|
|
273
|
+
Redirect requests for a URL or {{variable}} to a mock during the run. Format: "<url> mock|mock\-server:<path|id> [scenario]". Repeat the flag to redirect multiple URLs (one \-\-use\-mock per mock). Use "mock:<path>" for a local mock manifest (.json/.yaml/.yml), "mock:<id>" for a local mock by id (fetched from the cloud then run locally), or "mock\-server:<id>" to redirect to a deployed mock server's URL. Id\-based references require `postman login` (or \-\-postman\-api\-key). The optional third field selects a scenario (defaults to "default"). (default: )
|
|
274
|
+
.TP
|
|
272
275
|
.B \-\-simulate <path>
|
|
273
276
|
Start mock servers with fault\-injection scenarios from a .sim.yaml file
|
|
274
277
|
.TP
|
|
275
278
|
.B \-\-report\-events
|
|
276
|
-
|
|
279
|
+
Upload results for git\-native v3 collection runs. Analytics are sent by default
|
|
280
|
+
.TP
|
|
281
|
+
.B \-\-no\-report\-events
|
|
282
|
+
Do not send analytics to Postman
|
|
277
283
|
|
|
278
284
|
.TP Examples:
|
|
279
285
|
Eg. postman collection run 123456\-45159473\-1e45\-1f34\-5678\-1234567890ab
|
|
286
|
+
postman collection run <id> \-\-use\-mock "{{baseurl}} mock:./mock/config.yaml delay"
|
|
287
|
+
postman collection run <id> \-\-use\-mock "{{baseurl}} mock:./a.yaml" \-\-use\-mock "api.com mock\-server:9d8e7f6a"
|
|
280
288
|
|
|
281
289
|
|
|
282
290
|
.SS "environment"
|
|
@@ -469,7 +477,10 @@ Enable the metrics server for health checks
|
|
|
469
477
|
Port for the metrics server (default: 9090)
|
|
470
478
|
.TP
|
|
471
479
|
.B \-\-report\-events
|
|
472
|
-
|
|
480
|
+
Accepted for compatibility; analytics are sent by default
|
|
481
|
+
.TP
|
|
482
|
+
.B \-\-no\-report\-events
|
|
483
|
+
Do not send analytics to Postman
|
|
473
484
|
|
|
474
485
|
.SS "spec"
|
|
475
486
|
Lint and validate Specifications from the command line
|
|
@@ -506,7 +517,10 @@ Output format for the results. [choices: "json", "csv"]
|
|
|
506
517
|
The workspace ID to use for fetching governance rulesets.
|
|
507
518
|
.TP
|
|
508
519
|
.B \-\-report\-events
|
|
509
|
-
|
|
520
|
+
Accepted for compatibility; analytics are sent by default
|
|
521
|
+
.TP
|
|
522
|
+
.B \-\-no\-report\-events
|
|
523
|
+
Do not send analytics to Postman
|
|
510
524
|
|
|
511
525
|
.SS "spec ai\-readiness"
|
|
512
526
|
Score an OpenAPI specification for AI readiness by ID or local file path.
|
|
@@ -647,7 +661,10 @@ Push strategy. "force\-sync": mirror the whole workspace — also DELETE cloud e
|
|
|
647
661
|
Show detailed logging
|
|
648
662
|
.TP
|
|
649
663
|
.B \-\-report\-events
|
|
650
|
-
|
|
664
|
+
Accepted for compatibility; analytics are sent by default
|
|
665
|
+
.TP
|
|
666
|
+
.B \-\-no\-report\-events
|
|
667
|
+
Do not send analytics to Postman
|
|
651
668
|
|
|
652
669
|
.SS "workspace lint"
|
|
653
670
|
Lint the current local Postman workspace: its configuration (.postman/resources.yaml) plus every discovered entity. Use \-\-meta to lint only the configuration.
|
|
@@ -1005,6 +1022,12 @@ Specify whether or not to override the default exit code for the current run
|
|
|
1005
1022
|
.B \-\-workspace <workspaceId>
|
|
1006
1023
|
Workspace ID required for flows that contain connector blocks. Find it in the Postman app URL: https://postman.com/workspace/<workspaceId>
|
|
1007
1024
|
.TP
|
|
1025
|
+
.B \-\-report\-events
|
|
1026
|
+
Accepted for compatibility; analytics are sent by default
|
|
1027
|
+
.TP
|
|
1028
|
+
.B \-\-no\-report\-events
|
|
1029
|
+
Do not send analytics to Postman
|
|
1030
|
+
.TP
|
|
1008
1031
|
.B \-\-verbose
|
|
1009
1032
|
Verbose output
|
|
1010
1033
|
.TP
|
|
@@ -1209,6 +1232,12 @@ suppress all output except response body. Useful for piping to other commands.
|
|
|
1209
1232
|
.TP
|
|
1210
1233
|
.B \-\-debug
|
|
1211
1234
|
Debug mode: show detailed execution information including retry attempts, redirects, and timing breakdowns.
|
|
1235
|
+
.TP
|
|
1236
|
+
.B \-\-report\-events
|
|
1237
|
+
Accepted for compatibility; analytics are sent by default
|
|
1238
|
+
.TP
|
|
1239
|
+
.B \-\-no\-report\-events
|
|
1240
|
+
Do not send analytics to Postman
|
|
1212
1241
|
|
|
1213
1242
|
.TP Examples:
|
|
1214
1243
|
|
|
@@ -2056,8 +2085,11 @@ Overwrite the output directory if it exists and is not empty (used with \-\-capt
|
|
|
2056
2085
|
.B \-\-save\-events\-local
|
|
2057
2086
|
Write analytics events to pm\-results/test\-events\-debug.ndjson instead of sending to Postman
|
|
2058
2087
|
.TP
|
|
2059
|
-
.B \-\-report\-events
|
|
2060
|
-
Send application test run results
|
|
2088
|
+
.B \-\-report\-events [boolean]
|
|
2089
|
+
Send application test run results to Postman (default: true)
|
|
2090
|
+
.TP
|
|
2091
|
+
.B \-\-no\-report\-events
|
|
2092
|
+
Do not send run results or analytics to Postman
|
|
2061
2093
|
.TP
|
|
2062
2094
|
.B \-\-verbose
|
|
2063
2095
|
Show detailed per\-request matching, sandbox errors, and debug information
|
|
@@ -2073,7 +2105,8 @@ or via \-\-target\-collection/\-\-target\-environment flags. CLI flags override
|
|
|
2073
2105
|
Use \-\-capture\-only to skip tests and export captured traffic
|
|
2074
2106
|
as a V3 Postman collection organised by host.
|
|
2075
2107
|
|
|
2076
|
-
|
|
2108
|
+
Run results are sent to Postman automatically after analysis.
|
|
2109
|
+
Use \-\-report\-events=false (or \-\-report\-events false) to skip uploading run results.
|
|
2077
2110
|
|
|
2078
2111
|
Examples:
|
|
2079
2112
|
postman application test \-\-command "npx playwright test"
|
|
@@ -3175,36 +3208,45 @@ Examples:
|
|
|
3175
3208
|
|
|
3176
3209
|
|
|
3177
3210
|
.SS "dataset"
|
|
3178
|
-
|
|
3211
|
+
Work with Postman datasets in local YAML files or the cloud.
|
|
3179
3212
|
|
|
3180
3213
|
.B Usage:
|
|
3181
3214
|
[options] [command]
|
|
3182
3215
|
|
|
3216
|
+
.TP Examples:
|
|
3217
|
+
|
|
3218
|
+
Targeting:
|
|
3219
|
+
Local datasets: pass a .dataset.yaml path.
|
|
3220
|
+
Cloud datasets: pass a dataset id; list/create use \-w <workspace\-id>.
|
|
3221
|
+
Cloud operations require a paid Postman plan and `postman login` or \-\-api\-key.
|
|
3222
|
+
|
|
3223
|
+
|
|
3224
|
+
|
|
3183
3225
|
.B Subcommands:
|
|
3184
3226
|
.TP
|
|
3185
3227
|
.B dataset list
|
|
3186
|
-
|
|
3228
|
+
List local dataset YAMLs under a path, or (no path) a workspace's cloud datasets.
|
|
3187
3229
|
.TP
|
|
3188
3230
|
.B dataset get
|
|
3189
|
-
|
|
3231
|
+
Print a dataset's metadata and structure summary (local YAML path or cloud id).
|
|
3190
3232
|
.TP
|
|
3191
3233
|
.B dataset query
|
|
3192
|
-
|
|
3234
|
+
Run an ad\-hoc SQL query against a dataset (local YAML path or cloud id).
|
|
3193
3235
|
.TP
|
|
3194
3236
|
.B dataset create
|
|
3195
|
-
|
|
3237
|
+
Scaffold a new .dataset.yaml at <path>, or (no path, with \-w) create a cloud dataset.
|
|
3196
3238
|
.TP
|
|
3197
3239
|
.B dataset delete
|
|
3198
|
-
|
|
3240
|
+
Permanently remove a dataset: a local .dataset.yaml or a cloud dataset id.
|
|
3199
3241
|
.TP
|
|
3200
3242
|
.B dataset source
|
|
3201
|
-
|
|
3243
|
+
Inspect and manage a dataset's datasources.
|
|
3202
3244
|
.TP
|
|
3203
3245
|
.B dataset view
|
|
3204
|
-
|
|
3246
|
+
Inspect and manage saved views on a dataset.
|
|
3205
3247
|
|
|
3206
3248
|
.SS "dataset list"
|
|
3207
|
-
|
|
3249
|
+
List local dataset YAMLs under a path, or (no path) a workspace's cloud datasets.
|
|
3208
3250
|
|
|
3209
3251
|
.B Usage:
|
|
3210
3252
|
[options] [pathOrDir]
|
|
@@ -3230,7 +3272,7 @@ Examples:
|
|
|
3230
3272
|
|
|
3231
3273
|
|
|
3232
3274
|
.SS "dataset get"
|
|
3233
|
-
|
|
3275
|
+
Print a dataset's metadata and structure summary (local YAML path or cloud id).
|
|
3234
3276
|
|
|
3235
3277
|
.B Usage:
|
|
3236
3278
|
[options] <datasetPathOrId>
|
|
@@ -3255,7 +3297,7 @@ Examples:
|
|
|
3255
3297
|
|
|
3256
3298
|
|
|
3257
3299
|
.SS "dataset query"
|
|
3258
|
-
|
|
3300
|
+
Run an ad\-hoc SQL query against a dataset (local YAML path or cloud id).
|
|
3259
3301
|
|
|
3260
3302
|
.B Usage:
|
|
3261
3303
|
[options] <datasetPathOrId>
|
|
@@ -3266,25 +3308,29 @@ Examples:
|
|
|
3266
3308
|
SQL query to execute (e.g. "SELECT * FROM source_users LIMIT 10")
|
|
3267
3309
|
.TP
|
|
3268
3310
|
.B \-p, \-\-param <value...>
|
|
3269
|
-
|
|
3311
|
+
Bind values to $1, $2, ... in order; pass multiple values after \-p or repeat \-p
|
|
3270
3312
|
.TP
|
|
3271
3313
|
.B \-\-api\-key <key>
|
|
3272
3314
|
Postman API key (defaults to the `postman login` session)
|
|
3273
3315
|
.TP
|
|
3274
3316
|
.B \-\-json
|
|
3275
3317
|
Output rows as JSON instead of a table
|
|
3318
|
+
.TP
|
|
3319
|
+
.B \-\-debug
|
|
3320
|
+
Include safe classified dataset diagnostics
|
|
3276
3321
|
|
|
3277
3322
|
.TP Examples:
|
|
3278
3323
|
|
|
3279
3324
|
Examples:
|
|
3280
3325
|
postman dataset query ./users.dataset.yaml \-q "SELECT * FROM source_users LIMIT 5"
|
|
3281
|
-
postman dataset query ./users.dataset.yaml
|
|
3326
|
+
postman dataset query ./users.dataset.yaml \e
|
|
3327
|
+
\-q 'SELECT * FROM source_users WHERE id = $1 AND active = $2' \-p 42 true
|
|
3282
3328
|
postman dataset query 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-q "SELECT * FROM users LIMIT 5"
|
|
3283
3329
|
|
|
3284
3330
|
|
|
3285
3331
|
|
|
3286
3332
|
.SS "dataset create"
|
|
3287
|
-
|
|
3333
|
+
Scaffold a new .dataset.yaml at <path>, or (no path, with \-w) create a cloud dataset.
|
|
3288
3334
|
|
|
3289
3335
|
.B Usage:
|
|
3290
3336
|
[options] [path]
|
|
@@ -3318,7 +3364,7 @@ Examples:
|
|
|
3318
3364
|
|
|
3319
3365
|
|
|
3320
3366
|
.SS "dataset delete"
|
|
3321
|
-
|
|
3367
|
+
Permanently remove a dataset: a local .dataset.yaml or a cloud dataset id.
|
|
3322
3368
|
|
|
3323
3369
|
.B Usage:
|
|
3324
3370
|
[options] <datasetPathOrId>
|
|
@@ -3329,7 +3375,7 @@ Examples:
|
|
|
3329
3375
|
Skip the confirmation prompt
|
|
3330
3376
|
.TP
|
|
3331
3377
|
.B \-\-keep\-resources
|
|
3332
|
-
|
|
3378
|
+
Preserve the local resource directory even when it is empty (local only)
|
|
3333
3379
|
.TP
|
|
3334
3380
|
.B \-\-api\-key <key>
|
|
3335
3381
|
Postman API key (defaults to the `postman login` session)
|
|
@@ -3341,10 +3387,14 @@ Examples:
|
|
|
3341
3387
|
postman dataset delete ./postman/datasets/users/users.dataset.yaml \-\-yes
|
|
3342
3388
|
postman dataset delete 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-\-yes
|
|
3343
3389
|
|
|
3390
|
+
Local resource cleanup:
|
|
3391
|
+
Local source files are preserved because references can cross directory boundaries.
|
|
3392
|
+
An empty resource directory is removed unless \-\-keep\-resources is passed.
|
|
3393
|
+
|
|
3344
3394
|
|
|
3345
3395
|
|
|
3346
3396
|
.SS "dataset source"
|
|
3347
|
-
|
|
3397
|
+
Inspect and manage a dataset's datasources.
|
|
3348
3398
|
|
|
3349
3399
|
.B Usage:
|
|
3350
3400
|
[options] [command]
|
|
@@ -3352,19 +3402,19 @@ Examples:
|
|
|
3352
3402
|
.B Subcommands:
|
|
3353
3403
|
.TP
|
|
3354
3404
|
.B dataset source list
|
|
3355
|
-
|
|
3405
|
+
List the datasources defined on a dataset (local YAML path or cloud id).
|
|
3356
3406
|
.TP
|
|
3357
3407
|
.B dataset source add
|
|
3358
|
-
|
|
3408
|
+
Add a datasource to a dataset.
|
|
3359
3409
|
.TP
|
|
3360
3410
|
.B dataset source remove
|
|
3361
|
-
|
|
3411
|
+
Remove a datasource from a dataset (local YAML path or cloud id).
|
|
3362
3412
|
.TP
|
|
3363
3413
|
.B dataset source update
|
|
3364
|
-
|
|
3414
|
+
Update fields on an existing datasource. Only the flags you provide are changed.
|
|
3365
3415
|
|
|
3366
3416
|
.SS "dataset source list"
|
|
3367
|
-
|
|
3417
|
+
List the datasources defined on a dataset (local YAML path or cloud id).
|
|
3368
3418
|
|
|
3369
3419
|
.B Usage:
|
|
3370
3420
|
[options]
|
|
@@ -3389,27 +3439,27 @@ Examples:
|
|
|
3389
3439
|
|
|
3390
3440
|
|
|
3391
3441
|
.SS "dataset source add"
|
|
3392
|
-
|
|
3442
|
+
Add a datasource to a dataset.
|
|
3393
3443
|
|
|
3394
3444
|
.B Usage:
|
|
3395
|
-
[options]
|
|
3445
|
+
[options] [datasetPathOrId]
|
|
3396
3446
|
|
|
3397
3447
|
.B Options:
|
|
3398
3448
|
.TP
|
|
3399
3449
|
.B \-d, \-\-dataset <datasetPathOrId>
|
|
3400
|
-
Dataset to add the source to
|
|
3450
|
+
Dataset to add the source to; positional target is also accepted for v1.45 compatibility
|
|
3401
3451
|
.TP
|
|
3402
3452
|
.B \-n, \-\-name <name>
|
|
3403
3453
|
Logical name for the source (becomes the SQL table name)
|
|
3404
3454
|
.TP
|
|
3405
3455
|
.B \-\-source\-id <uuid>
|
|
3406
|
-
Override the generated source id
|
|
3456
|
+
Override the generated source id (local dataset only)
|
|
3407
3457
|
.TP
|
|
3408
|
-
.B \-\-format <csv|json|mysql|postgres>
|
|
3409
|
-
|
|
3458
|
+
.B \-\-format <csv|json|mysql|postgres|sqlserver>
|
|
3459
|
+
Use this format instead of extension/type inference; file contents are not sniffed
|
|
3410
3460
|
.TP
|
|
3411
|
-
.B \-\-type <local|
|
|
3412
|
-
Source kind; inferred
|
|
3461
|
+
.B \-\-type <local|mysql|postgresql|sqlserver>
|
|
3462
|
+
Source kind; local is inferred when \-\-file is provided
|
|
3413
3463
|
.TP
|
|
3414
3464
|
.B \-\-file <path>
|
|
3415
3465
|
Path to a local CSV/JSON file (absolute or cwd\-relative)
|
|
@@ -3423,14 +3473,11 @@ When copying, overwrite an existing file at the destination (local dataset)
|
|
|
3423
3473
|
.B \-\-upload
|
|
3424
3474
|
Cloud dataset only: upload \-\-file as a postmancloudfile source (runs via /exec). Without \-\-upload, \-\-file is registered as a local_filesystem csv/json source read by the local engine.
|
|
3425
3475
|
.TP
|
|
3426
|
-
.B \-\-url <url>
|
|
3427
|
-
HTTP(S) URL to a remote CSV/JSON file
|
|
3428
|
-
.TP
|
|
3429
3476
|
.B \-\-host <host>
|
|
3430
|
-
DB host (mysql/postgresql)
|
|
3477
|
+
DB host (mysql/postgresql/sqlserver)
|
|
3431
3478
|
.TP
|
|
3432
3479
|
.B \-\-port <port>
|
|
3433
|
-
DB port
|
|
3480
|
+
DB port (defaults to 1433 for sqlserver)
|
|
3434
3481
|
.TP
|
|
3435
3482
|
.B \-\-user <user>
|
|
3436
3483
|
DB user (warning: stored as plaintext in the YAML).
|
|
@@ -3442,7 +3489,7 @@ DB password. WARNING: passing it here exposes it in `ps` output and shell histor
|
|
|
3442
3489
|
DB database name
|
|
3443
3490
|
.TP
|
|
3444
3491
|
.B \-\-table <table>
|
|
3445
|
-
DB table name (
|
|
3492
|
+
DB table name (required for sqlserver)
|
|
3446
3493
|
.TP
|
|
3447
3494
|
.B \-\-ssh\-host <host>
|
|
3448
3495
|
SSH bastion host
|
|
@@ -3468,14 +3515,45 @@ Shared Vault secret ID containing the SSH public host key
|
|
|
3468
3515
|
.B \-\-ssh\-insecure\-skip\-host\-key\-verification
|
|
3469
3516
|
WARNING: disable SSH host\-key verification; use only for trusted local testing
|
|
3470
3517
|
.TP
|
|
3471
|
-
.B \-\-
|
|
3472
|
-
|
|
3518
|
+
.B \-\-schema <schema>
|
|
3519
|
+
DB schema (postgresql/sqlserver; defaults to dbo for sqlserver)
|
|
3520
|
+
.TP
|
|
3521
|
+
.B \-\-encrypt <true|false>
|
|
3522
|
+
SQL Server TLS encryption (default: true)
|
|
3523
|
+
.TP
|
|
3524
|
+
.B \-\-trust\-server\-certificate <true|false>
|
|
3525
|
+
SQL Server: skip certificate verification (default: false; insecure)
|
|
3526
|
+
.TP
|
|
3527
|
+
.B \-\-tls\-certificate <path>
|
|
3528
|
+
SQL Server CA/server certificate file path
|
|
3529
|
+
.TP
|
|
3530
|
+
.B \-\-host\-name\-in\-certificate <hostname>
|
|
3531
|
+
SQL Server certificate hostname override
|
|
3532
|
+
.TP
|
|
3533
|
+
.B \-\-tls\-min\-version <1.2|1.3>
|
|
3534
|
+
SQL Server minimum TLS version (default: 1.2)
|
|
3473
3535
|
.TP
|
|
3474
3536
|
.B \-\-api\-key <key>
|
|
3475
3537
|
Postman API key (defaults to the `postman login` session)
|
|
3476
3538
|
|
|
3539
|
+
.TP Examples:
|
|
3540
|
+
|
|
3541
|
+
Examples:
|
|
3542
|
+
postman dataset source add \-d ./users.dataset.yaml \-n users \-\-file ./users.csv
|
|
3543
|
+
postman dataset source add \-d ./users.dataset.yaml \-n users \-\-file ./users.txt \-\-format json
|
|
3544
|
+
postman dataset source add \-d 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \e
|
|
3545
|
+
\-n users \-\-file ./users.csv \-\-upload
|
|
3546
|
+
|
|
3547
|
+
Format selection:
|
|
3548
|
+
File extensions are used only when \-\-format is omitted. An explicit \-\-format is authoritative.
|
|
3549
|
+
|
|
3550
|
+
Execution:
|
|
3551
|
+
\-\-upload runs file\-backed queries in the cloud service. Without \-\-upload, the local engine reads the file.
|
|
3552
|
+
|
|
3553
|
+
|
|
3554
|
+
|
|
3477
3555
|
.SS "dataset source remove"
|
|
3478
|
-
|
|
3556
|
+
Remove a datasource from a dataset (local YAML path or cloud id).
|
|
3479
3557
|
|
|
3480
3558
|
.B Usage:
|
|
3481
3559
|
[options] <sourceNameOrId>
|
|
@@ -3498,7 +3576,7 @@ Examples:
|
|
|
3498
3576
|
|
|
3499
3577
|
|
|
3500
3578
|
.SS "dataset source update"
|
|
3501
|
-
|
|
3579
|
+
Update fields on an existing datasource. Only the flags you provide are changed.
|
|
3502
3580
|
|
|
3503
3581
|
.B Usage:
|
|
3504
3582
|
[options] <sourceNameOrId>
|
|
@@ -3511,23 +3589,20 @@ Dataset the source belongs to — a local .dataset.yaml path or a cloud dataset
|
|
|
3511
3589
|
.B \-n, \-\-name <name>
|
|
3512
3590
|
Rename the source
|
|
3513
3591
|
.TP
|
|
3514
|
-
.B \-\-format <csv|json|mysql|postgres>
|
|
3515
|
-
Change the format
|
|
3592
|
+
.B \-\-format <csv|json|mysql|postgres|sqlserver>
|
|
3593
|
+
Change the format (local dataset only; cloud source formats are immutable)
|
|
3516
3594
|
.TP
|
|
3517
3595
|
.B \-\-file <path>
|
|
3518
|
-
Replace the source
|
|
3596
|
+
Replace the source file (local dataset only; cloud file replacement is unsupported)
|
|
3519
3597
|
.TP
|
|
3520
3598
|
.B \-\-ref\-only
|
|
3521
|
-
|
|
3599
|
+
With \-\-file, reference in place instead of copying (local dataset only)
|
|
3522
3600
|
.TP
|
|
3523
3601
|
.B \-\-force
|
|
3524
|
-
|
|
3525
|
-
.TP
|
|
3526
|
-
.B \-\-url <url>
|
|
3527
|
-
Replace the remote URL (remote\-url only)
|
|
3602
|
+
With \-\-file, overwrite the copied destination (local dataset only)
|
|
3528
3603
|
.TP
|
|
3529
3604
|
.B \-\-host <host>
|
|
3530
|
-
Update DB host (mysql/postgresql)
|
|
3605
|
+
Update DB host (mysql/postgresql/sqlserver)
|
|
3531
3606
|
.TP
|
|
3532
3607
|
.B \-\-port <port>
|
|
3533
3608
|
Update DB port
|
|
@@ -3568,14 +3643,39 @@ Update the Shared Vault secret ID containing the SSH public host key
|
|
|
3568
3643
|
.B \-\-ssh\-insecure\-skip\-host\-key\-verification
|
|
3569
3644
|
WARNING: disable SSH host\-key verification; use only for trusted local testing
|
|
3570
3645
|
.TP
|
|
3571
|
-
.B \-\-
|
|
3572
|
-
Update
|
|
3646
|
+
.B \-\-schema <schema>
|
|
3647
|
+
Update DB schema (postgresql/sqlserver)
|
|
3648
|
+
.TP
|
|
3649
|
+
.B \-\-encrypt <true|false>
|
|
3650
|
+
Update SQL Server TLS encryption
|
|
3651
|
+
.TP
|
|
3652
|
+
.B \-\-trust\-server\-certificate <true|false>
|
|
3653
|
+
Update SQL Server certificate verification (true is insecure)
|
|
3654
|
+
.TP
|
|
3655
|
+
.B \-\-tls\-certificate <path>
|
|
3656
|
+
Update SQL Server CA/server certificate file path
|
|
3657
|
+
.TP
|
|
3658
|
+
.B \-\-host\-name\-in\-certificate <hostname>
|
|
3659
|
+
Update SQL Server certificate hostname override
|
|
3660
|
+
.TP
|
|
3661
|
+
.B \-\-tls\-min\-version <1.2|1.3>
|
|
3662
|
+
Update SQL Server minimum TLS version
|
|
3573
3663
|
.TP
|
|
3574
3664
|
.B \-\-api\-key <key>
|
|
3575
3665
|
Postman API key (defaults to the `postman login` session)
|
|
3576
3666
|
|
|
3667
|
+
.TP Examples:
|
|
3668
|
+
|
|
3669
|
+
Examples:
|
|
3670
|
+
postman dataset source update users \-d ./users.dataset.yaml \-\-name customers
|
|
3671
|
+
postman dataset source update users \-d ./users.dataset.yaml \-\-file ./users\-v2.csv
|
|
3672
|
+
postman dataset source update orders\-db \e
|
|
3673
|
+
\-d 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-\-host db.internal.example
|
|
3674
|
+
|
|
3675
|
+
|
|
3676
|
+
|
|
3577
3677
|
.SS "dataset view"
|
|
3578
|
-
|
|
3678
|
+
Inspect and manage saved views on a dataset.
|
|
3579
3679
|
|
|
3580
3680
|
.B Usage:
|
|
3581
3681
|
[options] [command]
|
|
@@ -3583,22 +3683,22 @@ Postman API key (defaults to the `postman login` session)
|
|
|
3583
3683
|
.B Subcommands:
|
|
3584
3684
|
.TP
|
|
3585
3685
|
.B dataset view list
|
|
3586
|
-
|
|
3686
|
+
List the saved views defined on a dataset (local YAML path or cloud id).
|
|
3587
3687
|
.TP
|
|
3588
3688
|
.B dataset view run
|
|
3589
|
-
|
|
3689
|
+
Execute a saved view against a dataset and print the rows.
|
|
3590
3690
|
.TP
|
|
3591
3691
|
.B dataset view create
|
|
3592
|
-
|
|
3692
|
+
Add a saved view to a dataset (local YAML path or cloud id).
|
|
3593
3693
|
.TP
|
|
3594
3694
|
.B dataset view delete
|
|
3595
|
-
|
|
3695
|
+
Remove a saved view from a dataset (local YAML path or cloud id).
|
|
3596
3696
|
.TP
|
|
3597
3697
|
.B dataset view update
|
|
3598
|
-
|
|
3698
|
+
Update name and/or query on an existing view (local YAML path or cloud id).
|
|
3599
3699
|
|
|
3600
3700
|
.SS "dataset view list"
|
|
3601
|
-
|
|
3701
|
+
List the saved views defined on a dataset (local YAML path or cloud id).
|
|
3602
3702
|
|
|
3603
3703
|
.B Usage:
|
|
3604
3704
|
[options]
|
|
@@ -3623,7 +3723,7 @@ Examples:
|
|
|
3623
3723
|
|
|
3624
3724
|
|
|
3625
3725
|
.SS "dataset view run"
|
|
3626
|
-
|
|
3726
|
+
Execute a saved view against a dataset and print the rows.
|
|
3627
3727
|
|
|
3628
3728
|
.B Usage:
|
|
3629
3729
|
[options] <viewNameOrId>
|
|
@@ -3634,25 +3734,30 @@ Examples:
|
|
|
3634
3734
|
Dataset the view belongs to — a local .dataset.yaml path or a cloud dataset id
|
|
3635
3735
|
.TP
|
|
3636
3736
|
.B \-p, \-\-param <value...>
|
|
3637
|
-
|
|
3737
|
+
Bind values to $1, $2, ... in order; pass multiple values after \-p or repeat \-p
|
|
3638
3738
|
.TP
|
|
3639
3739
|
.B \-\-api\-key <key>
|
|
3640
3740
|
Postman API key (defaults to the `postman login` session)
|
|
3641
3741
|
.TP
|
|
3642
3742
|
.B \-\-json
|
|
3643
3743
|
Output rows as JSON instead of a table
|
|
3744
|
+
.TP
|
|
3745
|
+
.B \-\-debug
|
|
3746
|
+
Include safe classified dataset diagnostics
|
|
3644
3747
|
|
|
3645
3748
|
.TP Examples:
|
|
3646
3749
|
|
|
3647
3750
|
Examples:
|
|
3648
3751
|
postman dataset view run "Active Users" \-d ./users.dataset.yaml
|
|
3752
|
+
postman dataset view run "Users By Status" \-d ./users.dataset.yaml \-p active 20
|
|
3649
3753
|
postman dataset view run ea748a6a\-ed3c\-496d\-b91e\-6ccc8e4d0e9d \-d ./users.dataset.yaml
|
|
3650
|
-
postman dataset view run "Active Users"
|
|
3754
|
+
postman dataset view run "Active Users" \e
|
|
3755
|
+
\-d 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-p true
|
|
3651
3756
|
|
|
3652
3757
|
|
|
3653
3758
|
|
|
3654
3759
|
.SS "dataset view create"
|
|
3655
|
-
|
|
3760
|
+
Add a saved view to a dataset (local YAML path or cloud id).
|
|
3656
3761
|
|
|
3657
3762
|
.B Usage:
|
|
3658
3763
|
[options]
|
|
@@ -3685,7 +3790,7 @@ Examples:
|
|
|
3685
3790
|
|
|
3686
3791
|
|
|
3687
3792
|
.SS "dataset view delete"
|
|
3688
|
-
|
|
3793
|
+
Remove a saved view from a dataset (local YAML path or cloud id).
|
|
3689
3794
|
|
|
3690
3795
|
.B Usage:
|
|
3691
3796
|
[options] <viewNameOrId>
|
|
@@ -3707,7 +3812,7 @@ Examples:
|
|
|
3707
3812
|
|
|
3708
3813
|
|
|
3709
3814
|
.SS "dataset view update"
|
|
3710
|
-
|
|
3815
|
+
Update name and/or query on an existing view (local YAML path or cloud id).
|
|
3711
3816
|
|
|
3712
3817
|
.B Usage:
|
|
3713
3818
|
[options] <viewNameOrId>
|
|
@@ -3729,8 +3834,10 @@ Postman API key (defaults to the `postman login` session)
|
|
|
3729
3834
|
.TP Examples:
|
|
3730
3835
|
|
|
3731
3836
|
Examples:
|
|
3732
|
-
postman dataset view update "Active Users"
|
|
3733
|
-
|
|
3837
|
+
postman dataset view update "Active Users" \e
|
|
3838
|
+
\-d ./users.dataset.yaml \-q "SELECT * FROM source_users"
|
|
3839
|
+
postman dataset view update "Active Users" \e
|
|
3840
|
+
\-d 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-q "SELECT * FROM users"
|
|
3734
3841
|
|
|
3735
3842
|
|
|
3736
3843
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "postman-cli",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.52.0",
|
|
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.
|
|
62
|
-
"@postman/pm-bin-macos-x64": "1.
|
|
63
|
-
"@postman/pm-bin-linux-x64": "1.
|
|
64
|
-
"@postman/pm-bin-linux-arm64": "1.
|
|
65
|
-
"@postman/pm-bin-windows-x64": "1.
|
|
61
|
+
"@postman/pm-bin-macos-arm64": "1.52.0",
|
|
62
|
+
"@postman/pm-bin-macos-x64": "1.52.0",
|
|
63
|
+
"@postman/pm-bin-linux-x64": "1.52.0",
|
|
64
|
+
"@postman/pm-bin-linux-arm64": "1.52.0",
|
|
65
|
+
"@postman/pm-bin-windows-x64": "1.52.0"
|
|
66
66
|
}
|
|
67
67
|
}
|