postman-cli 1.49.0 → 1.51.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 +330 -49
  2. package/package.json +6 -6
package/man/postman.1 CHANGED
@@ -1,4 +1,4 @@
1
- .TH POSTMAN 1 "2026-08-21" "v1.49.0" "Postman CLI Manual"
1
+ .TH POSTMAN 1 "2026-08-27" "v1.51.0" "Postman CLI Manual"
2
2
  .SH NAME
3
3
  postman \- Command\-line companion utility for Postman
4
4
  .SH SYNOPSIS
@@ -575,6 +575,12 @@ Push local workspace entities (collections, environments, specifications, and mo
575
575
  .TP
576
576
  .B workspace lint
577
577
  Lint the current local Postman workspace: its configuration (.postman/resources.yaml) plus every discovered entity. Use \-\-meta to lint only the configuration.
578
+ .TP
579
+ .B workspace pull
580
+ Pull workspace entities from a Postman workspace into the local git\-native folder.
581
+ .TP
582
+ .B workspace connect-git
583
+ Connect a Postman workspace to a local git repository.
578
584
 
579
585
  .SS "workspace list"
580
586
  List all available Postman Workspaces
@@ -662,6 +668,62 @@ Only lint the workspace configuration (.postman/resources.yaml); skip per\-entit
662
668
  .TP
663
669
  .B \-\-workspace\-id <value>
664
670
  The workspace ID to use for fetching governance rulesets. Defaults to the id in .postman/resources.yaml.
671
+ .TP
672
+ .B \-\-fix
673
+ Apply safe autofixes to repairable workspace lint issues.
674
+
675
+ .SS "workspace pull"
676
+ Pull workspace entities from a Postman workspace into the local git\-native folder.
677
+
678
+ .B Usage:
679
+ [options] [workspaceId]
680
+
681
+ .B Options:
682
+ .TP
683
+ .B \-y, \-\-yes
684
+ Skip all confirmation prompts
685
+ .TP
686
+ .B \-\-source\-workspace <workspaceId>
687
+ Pull from a different source workspace.
688
+ .TP
689
+ .B \-\-verbose
690
+ Show detailed logging
691
+
692
+ .TP Examples:
693
+
694
+ Examples:
695
+ postman workspace pull
696
+ Pull from the workspace connected to the current directory's git remote
697
+ postman workspace pull <workspaceId>
698
+ Connect the workspace to the current directory's git remote and pull
699
+ from the workspace.
700
+ postman workspace pull \-\-source\-workspace <workspaceId>
701
+ Pull from another workspace
702
+
703
+
704
+
705
+ .SS "workspace connect\-git"
706
+ Connect a Postman workspace to a local git repository.
707
+
708
+ .B Usage:
709
+ [options] <workspaceId> [path]
710
+
711
+ .B Options:
712
+ .TP
713
+ .B \-\-verbose
714
+ Show detailed logging
715
+
716
+ .TP Examples:
717
+
718
+ Examples:
719
+ postman workspace connect\-git <workspaceId>
720
+ Register the current directory's git remote with the workspace and write the
721
+ local .postman/resources.yaml claim. Prerequisite for `pull` and `push`.
722
+ postman workspace connect\-git <workspaceId> ./services/api
723
+ Connect a specific folder. A folder below the repo root binds to its subpath,
724
+ so one repository can back several workspaces.
725
+
726
+
665
727
 
666
728
  .SS "performance"
667
729
  Manage performance tests on your collections.
@@ -712,8 +774,8 @@ How rows map to VUs: round\-robin (default), fixed, random
712
774
  .B \-\-postman\-api\-key <apiKey>
713
775
  API Key used to load the resources from the Postman API (Only supported in the US region, use 'postman login \-\-region' to authenticate instead)
714
776
  .TP
715
- .B \-\-cloud
716
- Execute the performance test on Postman Cloud (beta) (default: false)
777
+ .B \-\-runner <runner>
778
+ Runner to execute the performance test on (local or postman\-cloud) (default: )
717
779
  .TP
718
780
  .B \-\-pass\-if <condition>
719
781
  Pass condition in format: function(metric, value).
@@ -1766,24 +1828,33 @@ Run and manage local Postman mock servers.
1766
1828
  .B Subcommands:
1767
1829
  .TP
1768
1830
  .B mock generate
1769
- Generate a local, runnable mock from a Postman collection (v2.0/v2.1/v3 file, or a git\-native v3 collection directory) or an OpenAPI 3.0/3.1 spec file. The source type is auto\-detected.
1831
+ Generate a local, runnable mock from a Postman collection (v2.0/v2.1/v3 file, or a git\-native v3 collection directory) or an OpenAPI 3.0/3.1 spec file. The source type is auto\-detected. Omit the source to scaffold a sample mock with a GET /health endpoint.
1770
1832
  .TP
1771
1833
  .B mock run
1772
- Start a local mock server given a manifest file (JSON or YAML).
1834
+ Start a local mock server given a manifest file (JSON or YAML), a mock directory (postman/mocks/<slug>), or a .js handler.
1835
+ .TP
1836
+ .B mock get
1837
+ Show a local mock's details and run status.
1838
+ .TP
1839
+ .B mock list
1840
+ List local mocks found under a directory.
1841
+ .TP
1842
+ .B mock delete
1843
+ Permanently remove a local mock artifact.
1773
1844
 
1774
1845
  .SS "mock generate"
1775
- Generate a local, runnable mock from a Postman collection (v2.0/v2.1/v3 file, or a git\-native v3 collection directory) or an OpenAPI 3.0/3.1 spec file. The source type is auto\-detected.
1846
+ Generate a local, runnable mock from a Postman collection (v2.0/v2.1/v3 file, or a git\-native v3 collection directory) or an OpenAPI 3.0/3.1 spec file. The source type is auto\-detected. Omit the source to scaffold a sample mock with a GET /health endpoint.
1776
1847
 
1777
1848
  .B Usage:
1778
- <sourcePath> [options]
1849
+ [sourcePath] [options]
1779
1850
 
1780
1851
  .B Options:
1781
1852
  .TP
1782
1853
  .B \-o, \-\-output <dir>
1783
1854
  Output directory for the mock (default: postman/mocks/<slug>)
1784
1855
  .TP
1785
- .B \-\-name <name>
1786
- Display name for the generated mock
1856
+ .B \-n, \-\-name <name>
1857
+ Display name for the generated mock. Optional with a source (derived from it); required when generating without a source.
1787
1858
  .TP
1788
1859
  .B \-\-port <port>
1789
1860
  Port the mock server should listen on (default: 4500)
@@ -1800,16 +1871,17 @@ Always exit with code 0, even on failure
1800
1871
  .TP Examples:
1801
1872
 
1802
1873
  Eg. postman mock generate ./my\-collection.json
1803
- postman mock generate "./postman/collections/My Collection" \-\-port 4010
1874
+ postman mock generate \-\-name "My Mock" # sample mock with a GET /health endpoint
1875
+ postman mock generate \-\-name "My Mock" \-\-port 4010 # sample mock, custom port
1804
1876
  postman mock generate ./openapi.yaml \-\-output ./postman/mocks/api \-\-port 4010
1805
1877
  postman mock generate ./my\-collection.json \-\-update ./postman/mocks/orders
1806
1878
 
1807
1879
 
1808
1880
  .SS "mock run"
1809
- Start a local mock server given a manifest file (JSON or YAML).
1881
+ Start a local mock server given a manifest file (JSON or YAML), a mock directory (postman/mocks/<slug>), or a .js handler.
1810
1882
 
1811
1883
  .B Usage:
1812
- <manifestPath>
1884
+ <pathOrDir>
1813
1885
 
1814
1886
  .B Options:
1815
1887
  .TP
@@ -1823,13 +1895,67 @@ Path to a globals file (JSON or YAML) for pm.globals
1823
1895
  Mock server port, or "auto" for an ephemeral one (default: configured port, falls back to an ephemeral one if busy).
1824
1896
 
1825
1897
  .TP Examples:
1826
- Eg. postman mock run ./postman/mock\-manifest.json
1898
+ Eg. postman mock run ./postman/mocks/orders # a mock directory
1899
+ postman mock run ./postman/mock\-manifest.json
1827
1900
  postman mock run ./postman/mock\-manifest.yaml
1828
1901
  postman mock run ./manifest.json \-\-environment ./postman/environments/dev.yaml
1829
1902
  postman mock run ./manifest.yaml \-\-port auto # OS\-assigned ephemeral port
1830
1903
  postman mock run ./manifest.yaml \-\-port 4600 # exact port, errors if busy
1831
1904
 
1832
1905
 
1906
+ .SS "mock get"
1907
+ Show a local mock's details and run status.
1908
+
1909
+ .B Usage:
1910
+ <pathOrDir> [options]
1911
+
1912
+ .B Options:
1913
+ .TP
1914
+ .B \-\-json
1915
+ Output the mock details as JSON instead of a table
1916
+
1917
+ .TP Examples:
1918
+
1919
+ Eg. postman mock get ./postman/mocks/orders
1920
+ postman mock get ./postman/mocks/orders \-\-json
1921
+
1922
+
1923
+ .SS "mock list"
1924
+ List local mocks found under a directory.
1925
+
1926
+ .B Usage:
1927
+ [pathOrDir] [options]
1928
+
1929
+ .B Options:
1930
+ .TP
1931
+ .B \-\-json
1932
+ Output the mock list as JSON instead of a table
1933
+
1934
+ .TP Examples:
1935
+
1936
+ Eg. postman mock list
1937
+ postman mock list ./postman/mocks
1938
+ postman mock list ./postman/mocks \-\-json
1939
+
1940
+
1941
+ .SS "mock delete"
1942
+ Permanently remove a local mock artifact.
1943
+
1944
+ .B Usage:
1945
+ <pathOrDir> [options]
1946
+
1947
+ .B Options:
1948
+ .TP
1949
+ .B \-y, \-\-yes
1950
+ Skip the confirmation prompt
1951
+
1952
+ .TP Examples:
1953
+
1954
+ Eg. postman mock delete ./postman/mocks/orders
1955
+ postman mock delete ./postman/mocks/orders \-\-yes
1956
+ postman mock delete ./postman/mocks/orders/config.yaml \-\-yes
1957
+
1958
+
1833
1959
  .SS "application"
1834
1960
  Application\-level commands: initialise config and run tests.
1835
1961
 
@@ -1839,12 +1965,17 @@ Application\-level commands: initialise config and run tests.
1839
1965
  .B Subcommands:
1840
1966
  .TP
1841
1967
  .B application init
1968
+ [DEPRECATED] Use `postman app test` instead.
1842
1969
  Initialise a postman.config.cjs file with target collections, environment, and test command.
1843
1970
  .TP
1844
1971
  .B application test
1845
1972
  Run a command first (primary task), then match captured traffic against Postman collections and run assertions.
1973
+ .TP
1974
+ .B application setup-capture
1975
+ Install postman\-playwright and patch playwright.config.* to capture network traffic automatically via withPostman().
1846
1976
 
1847
1977
  .SS "application init"
1978
+ [DEPRECATED] Use `postman app test` instead.
1848
1979
  Initialise a postman.config.cjs file with target collections, environment, and test command.
1849
1980
 
1850
1981
  .B Usage:
@@ -1953,6 +2084,34 @@ Examples:
1953
2084
  postman app test \-\-capture\-only \-\-output ./my\-captured\-traffic/
1954
2085
 
1955
2086
 
2087
+ .SS "application setup\-capture"
2088
+ Install postman\-playwright and patch playwright.config.* to capture network traffic automatically via withPostman().
2089
+
2090
+ .B Usage:
2091
+ [options]
2092
+
2093
+ .B Options:
2094
+ .TP
2095
+ .B \-\-config <path>
2096
+ Path to playwright.config.* to patch (default: auto\-detect)
2097
+
2098
+ .TP Examples:
2099
+
2100
+ Detects the package manager (npm / yarn / pnpm / bun) from lockfiles,
2101
+ installs postman\-playwright as a dev dependency if needed, then
2102
+ wraps your Playwright config's default export with withPostman().
2103
+
2104
+ If auto\-patching is not possible (unusual config patterns), the
2105
+ command prints manual setup steps instead.
2106
+
2107
+ Examples:
2108
+ postman app setup\-capture
2109
+ postman app setup\-capture \-\-config apps/api/playwright.config.ts
2110
+
2111
+ After setup, run your tests normally:
2112
+ postman app test
2113
+
2114
+
1956
2115
  .SS "simulate"
1957
2116
  Start mock servers with simulated failure scenarios.
1958
2117
 
@@ -3016,11 +3175,20 @@ Examples:
3016
3175
 
3017
3176
 
3018
3177
  .SS "dataset"
3019
- [BETA] Work with Postman datasets defined in local YAML files.
3178
+ [BETA] Work with Postman datasets in local YAML files or the cloud.
3020
3179
 
3021
3180
  .B Usage:
3022
3181
  [options] [command]
3023
3182
 
3183
+ .TP Examples:
3184
+
3185
+ Targeting:
3186
+ Local datasets: pass a .dataset.yaml path.
3187
+ Cloud datasets: pass a dataset id; list/create use \-w <workspace\-id>.
3188
+ Cloud operations require a paid Postman plan and `postman login` or \-\-api\-key.
3189
+
3190
+
3191
+
3024
3192
  .B Subcommands:
3025
3193
  .TP
3026
3194
  .B dataset list
@@ -3036,7 +3204,7 @@ Examples:
3036
3204
  [BETA] Scaffold a new .dataset.yaml at <path>, or (no path, with \-w) create a cloud dataset.
3037
3205
  .TP
3038
3206
  .B dataset delete
3039
- [BETA] Permanently remove a dataset: a local .dataset.yaml (+ .resources/) or a cloud dataset id.
3207
+ [BETA] Permanently remove a dataset: a local .dataset.yaml or a cloud dataset id.
3040
3208
  .TP
3041
3209
  .B dataset source
3042
3210
  [BETA] Inspect and manage a dataset's datasources.
@@ -3107,19 +3275,23 @@ Examples:
3107
3275
  SQL query to execute (e.g. "SELECT * FROM source_users LIMIT 10")
3108
3276
  .TP
3109
3277
  .B \-p, \-\-param <value...>
3110
- Positional parameter values for $1, $2, ... bindings; repeatable
3278
+ Bind values to $1, $2, ... in order; pass multiple values after \-p or repeat \-p
3111
3279
  .TP
3112
3280
  .B \-\-api\-key <key>
3113
3281
  Postman API key (defaults to the `postman login` session)
3114
3282
  .TP
3115
3283
  .B \-\-json
3116
3284
  Output rows as JSON instead of a table
3285
+ .TP
3286
+ .B \-\-debug
3287
+ Include safe classified dataset diagnostics
3117
3288
 
3118
3289
  .TP Examples:
3119
3290
 
3120
3291
  Examples:
3121
3292
  postman dataset query ./users.dataset.yaml \-q "SELECT * FROM source_users LIMIT 5"
3122
- postman dataset query ./users.dataset.yaml \-q "SELECT * FROM source_users WHERE id = $1" \-p 42
3293
+ postman dataset query ./users.dataset.yaml \e
3294
+ \-q 'SELECT * FROM source_users WHERE id = $1 AND active = $2' \-p 42 true
3123
3295
  postman dataset query 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-q "SELECT * FROM users LIMIT 5"
3124
3296
 
3125
3297
 
@@ -3159,7 +3331,7 @@ Examples:
3159
3331
 
3160
3332
 
3161
3333
  .SS "dataset delete"
3162
- [BETA] Permanently remove a dataset: a local .dataset.yaml (+ .resources/) or a cloud dataset id.
3334
+ [BETA] Permanently remove a dataset: a local .dataset.yaml or a cloud dataset id.
3163
3335
 
3164
3336
  .B Usage:
3165
3337
  [options] <datasetPathOrId>
@@ -3170,7 +3342,7 @@ Examples:
3170
3342
  Skip the confirmation prompt
3171
3343
  .TP
3172
3344
  .B \-\-keep\-resources
3173
- Delete only the YAML file; leave the .resources/ directory intact (local only)
3345
+ Preserve the local resource directory even when it is empty (local only)
3174
3346
  .TP
3175
3347
  .B \-\-api\-key <key>
3176
3348
  Postman API key (defaults to the `postman login` session)
@@ -3182,6 +3354,10 @@ Examples:
3182
3354
  postman dataset delete ./postman/datasets/users/users.dataset.yaml \-\-yes
3183
3355
  postman dataset delete 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-\-yes
3184
3356
 
3357
+ Local resource cleanup:
3358
+ Local source files are preserved because references can cross directory boundaries.
3359
+ An empty resource directory is removed unless \-\-keep\-resources is passed.
3360
+
3185
3361
 
3186
3362
 
3187
3363
  .SS "dataset source"
@@ -3233,24 +3409,24 @@ Examples:
3233
3409
  [BETA] Add a datasource to a dataset.
3234
3410
 
3235
3411
  .B Usage:
3236
- [options]
3412
+ [options] [datasetPathOrId]
3237
3413
 
3238
3414
  .B Options:
3239
3415
  .TP
3240
3416
  .B \-d, \-\-dataset <datasetPathOrId>
3241
- Dataset to add the source to a local .dataset.yaml path or a cloud dataset id
3417
+ Dataset to add the source to; positional target is also accepted for v1.45 compatibility
3242
3418
  .TP
3243
3419
  .B \-n, \-\-name <name>
3244
3420
  Logical name for the source (becomes the SQL table name)
3245
3421
  .TP
3246
3422
  .B \-\-source\-id <uuid>
3247
- Override the generated source id
3423
+ Override the generated source id (local dataset only)
3248
3424
  .TP
3249
- .B \-\-format <csv|json|mysql|postgres>
3250
- Override the inferred format
3425
+ .B \-\-format <csv|json|mysql|postgres|sqlserver>
3426
+ Use this format instead of extension/type inference; file contents are not sniffed
3251
3427
  .TP
3252
- .B \-\-type <local|remote\-url|mysql|postgresql>
3253
- Source kind; inferred from \-\-file/\-\-url when omitted
3428
+ .B \-\-type <local|mysql|postgresql|sqlserver>
3429
+ Source kind; local is inferred when \-\-file is provided
3254
3430
  .TP
3255
3431
  .B \-\-file <path>
3256
3432
  Path to a local CSV/JSON file (absolute or cwd\-relative)
@@ -3264,14 +3440,11 @@ When copying, overwrite an existing file at the destination (local dataset)
3264
3440
  .B \-\-upload
3265
3441
  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.
3266
3442
  .TP
3267
- .B \-\-url <url>
3268
- HTTP(S) URL to a remote CSV/JSON file
3269
- .TP
3270
3443
  .B \-\-host <host>
3271
- DB host (mysql/postgresql)
3444
+ DB host (mysql/postgresql/sqlserver)
3272
3445
  .TP
3273
3446
  .B \-\-port <port>
3274
- DB port
3447
+ DB port (defaults to 1433 for sqlserver)
3275
3448
  .TP
3276
3449
  .B \-\-user <user>
3277
3450
  DB user (warning: stored as plaintext in the YAML).
@@ -3283,14 +3456,69 @@ DB password. WARNING: passing it here exposes it in `ps` output and shell histor
3283
3456
  DB database name
3284
3457
  .TP
3285
3458
  .B \-\-table <table>
3286
- DB table name (optional)
3459
+ DB table name (required for sqlserver)
3460
+ .TP
3461
+ .B \-\-ssh\-host <host>
3462
+ SSH bastion host
3463
+ .TP
3464
+ .B \-\-ssh\-port <port>
3465
+ SSH bastion port
3466
+ .TP
3467
+ .B \-\-ssh\-user <user>
3468
+ SSH bastion user
3469
+ .TP
3470
+ .B \-\-ssh\-private\-key <filepath>
3471
+ Path to the SSH private key. WARNING: the path is visible in `ps` output and shell history; key contents are read locally at execution time and are not stored in the dataset config.
3472
+ .TP
3473
+ .B \-\-ssh\-host\-key <publicKey>
3474
+ SSH bastion public host key
3475
+ .TP
3476
+ .B \-\-ssh\-host\-key\-vault\-id <id>
3477
+ Shared Vault ID containing the SSH public host key
3478
+ .TP
3479
+ .B \-\-ssh\-host\-key\-secret\-id <id>
3480
+ Shared Vault secret ID containing the SSH public host key
3287
3481
  .TP
3288
- .B \-\-slug <slug>
3289
- Optional slug for the source
3482
+ .B \-\-ssh\-insecure\-skip\-host\-key\-verification
3483
+ WARNING: disable SSH host\-key verification; use only for trusted local testing
3484
+ .TP
3485
+ .B \-\-schema <schema>
3486
+ DB schema (postgresql/sqlserver; defaults to dbo for sqlserver)
3487
+ .TP
3488
+ .B \-\-encrypt <true|false>
3489
+ SQL Server TLS encryption (default: true)
3490
+ .TP
3491
+ .B \-\-trust\-server\-certificate <true|false>
3492
+ SQL Server: skip certificate verification (default: false; insecure)
3493
+ .TP
3494
+ .B \-\-tls\-certificate <path>
3495
+ SQL Server CA/server certificate file path
3496
+ .TP
3497
+ .B \-\-host\-name\-in\-certificate <hostname>
3498
+ SQL Server certificate hostname override
3499
+ .TP
3500
+ .B \-\-tls\-min\-version <1.2|1.3>
3501
+ SQL Server minimum TLS version (default: 1.2)
3290
3502
  .TP
3291
3503
  .B \-\-api\-key <key>
3292
3504
  Postman API key (defaults to the `postman login` session)
3293
3505
 
3506
+ .TP Examples:
3507
+
3508
+ Examples:
3509
+ postman dataset source add \-d ./users.dataset.yaml \-n users \-\-file ./users.csv
3510
+ postman dataset source add \-d ./users.dataset.yaml \-n users \-\-file ./users.txt \-\-format json
3511
+ postman dataset source add \-d 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \e
3512
+ \-n users \-\-file ./users.csv \-\-upload
3513
+
3514
+ Format selection:
3515
+ File extensions are used only when \-\-format is omitted. An explicit \-\-format is authoritative.
3516
+
3517
+ Execution:
3518
+ \-\-upload runs file\-backed queries in the cloud service. Without \-\-upload, the local engine reads the file.
3519
+
3520
+
3521
+
3294
3522
  .SS "dataset source remove"
3295
3523
  [BETA] Remove a datasource from a dataset (local YAML path or cloud id).
3296
3524
 
@@ -3328,23 +3556,20 @@ Dataset the source belongs to — a local .dataset.yaml path or a cloud dataset
3328
3556
  .B \-n, \-\-name <name>
3329
3557
  Rename the source
3330
3558
  .TP
3331
- .B \-\-format <csv|json|mysql|postgres>
3332
- Change the format
3559
+ .B \-\-format <csv|json|mysql|postgres|sqlserver>
3560
+ Change the format (local dataset only; cloud source formats are immutable)
3333
3561
  .TP
3334
3562
  .B \-\-file <path>
3335
- Replace the source's file (local\-filesystem only)
3563
+ Replace the source file (local dataset only; cloud file replacement is unsupported)
3336
3564
  .TP
3337
3565
  .B \-\-ref\-only
3338
- When using \-\-file, reference in place instead of copying
3566
+ With \-\-file, reference in place instead of copying (local dataset only)
3339
3567
  .TP
3340
3568
  .B \-\-force
3341
- When copying with \-\-file, overwrite existing destination
3342
- .TP
3343
- .B \-\-url <url>
3344
- Replace the remote URL (remote\-url only)
3569
+ With \-\-file, overwrite the copied destination (local dataset only)
3345
3570
  .TP
3346
3571
  .B \-\-host <host>
3347
- Update DB host (mysql/postgresql)
3572
+ Update DB host (mysql/postgresql/sqlserver)
3348
3573
  .TP
3349
3574
  .B \-\-port <port>
3350
3575
  Update DB port
@@ -3361,12 +3586,61 @@ Update DB database name
3361
3586
  .B \-\-table <table>
3362
3587
  Update DB table name
3363
3588
  .TP
3364
- .B \-\-slug <slug>
3365
- Update slug
3589
+ .B \-\-ssh\-host <host>
3590
+ Update SSH bastion host
3591
+ .TP
3592
+ .B \-\-ssh\-port <port>
3593
+ Update SSH bastion port
3594
+ .TP
3595
+ .B \-\-ssh\-user <user>
3596
+ Update SSH bastion user
3597
+ .TP
3598
+ .B \-\-ssh\-private\-key <filepath>
3599
+ Update the SSH private\-key file path. WARNING: the path is visible in `ps` output and shell history; key contents are read locally and are not stored in the dataset config.
3600
+ .TP
3601
+ .B \-\-ssh\-host\-key <publicKey>
3602
+ Update the SSH bastion public host key
3603
+ .TP
3604
+ .B \-\-ssh\-host\-key\-vault\-id <id>
3605
+ Update the Shared Vault ID containing the SSH public host key
3606
+ .TP
3607
+ .B \-\-ssh\-host\-key\-secret\-id <id>
3608
+ Update the Shared Vault secret ID containing the SSH public host key
3609
+ .TP
3610
+ .B \-\-ssh\-insecure\-skip\-host\-key\-verification
3611
+ WARNING: disable SSH host\-key verification; use only for trusted local testing
3612
+ .TP
3613
+ .B \-\-schema <schema>
3614
+ Update DB schema (postgresql/sqlserver)
3615
+ .TP
3616
+ .B \-\-encrypt <true|false>
3617
+ Update SQL Server TLS encryption
3618
+ .TP
3619
+ .B \-\-trust\-server\-certificate <true|false>
3620
+ Update SQL Server certificate verification (true is insecure)
3621
+ .TP
3622
+ .B \-\-tls\-certificate <path>
3623
+ Update SQL Server CA/server certificate file path
3624
+ .TP
3625
+ .B \-\-host\-name\-in\-certificate <hostname>
3626
+ Update SQL Server certificate hostname override
3627
+ .TP
3628
+ .B \-\-tls\-min\-version <1.2|1.3>
3629
+ Update SQL Server minimum TLS version
3366
3630
  .TP
3367
3631
  .B \-\-api\-key <key>
3368
3632
  Postman API key (defaults to the `postman login` session)
3369
3633
 
3634
+ .TP Examples:
3635
+
3636
+ Examples:
3637
+ postman dataset source update users \-d ./users.dataset.yaml \-\-name customers
3638
+ postman dataset source update users \-d ./users.dataset.yaml \-\-file ./users\-v2.csv
3639
+ postman dataset source update orders\-db \e
3640
+ \-d 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-\-host db.internal.example
3641
+
3642
+
3643
+
3370
3644
  .SS "dataset view"
3371
3645
  [BETA] Inspect and manage saved views on a dataset.
3372
3646
 
@@ -3427,20 +3701,25 @@ Examples:
3427
3701
  Dataset the view belongs to — a local .dataset.yaml path or a cloud dataset id
3428
3702
  .TP
3429
3703
  .B \-p, \-\-param <value...>
3430
- Positional parameter values for $1, $2, ... bindings; repeatable
3704
+ Bind values to $1, $2, ... in order; pass multiple values after \-p or repeat \-p
3431
3705
  .TP
3432
3706
  .B \-\-api\-key <key>
3433
3707
  Postman API key (defaults to the `postman login` session)
3434
3708
  .TP
3435
3709
  .B \-\-json
3436
3710
  Output rows as JSON instead of a table
3711
+ .TP
3712
+ .B \-\-debug
3713
+ Include safe classified dataset diagnostics
3437
3714
 
3438
3715
  .TP Examples:
3439
3716
 
3440
3717
  Examples:
3441
3718
  postman dataset view run "Active Users" \-d ./users.dataset.yaml
3719
+ postman dataset view run "Users By Status" \-d ./users.dataset.yaml \-p active 20
3442
3720
  postman dataset view run ea748a6a\-ed3c\-496d\-b91e\-6ccc8e4d0e9d \-d ./users.dataset.yaml
3443
- postman dataset view run "Active Users" \-d 14e30f6c\-1234\-1234\-1234\-cafef00dc0de
3721
+ postman dataset view run "Active Users" \e
3722
+ \-d 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-p true
3444
3723
 
3445
3724
 
3446
3725
 
@@ -3522,8 +3801,10 @@ Postman API key (defaults to the `postman login` session)
3522
3801
  .TP Examples:
3523
3802
 
3524
3803
  Examples:
3525
- postman dataset view update "Active Users" \-d ./users.dataset.yaml \-q "SELECT ..."
3526
- postman dataset view update "Active Users" \-d 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-q "SELECT ..."
3804
+ postman dataset view update "Active Users" \e
3805
+ \-d ./users.dataset.yaml \-q "SELECT * FROM source_users"
3806
+ postman dataset view update "Active Users" \e
3807
+ \-d 14e30f6c\-1234\-1234\-1234\-cafef00dc0de \-q "SELECT * FROM users"
3527
3808
 
3528
3809
 
3529
3810
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli",
3
- "version": "1.49.0",
3
+ "version": "1.51.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.49.0",
62
- "@postman/pm-bin-macos-x64": "1.49.0",
63
- "@postman/pm-bin-linux-x64": "1.49.0",
64
- "@postman/pm-bin-linux-arm64": "1.49.0",
65
- "@postman/pm-bin-windows-x64": "1.49.0"
61
+ "@postman/pm-bin-macos-arm64": "1.51.0",
62
+ "@postman/pm-bin-macos-x64": "1.51.0",
63
+ "@postman/pm-bin-linux-x64": "1.51.0",
64
+ "@postman/pm-bin-linux-arm64": "1.51.0",
65
+ "@postman/pm-bin-windows-x64": "1.51.0"
66
66
  }
67
67
  }