postman-cli-completion 1.74.0 → 1.76.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.
@@ -1,4 +1,4 @@
1
- # Bash completion for Postman CLI (postman v1.74.0)
1
+ # Bash completion for Postman CLI (postman v1.76.0)
2
2
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
3
3
  # Source: spec/commands.json
4
4
  # https://github.com/yokawasa/postman-cli-completion
@@ -146,7 +146,7 @@ _postman_collection() {
146
146
 
147
147
  _postman_collection_new() {
148
148
  if [[ "$cur" == -* ]]; then
149
- COMPREPLY=( $(compgen -W "-w --workspace --force --verbose --json -h --help" -- "$cur") )
149
+ COMPREPLY=( $(compgen -W "-w --workspace --force -m --message --verbose --json -h --help" -- "$cur") )
150
150
  return 0
151
151
  fi
152
152
  case "$prev" in
@@ -203,7 +203,7 @@ _postman_collection_get() {
203
203
 
204
204
  _postman_collection_delete() {
205
205
  if [[ "$cur" == -* ]]; then
206
- COMPREPLY=( $(compgen -W "-y --yes --api-key --verbose --json -h --help" -- "$cur") )
206
+ COMPREPLY=( $(compgen -W "-y --yes --api-key -m --message --verbose --json -h --help" -- "$cur") )
207
207
  return 0
208
208
  fi
209
209
  case "$prev" in
@@ -302,7 +302,7 @@ _postman_collection_request() {
302
302
 
303
303
  _postman_collection_request_add() {
304
304
  if [[ "$cur" == -* ]]; then
305
- COMPREPLY=( $(compgen -W "--collection --folder --type -w --workspace --json -h --help" -- "$cur") )
305
+ COMPREPLY=( $(compgen -W "--collection --folder --type -w --workspace -m --message --json -h --help" -- "$cur") )
306
306
  return 0
307
307
  fi
308
308
  case "$prev" in
@@ -320,7 +320,7 @@ _postman_collection_request_get() {
320
320
 
321
321
  _postman_collection_request_update() {
322
322
  if [[ "$cur" == -* ]]; then
323
- COMPREPLY=( $(compgen -W "--collection --folder --rename --url --method --param --clear-params -d --body --variables --description --headers --auth --scripts -w --workspace --type --json -h --help" -- "$cur") )
323
+ COMPREPLY=( $(compgen -W "--collection --folder --rename --url --method --param --clear-params -d --body --variables --description --headers --auth --scripts -w --workspace --type -m --message --json -h --help" -- "$cur") )
324
324
  return 0
325
325
  fi
326
326
  case "$prev" in
@@ -335,7 +335,7 @@ _postman_collection_request_update() {
335
335
 
336
336
  _postman_collection_request_rm() {
337
337
  if [[ "$cur" == -* ]]; then
338
- COMPREPLY=( $(compgen -W "--collection --folder -w --workspace --type --json -h --help" -- "$cur") )
338
+ COMPREPLY=( $(compgen -W "--collection --folder -w --workspace --type -m --message --json -h --help" -- "$cur") )
339
339
  return 0
340
340
  fi
341
341
  case "$prev" in
@@ -361,7 +361,7 @@ _postman_collection_folder() {
361
361
 
362
362
  _postman_collection_folder_add() {
363
363
  if [[ "$cur" == -* ]]; then
364
- COMPREPLY=( $(compgen -W "--collection --folder -w --workspace --json -h --help" -- "$cur") )
364
+ COMPREPLY=( $(compgen -W "--collection --folder -w --workspace -m --message --json -h --help" -- "$cur") )
365
365
  return 0
366
366
  fi
367
367
  case "$prev" in
@@ -379,7 +379,7 @@ _postman_collection_folder_get() {
379
379
 
380
380
  _postman_collection_folder_update() {
381
381
  if [[ "$cur" == -* ]]; then
382
- COMPREPLY=( $(compgen -W "--collection --folder --name --description --auth --scripts -w --workspace --json -h --help" -- "$cur") )
382
+ COMPREPLY=( $(compgen -W "--collection --folder --name --description --auth --scripts -w --workspace -m --message --json -h --help" -- "$cur") )
383
383
  return 0
384
384
  fi
385
385
  case "$prev" in
@@ -388,7 +388,7 @@ _postman_collection_folder_update() {
388
388
 
389
389
  _postman_collection_folder_rm() {
390
390
  if [[ "$cur" == -* ]]; then
391
- COMPREPLY=( $(compgen -W "--collection --folder -y --yes -w --workspace --json -h --help" -- "$cur") )
391
+ COMPREPLY=( $(compgen -W "--collection --folder -y --yes -w --workspace -m --message --json -h --help" -- "$cur") )
392
392
  return 0
393
393
  fi
394
394
  case "$prev" in
@@ -415,7 +415,7 @@ _postman_collection_example() {
415
415
 
416
416
  _postman_collection_example_add() {
417
417
  if [[ "$cur" == -* ]]; then
418
- COMPREPLY=( $(compgen -W "--collection --request --folder --type -w --workspace --json -h --help" -- "$cur") )
418
+ COMPREPLY=( $(compgen -W "--collection --request --folder --type -w --workspace -m --message --json -h --help" -- "$cur") )
419
419
  return 0
420
420
  fi
421
421
  case "$prev" in
@@ -424,7 +424,7 @@ _postman_collection_example_add() {
424
424
 
425
425
  _postman_collection_example_update() {
426
426
  if [[ "$cur" == -* ]]; then
427
- COMPREPLY=( $(compgen -W "--collection --request --folder --status-code --status-text -d --body --headers --description --rename --url --method --request-headers --request-param --request-body --copy-request --clear-request -w --workspace --type --json -h --help" -- "$cur") )
427
+ COMPREPLY=( $(compgen -W "--collection --request --folder --status-code --status-text -d --body --headers --description --rename --url --method --request-headers --request-param --request-body --copy-request --clear-request -w --workspace --type -m --message --json -h --help" -- "$cur") )
428
428
  return 0
429
429
  fi
430
430
  case "$prev" in
@@ -442,7 +442,7 @@ _postman_collection_example_update() {
442
442
 
443
443
  _postman_collection_example_rm() {
444
444
  if [[ "$cur" == -* ]]; then
445
- COMPREPLY=( $(compgen -W "--collection --request --folder -w --workspace --type --json -h --help" -- "$cur") )
445
+ COMPREPLY=( $(compgen -W "--collection --request --folder -w --workspace --type -m --message --json -h --help" -- "$cur") )
446
446
  return 0
447
447
  fi
448
448
  case "$prev" in
@@ -490,7 +490,7 @@ _postman_collection_list() {
490
490
 
491
491
  _postman_collection_run() {
492
492
  if [[ "$cur" == -* ]]; then
493
- COMPREPLY=( $(compgen -W "-e --environment -g --globals --output -n --iteration-count -d --iteration-data --iteration-data-dataset --iteration-data-view --dataset -i --global-var --env-var --integration-id --postman-api-key --alias --bail --ignore-redirects -x --suppress-exit-code --silent --disable-unicode --delay-request --timeout --timeout-request --timeout-script --working-dir --no-insecure-file-read -k --insecure --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase --ssl-extra-ca-certs --cookie-jar --export-cookie-jar --verbose --mock --port --use-mock --simulation -w --workspace --report-events --no-report-events -h --help" -- "$cur") )
493
+ COMPREPLY=( $(compgen -W "-e --environment -g --globals --output -n --iteration-count -d --iteration-data --iteration-data-dataset --iteration-data-view --dataset -i --global-var --env-var --integration-id --postman-api-key --alias --bail --ignore-redirects -x --suppress-exit-code --silent --disable-unicode --delay-request --timeout --timeout-request --timeout-script --working-dir --no-insecure-file-read -k --insecure --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase --ssl-extra-ca-certs --cookie-jar --export-cookie-jar --verbose --port --use-mock --simulation -w --workspace --report-events --no-report-events -h --help" -- "$cur") )
494
494
  return 0
495
495
  fi
496
496
  case "$prev" in
@@ -533,9 +533,6 @@ _postman_collection_run() {
533
533
  --export-cookie-jar)
534
534
  _postman_filematch '!*.@(json)' "$cur"
535
535
  return 0 ;;
536
- --mock)
537
- _postman_filematch '!*.@(json)' "$cur"
538
- return 0 ;;
539
536
  --simulation)
540
537
  _postman_filematch '!*.@(json)' "$cur"
541
538
  return 0 ;;
@@ -658,7 +655,7 @@ _postman_dataset_source_list() {
658
655
 
659
656
  _postman_dataset_source_add() {
660
657
  if [[ "$cur" == -* ]]; then
661
- COMPREPLY=( $(compgen -W "-d --dataset -n --name --source-id --format --type --file --ref-only --force --upload --driver-jar --driver-class --driver-name --url-template --var --prop --vars-file --from-source --java-path --no-test --ssh-target-host-variable --ssh-target-port-variable --json --host --port --user --password --database --table --ssh-host --ssh-port --ssh-user --ssh-private-key --ssh-host-key --ssh-host-key-vault-id --ssh-host-key-secret-id --ssh-insecure-skip-host-key-verification --schema --encrypt --trust-server-certificate --tls-certificate --host-name-in-certificate --tls-min-version --api-key -h --help" -- "$cur") )
658
+ COMPREPLY=( $(compgen -W "-d --dataset -n --name --source-id --format --type --file --ref-only --force --upload --driver-jar --driver-class --driver-name --url-template --var --prop --vars-file -w --workspace --from-source --java-path --no-test --ssh-target-host-variable --ssh-target-port-variable --json --host --port --user --password --database --table --ssh-host --ssh-port --ssh-user --ssh-private-key --ssh-host-key --ssh-host-key-vault-id --ssh-host-key-secret-id --ssh-insecure-skip-host-key-verification --schema --encrypt --trust-server-certificate --tls-certificate --host-name-in-certificate --tls-min-version --api-key -h --help" -- "$cur") )
662
659
  return 0
663
660
  fi
664
661
  case "$prev" in
@@ -700,7 +697,7 @@ _postman_dataset_source_remove() {
700
697
 
701
698
  _postman_dataset_source_update() {
702
699
  if [[ "$cur" == -* ]]; then
703
- COMPREPLY=( $(compgen -W "-d --dataset -n --name --format --file --ref-only --force --driver-jar --driver-class --driver-name --url-template --var --prop --unset-var --unset-prop --vars-file --ssh-target-host-variable --ssh-target-port-variable --java-path --host --port --user --password --database --table --ssh-host --ssh-port --ssh-user --ssh-private-key --ssh-host-key --ssh-host-key-vault-id --ssh-host-key-secret-id --ssh-insecure-skip-host-key-verification --schema --encrypt --trust-server-certificate --tls-certificate --host-name-in-certificate --tls-min-version --api-key --json -h --help" -- "$cur") )
700
+ COMPREPLY=( $(compgen -W "-d --dataset -n --name --format --file --ref-only --force --driver-jar --driver-class --driver-name --url-template --var --prop --unset-var --unset-prop --vars-file -w --workspace --ssh-target-host-variable --ssh-target-port-variable --java-path --host --port --user --password --database --table --ssh-host --ssh-port --ssh-user --ssh-private-key --ssh-host-key --ssh-host-key-vault-id --ssh-host-key-secret-id --ssh-insecure-skip-host-key-verification --schema --encrypt --trust-server-certificate --tls-certificate --host-name-in-certificate --tls-min-version --api-key --json -h --help" -- "$cur") )
704
701
  return 0
705
702
  fi
706
703
  case "$prev" in
@@ -1201,7 +1198,7 @@ _postman_mock() {
1201
1198
 
1202
1199
  _postman_mock_generate() {
1203
1200
  if [[ "$cur" == -* ]]; then
1204
- COMPREPLY=( $(compgen -W "-o --output -n --name --port --stateful --force -u --update -w --workspace --api-key -x --suppress-exit-code -h --help" -- "$cur") )
1201
+ COMPREPLY=( $(compgen -W "-o --output -n --name --port --stateful --force -u --update -w --workspace --deploy --public -s --slug --json --api-key -x --suppress-exit-code -h --help" -- "$cur") )
1205
1202
  return 0
1206
1203
  fi
1207
1204
  case "$prev" in
@@ -1219,7 +1216,7 @@ _postman_mock_generate() {
1219
1216
 
1220
1217
  _postman_mock_run() {
1221
1218
  if [[ "$cur" == -* ]]; then
1222
- COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --api-key -w --workspace --no-history --output --dataset -h --help" -- "$cur") )
1219
+ COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --api-key -w --workspace --no-history --output --verbose --dataset -h --help" -- "$cur") )
1223
1220
  return 0
1224
1221
  fi
1225
1222
  case "$prev" in
@@ -1254,7 +1251,7 @@ _postman_mock_push() {
1254
1251
 
1255
1252
  _postman_mock_deploy() {
1256
1253
  if [[ "$cur" == -* ]]; then
1257
- COMPREPLY=( $(compgen -W "-w --workspace -n --name -s --slug --public --auto-deploy -y --yes --api-key -h --help" -- "$cur") )
1254
+ COMPREPLY=( $(compgen -W "-w --workspace -n --name -s --slug --public --auto-deploy -y --yes --api-key --json -h --help" -- "$cur") )
1258
1255
  return 0
1259
1256
  fi
1260
1257
  case "$prev" in
@@ -1943,7 +1940,7 @@ _postman_workspace() {
1943
1940
  if [[ "$cur" == -* ]]; then
1944
1941
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
1945
1942
  else
1946
- COMPREPLY=( $(compgen -W "list prepare push lint get create delete pull connect-git disconnect-git diff" -- "$cur") )
1943
+ COMPREPLY=( $(compgen -W "list prepare push lint get activity create delete pull connect-git disconnect-git diff" -- "$cur") )
1947
1944
  fi
1948
1945
  return 0
1949
1946
  fi
@@ -1953,6 +1950,7 @@ _postman_workspace() {
1953
1950
  push) _postman_workspace_push ;;
1954
1951
  lint) _postman_workspace_lint ;;
1955
1952
  get) _postman_workspace_get ;;
1953
+ activity) _postman_workspace_activity ;;
1956
1954
  create) _postman_workspace_create ;;
1957
1955
  delete) _postman_workspace_delete ;;
1958
1956
  pull) _postman_workspace_pull ;;
@@ -2005,6 +2003,15 @@ _postman_workspace_get() {
2005
2003
  esac
2006
2004
  }
2007
2005
 
2006
+ _postman_workspace_activity() {
2007
+ if [[ "$cur" == -* ]]; then
2008
+ COMPREPLY=( $(compgen -W "--type --contributor --cursor --limit --markdown --json --timeout -h --help" -- "$cur") )
2009
+ return 0
2010
+ fi
2011
+ case "$prev" in
2012
+ esac
2013
+ }
2014
+
2008
2015
  _postman_workspace_create() {
2009
2016
  if [[ "$cur" == -* ]]; then
2010
2017
  COMPREPLY=( $(compgen -W "--visibility --name --summary --team-id --team-role --path --no-connect --force --json -h --help" -- "$cur") )
@@ -2077,7 +2084,7 @@ _postman_context_graph() {
2077
2084
 
2078
2085
  _postman_context_graph_ask() {
2079
2086
  if [[ "$cur" == -* ]]; then
2080
- COMPREPLY=( $(compgen -W "--wait --api-key --json --no-include-answer --max-steps --interval --timeout -h --help" -- "$cur") )
2087
+ COMPREPLY=( $(compgen -W "--wait --api-key --json --no-include-answer --interval --timeout -h --help" -- "$cur") )
2081
2088
  return 0
2082
2089
  fi
2083
2090
  case "$prev" in
@@ -2509,7 +2516,7 @@ _postman_application_init() {
2509
2516
 
2510
2517
  _postman_application_test() {
2511
2518
  if [[ "$cur" == -* ]]; then
2512
- COMPREPLY=( $(compgen -W "--target --target-collection --target-environment --command --deployed-version --network-log --capture-only --output --force --report-events --no-report-events --verbose -h --help" -- "$cur") )
2519
+ COMPREPLY=( $(compgen -W "--target --target-collection --target-environment --command --deployed-version --network-log --capture-only --output --force --report-events --no-report-events --generate-collection -y --yes --verbose -h --help" -- "$cur") )
2513
2520
  return 0
2514
2521
  fi
2515
2522
  case "$prev" in
@@ -2530,7 +2537,7 @@ _postman_application_test() {
2530
2537
 
2531
2538
  _postman_application_setup_capture() {
2532
2539
  if [[ "$cur" == -* ]]; then
2533
- COMPREPLY=( $(compgen -W "--config -h --help" -- "$cur") )
2540
+ COMPREPLY=( $(compgen -W "--config -y --yes --dry-run -h --help" -- "$cur") )
2534
2541
  return 0
2535
2542
  fi
2536
2543
  case "$prev" in
@@ -2701,7 +2708,7 @@ _postman_secret() {
2701
2708
 
2702
2709
  _postman_secret_create() {
2703
2710
  if [[ "$cur" == -* ]]; then
2704
- COMPREPLY=( $(compgen -W "--team-id -w --workspace --api-key --terminal --value-stdin --timeout -h --help" -- "$cur") )
2711
+ COMPREPLY=( $(compgen -W "--team-id -w --workspace --api-key --terminal --value-stdin --timeout --json -h --help" -- "$cur") )
2705
2712
  return 0
2706
2713
  fi
2707
2714
  case "$prev" in
@@ -2748,7 +2755,7 @@ _postman_simulation() {
2748
2755
 
2749
2756
  _postman_simulation_create() {
2750
2757
  if [[ "$cur" == -* ]]; then
2751
- COMPREPLY=( $(compgen -W "-n --name --mock --routing -o --output --force -w --workspace --api-key -h --help" -- "$cur") )
2758
+ COMPREPLY=( $(compgen -W "-n --name --mock --routing -o --output --force -w --workspace --deploy --public -s --slug --json --api-key -h --help" -- "$cur") )
2752
2759
  return 0
2753
2760
  fi
2754
2761
  case "$prev" in
@@ -2791,7 +2798,7 @@ _postman_simulation_get() {
2791
2798
 
2792
2799
  _postman_simulation_run() {
2793
2800
  if [[ "$cur" == -* ]]; then
2794
- COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --dataset -w --workspace --simulation --api-key --no-history --output --proxy --proxy-port --scenario --session --log-format --log-body --doctor -h --help" -- "$cur") )
2801
+ COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --dataset -w --workspace --simulation --api-key --no-history --output --verbose --proxy --proxy-port --scenario --session --log-format --log-body --doctor -h --help" -- "$cur") )
2795
2802
  return 0
2796
2803
  fi
2797
2804
  case "$prev" in
@@ -2824,7 +2831,7 @@ _postman_simulation_push() {
2824
2831
 
2825
2832
  _postman_simulation_deploy() {
2826
2833
  if [[ "$cur" == -* ]]; then
2827
- COMPREPLY=( $(compgen -W "-w --workspace -n --name -s --slug --private -y --yes --api-key -h --help" -- "$cur") )
2834
+ COMPREPLY=( $(compgen -W "-w --workspace -n --name -s --slug --public --private -y --yes --api-key --json -h --help" -- "$cur") )
2828
2835
  return 0
2829
2836
  fi
2830
2837
  case "$prev" in
@@ -1,4 +1,4 @@
1
- # Fish completion for Postman CLI (postman v1.74.0)
1
+ # Fish completion for Postman CLI (postman v1.76.0)
2
2
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
3
3
  # Source: spec/commands.json
4
4
  # https://github.com/yokawasa/postman-cli-completion
@@ -94,6 +94,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection' -s h -l help -d
94
94
  # ---------- collection new ----------
95
95
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -s w -l workspace -d 'Create the collection in a cloud Postman workspace instead of scaffolding it locally. Required when the current directory is not a local Postman workspace.' -x
96
96
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -l force -d 'Rewrite the definition of an existing local collection. Existing request files are left alone.'
97
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode (--workspace) only.' -x
97
98
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -l verbose -d 'Verbose output'
98
99
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -l json -d 'JSON output'
99
100
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -s h -l help -d 'display help for command'
@@ -119,6 +120,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
119
120
  # ---------- collection delete ----------
120
121
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Delete without asking for confirmation first'
121
122
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -l api-key -d 'Postman API key, used when deleting a cloud collection' -r
123
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -s m -l message -d 'Short note on why, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud collections only.' -x
122
124
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -l verbose -d 'Verbose output'
123
125
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -l json -d 'Output the result as JSON'
124
126
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
@@ -162,6 +164,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
162
164
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l folder -d 'Folder within the collection, e.g. "Users/Admin". Defaults to the root.' -x
163
165
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l type -d 'Request type: http, graphql, grpc, websocket, socketio. (default: "http")' -x
164
166
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
167
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
165
168
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l json -d 'JSON output.'
166
169
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -s h -l help -d 'display help for command'
167
170
  # ---------- collection request get ----------
@@ -186,6 +189,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
186
189
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l scripts -d 'Replace scripts. event is prerequest or test; script is @file, - for stdin, or inline. Repeatable; any request type. (default: [])' -x
187
190
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
188
191
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l type -d 'Request type for cloud mode: http, graphql, grpc, websocket, socketio. (default: "http")' -x
192
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
189
193
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l json -d 'JSON output.'
190
194
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
191
195
  # ---------- collection request rm ----------
@@ -193,6 +197,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
193
197
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l folder -d 'Folder to scope the request selector, e.g. "Users/Admin" (local: name/path; cloud: id).' -x
194
198
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
195
199
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l type -d 'Request type for cloud mode: http, graphql, grpc, websocket, socketio. (default: "http")' -x
200
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
196
201
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l json -d 'JSON output.'
197
202
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -s h -l help -d 'display help for command'
198
203
  # ---------- collection folder ----------
@@ -206,6 +211,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
206
211
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -l collection -d 'Target collection: name, directory, id, cloud id, or path. Required.' -x
207
212
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -l folder -d 'Parent folder within the collection, e.g. "Users/Admin". Defaults to the root.' -x
208
213
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
214
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
209
215
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -l json -d 'JSON output.'
210
216
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -s h -l help -d 'display help for command'
211
217
  # ---------- collection folder get ----------
@@ -222,6 +228,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
222
228
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -l auth -d 'Folder auth: none, inherit, bearer:TOKEN, basic:USER:PASS, apikey:KEY:VALUE[:header|query], oauth2:TOKEN.' -x
223
229
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -l scripts -d 'Replace folder scripts. event is prerequest or test; script is @file, - for stdin, or inline. Repeatable. (default: [])' -x
224
230
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
231
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
225
232
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -l json -d 'JSON output.'
226
233
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
227
234
  # ---------- collection folder rm ----------
@@ -229,6 +236,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
229
236
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -l folder -d 'Parent folder to scope the selector, e.g. "Users" (local: name/path; cloud: id).' -x
230
237
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -s y -l yes -d 'Skip the confirmation prompt (required when stdout is not a TTY).'
231
238
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
239
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
232
240
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -l json -d 'JSON output.'
233
241
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -s h -l help -d 'display help for command'
234
242
  # ---------- collection example ----------
@@ -245,6 +253,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
245
253
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -l folder -d 'Folder to scope the request selector, e.g. "Users/Admin".' -x
246
254
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -l type -d 'Example type: http (default). (default: "http")' -x
247
255
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
256
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
248
257
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -l json -d 'JSON output.'
249
258
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -s h -l help -d 'display help for command'
250
259
  # ---------- collection example update ----------
@@ -266,6 +275,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
266
275
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -l clear-request -d 'Remove the example.request snapshot.'
267
276
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
268
277
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -l type -d 'Example type for cloud mode: http. (default: "http")' -x
278
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
269
279
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -l json -d 'JSON output.'
270
280
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
271
281
  # ---------- collection example rm ----------
@@ -274,6 +284,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
274
284
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -l folder -d 'Folder to scope the request selector.' -x
275
285
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
276
286
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -l type -d 'Example type for cloud mode: http. (default: "http")' -x
287
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
277
288
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -l json -d 'JSON output.'
278
289
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -s h -l help -d 'display help for command'
279
290
  # ---------- collection example get ----------
@@ -344,8 +355,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
344
355
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l cookie-jar -d 'Specify the path to a custom cookie jar (serialized tough-cookie JSON)' -r
345
356
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l export-cookie-jar -d 'Exports the cookie jar to a file after completing the run' -r
346
357
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l verbose -d 'Show detailed information of collection run and each request sent'
347
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l mock -d 'Start a mock server for the run, its path if it lives in your repository (relative or absolute, e.g. ./postman/mocks/orders) or its id if it lives in Postman cloud (fetched then run locally). An id needs `postman login` (or --postman-api-key).' -r
348
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l port -d 'Port for the --mock server or --simulation (e.g. 4010), or "auto" for a free one. Defaults to the configured port. Only valid with --mock or --simulation.' -x
358
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l port -d 'Port for the --simulation server (e.g. 4010), or "auto" for a free one. Defaults to the configured port. Only valid with --simulation.' -x
349
359
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l use-mock -d '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 several URLs (one --use-mock each). Use "mock:<path>" for a mock in your repository (path relative or absolute, e.g. ./postman/mocks/orders), "mock:<id>" for a mock in Postman cloud (fetched then run locally), or "mock-server:<id>" to send requests to a deployed mock server. An id needs `postman login` (or --postman-api-key). The optional third field picks a scenario (defaults to "default"). (default: [])' -x
350
360
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l simulation -d 'Run the mocks in a simulation for the run, its .sim.yaml path if it lives in your repository (relative or absolute, e.g. ./postman/simulations/checkout.sim.yaml) or its id if it lives in Postman cloud (fetched then run locally). Members share one port and are addressed by routeKey (e.g. http://localhost:3000/<routeKey>/path). An id needs `postman login` (or --postman-api-key).' -r
351
361
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s w -l workspace -d 'Workspace to record the --simulation run\'s start history against. Defaults to the simulation\'s own workspace (when run by id) or the linked project\'s workspace.' -x
@@ -380,7 +390,7 @@ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_sub
380
390
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -s s -l source -d 'Execute directly against a database datasource; without --source, use federated SQLite' -x
381
391
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -s p -l param -d 'Bind values to $1, $2, ... in order; pass multiple values after -p or repeat -p' -x
382
392
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -l api-key -d 'Postman API key (defaults to the `postman login` session)' -r
383
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -l json -d 'Output rows as JSON instead of a table'
393
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -l json -d 'Output rows as JSON instead of a table; a failure prints a JSON error on stdout'
384
394
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -l debug -d 'Include safe classified dataset diagnostics'
385
395
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -s h -l help -d 'display help for command'
386
396
  # ---------- dataset create ----------
@@ -423,19 +433,20 @@ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_sub
423
433
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l driver-class -d 'Driver class. Auto-resolved when the JAR contains exactly one' -x
424
434
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l driver-name -d 'Label for this driver type (defaults to the JAR filename)' -x
425
435
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l url-template -d 'JDBC URL with {{placeholders}}, e.g. jdbc:postgresql://{{host}}:{{port}}/{{database}}' -x
426
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l var -d 'Value for a {{placeholder}}. Repeatable. Use vault:<vaultId>/<secretId> for a secret. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.' -x
427
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l prop -d 'Driver connection property. Repeatable. Same vault: syntax as --var' -x
428
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l vars-file -d 'JSON object of --var values; "-" reads stdin. Supports {"$vaultId":..,"$secretId":..} objects, and keeps secrets out of argv entirely' -r
436
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l var -d 'Value for a {{placeholder}}. Repeatable. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
437
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l prop -d 'Driver connection property. Repeatable. Same secret syntax as --var' -x
438
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l vars-file -d 'JSON object of values; "-" reads stdin. Keys are host, port, user, password, database (mysql/postgresql/sqlserver), or --var names for jdbc, with optional "vars"/"props" objects for template variables / connection properties. Values take the same secret syntax, or {"$vaultId":..,"$secretId":..} objects, and keep secrets out of argv entirely' -r
439
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Workspace whose Shared Vault resolves vault:<KEY> (falls back to .postman/resources.yaml in the current directory)' -x
429
440
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l from-source -d 'Reuse another source\'s driver JAR, class and URL template' -x
430
441
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l java-path -d 'Java runtime to use. Machine-local only - never written to the dataset. Also read from POSTMAN_JDBC_JAVA_PATH' -r
431
442
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l no-test -d 'Skip the pre-write connection test. Note that resolving the driver class still starts a JVM — on a machine with no Java, pass --driver-class (or --from-source) too'
432
443
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l ssh-target-host-variable -d 'Template variable holding the tunnelled host (inferred when omitted)' -x
433
444
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l ssh-target-port-variable -d 'Template variable holding the tunnelled port (inferred when omitted)' -x
434
445
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l json -d 'Emit the result as JSON instead of prose'
435
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l host -d 'DB host (mysql/postgresql/sqlserver)' -x
446
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l host -d 'DB host (mysql/postgresql/sqlserver). Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below.' -x
436
447
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l port -d 'DB port (defaults to 1433 for sqlserver)' -x
437
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l user -d 'DB user. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.' -x
438
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l password -d 'DB password. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.' -x
448
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l user -d 'DB user. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
449
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l password -d 'DB password. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
439
450
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l database -d 'DB database name' -x
440
451
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l table -d 'DB table to load (required for sqlserver). Leave it out to connect to the whole database; query it with `dataset query -s <source>` or `dataset view create -s <source>`' -x
441
452
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l ssh-host -d 'SSH bastion host' -x
@@ -469,18 +480,19 @@ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_sub
469
480
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l driver-class -d 'Replace the JDBC driver class' -x
470
481
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l driver-name -d 'Rename the JDBC driver type label' -x
471
482
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l url-template -d 'Replace the JDBC URL template' -x
472
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l var -d 'Set a JDBC template variable. Merges onto the existing values. Use vault:<vaultId>/<secretId> for a secret. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.' -x
473
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l prop -d 'Set a JDBC connection property. Merges, same vault: syntax' -x
483
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l var -d 'Set a JDBC template variable. Merges onto the existing values. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
484
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l prop -d 'Set a JDBC connection property. Merges, same secret syntax' -x
474
485
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l unset-var -d 'Remove a JDBC template variable. Merging alone can never remove a key' -x
475
486
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l unset-prop -d 'Remove a JDBC connection property' -x
476
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l vars-file -d 'JSON object of --var values; "-" reads stdin' -r
487
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l vars-file -d 'JSON object of values to merge; "-" reads stdin. Keys are host, port, user, password, database (mysql/postgresql/sqlserver), or --var names for jdbc, with optional "vars"/"props" objects. Values take the same secret syntax' -r
488
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -s w -l workspace -d 'Workspace whose Shared Vault resolves vault:<KEY> (falls back to .postman/resources.yaml in the current directory)' -x
477
489
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l ssh-target-host-variable -d 'Template variable holding the tunnelled host (JDBC)' -x
478
490
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l ssh-target-port-variable -d 'Template variable holding the tunnelled port (JDBC)' -x
479
491
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l java-path -d 'Java runtime for JDBC operations. Machine-local only' -r
480
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l host -d 'Update DB host (mysql/postgresql/sqlserver)' -x
492
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l host -d 'Update DB host (mysql/postgresql/sqlserver). Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below.' -x
481
493
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l port -d 'Update DB port' -x
482
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l user -d 'Update DB user. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.' -x
483
- complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l password -d 'Update DB password. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.' -x
494
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l user -d 'Update DB user. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
495
+ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l password -d 'Update DB password. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
484
496
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l database -d 'Update DB database name' -x
485
497
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l table -d 'Update the DB table to load. A source without a table connects to the whole database; query it with `dataset query -s <source>` or `dataset view create -s <source>`' -x
486
498
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l ssh-host -d 'Update SSH bastion host' -x
@@ -755,7 +767,7 @@ complete -c postman -n '__fish_seen_subcommand_from globals; and __fish_seen_sub
755
767
  complete -c postman -n '__fish_seen_subcommand_from globals; and __fish_seen_subcommand_from lint' -r -k -a '(__fish_complete_suffix .json)'
756
768
 
757
769
  # ---------- mock ----------
758
- complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a generate -d 'Generate a mock from a Postman collection or an OpenAPI file, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace.'
770
+ complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a generate -d 'Generate a mock from a Postman collection or an OpenAPI file, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace. Add --deploy to also make it a live mock server.'
759
771
  complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a run -d 'Start a mock using its path if it lives in your repository, or its id if it lives in Postman cloud (fetched and run locally).'
760
772
  complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a push -d 'Upload a mock from your repository to Postman cloud (creates it the first time, updates it after).'
761
773
  complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a deploy -d 'Turn a mock in Postman cloud into a live mock server others can call over the internet.'
@@ -771,8 +783,12 @@ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcom
771
783
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l stateful -d '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.'
772
784
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l force -d 'Overwrite the mock\'s files if the target folder already has one'
773
785
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s u -l update -d 'Update an existing mock from the source instead of creating a new one. Path to the mock, relative or absolute, e.g. ./postman/mocks/orders. Cannot be used with --output.' -r
774
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s w -l workspace -d 'Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update.' -x
775
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l api-key -d 'Postman API key to use with --workspace (defaults to your `postman login` session)' -r
786
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s w -l workspace -d 'Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update, except with --deploy, where it only picks the workspace.' -x
787
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l deploy -d 'After generating, upload the mock to Postman cloud and deploy it to a live mock server (private by default). Uses --workspace, else the workspace linked to this project.'
788
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l public -d 'With --deploy, let anyone with the link reach the server (default: callers need an API key)'
789
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s s -l slug -d 'With --deploy, the short label used in the server\'s web address' -x
790
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l json -d 'With --deploy, print the live server details as machine-readable data instead of a summary'
791
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l api-key -d 'Postman API key to use with --workspace or --deploy (defaults to your `postman login` session)' -r
776
792
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s x -l suppress-exit-code -d 'Always exit with code 0, even on failure'
777
793
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s h -l help -d 'display help for command'
778
794
  # ---------- mock run ----------
@@ -783,6 +799,7 @@ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcom
783
799
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s w -l workspace -d 'Workspace that owns the run, for recording its start history. Auto-resolved for a Postman cloud id; required to record history for a path.' -x
784
800
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l no-history -d 'Do not record this run in the mock\'s start history.'
785
801
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l output -d 'Live output format: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default: "auto")' -x
802
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l verbose -d 'Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.'
786
803
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l dataset -d 'Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to the mock\'s handlers as pm.datasets(<id>). (default: [])' -r
787
804
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
788
805
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -r -k -a '(__fish_complete_suffix .json)'
@@ -799,6 +816,7 @@ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcom
799
816
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l auto-deploy -d 'Update the live server automatically whenever the mock changes (off by default)'
800
817
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s y -l yes -d 'Use the defaults and skip all questions (private, no auto-deploy)'
801
818
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
819
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l json -d 'Print the live server details as machine-readable data instead of a summary (asks no questions)'
802
820
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s h -l help -d 'display help for command'
803
821
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -r -k -a '(__fish_complete_suffix .json)'
804
822
  # ---------- mock get ----------
@@ -1226,17 +1244,18 @@ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcom
1226
1244
  complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
1227
1245
 
1228
1246
  # ---------- workspace ----------
1229
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a list -d 'List all available Postman Workspaces'
1230
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a prepare -d 'Prepare local collections and environments for push by validating and regenerating IDs if needed.'
1231
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
1232
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a lint -d 'Lint the current local Postman workspace: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
1233
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a get -d 'Read a workspace\'s metadata, and optionally the ids of what it holds.'
1234
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a create -d 'Create a Postman workspace and bind it to this git repository.'
1235
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a delete -d 'Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
1236
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a pull -d 'Pull workspace entities from a Postman workspace into the local git-native folder.'
1237
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a connect-git -d 'Connect a Postman workspace to a local git repository.'
1238
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a disconnect-git -d 'Disconnect a Postman workspace from its local git repository.'
1239
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create delete pull connect-git disconnect-git diff' -a diff -d 'Preview local-vs-cloud drift before pushing. Read-only: nothing is created, updated or deleted.'
1247
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a list -d 'List all available Postman Workspaces'
1248
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a prepare -d 'Prepare local collections and environments for push by validating and regenerating IDs if needed.'
1249
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
1250
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a lint -d 'Lint the current local Postman workspace: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
1251
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a get -d 'Read a workspace\'s metadata, and optionally the ids of what it holds.'
1252
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a activity -d 'Read a workspace\'s activity feed.'
1253
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a create -d 'Create a Postman workspace and bind it to this git repository.'
1254
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a delete -d 'Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
1255
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a pull -d 'Pull workspace entities from a Postman workspace into the local git-native folder.'
1256
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a connect-git -d 'Connect a Postman workspace to a local git repository.'
1257
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a disconnect-git -d 'Disconnect a Postman workspace from its local git repository.'
1258
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete pull connect-git disconnect-git diff' -a diff -d 'Preview local-vs-cloud drift before pushing. Read-only: nothing is created, updated or deleted.'
1240
1259
  complete -c postman -n '__fish_seen_subcommand_from workspace' -s h -l help -d 'display help for command'
1241
1260
  # ---------- workspace list ----------
1242
1261
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from list' -s f -l filter -d 'Filter workspaces by name.' -x
@@ -1271,6 +1290,15 @@ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_s
1271
1290
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -l json -d 'Print the workspace as machine-readable JSON.'
1272
1291
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
1273
1292
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
1293
+ # ---------- workspace activity ----------
1294
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l type -d 'Comma-separated element types to filter on, e.g. "api,collection".' -x
1295
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l contributor -d 'Comma-separated user ids to filter on.' -x
1296
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l cursor -d 'Fetch the page of entries that follows this cursor.' -x
1297
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l limit -d 'Max entries to return.' -x
1298
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l markdown -d 'Ask the API for a human-readable description of each entry.'
1299
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l json -d 'Print the feed as machine-readable JSON.'
1300
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
1301
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -s h -l help -d 'display help for command'
1274
1302
  # ---------- workspace create ----------
1275
1303
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -l visibility -d 'Required. One of: personal, private, team, public, partner.' -x
1276
1304
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -l name -d 'Workspace name (defaults to owner/repo from the git remote)' -x
@@ -1323,7 +1351,6 @@ complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_se
1323
1351
  complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l api-key -d 'Postman API key (falls back to POSTMAN_API_KEY, then a `postman login` session)' -r
1324
1352
  complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l json -d 'Output the ask record as JSON'
1325
1353
  complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l no-include-answer -d 'Do not ask the service to include the answer inline'
1326
- complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l max-steps -d 'Cap the reasoning steps the service may take (its default applies when omitted)' -x
1327
1354
  complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l interval -d 'With --wait, seconds between polls (default: 2)' -x
1328
1355
  complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l timeout -d 'With --wait, seconds to wait before giving up (default: 300)' -x
1329
1356
  complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -s h -l help -d 'display help for command'
@@ -1519,10 +1546,14 @@ complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen
1519
1546
  complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l force -d 'Deprecated: output directory is always overwritten on re-run (used with --capture-only)'
1520
1547
  complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l report-events -d 'Dispatch application test run results to the API Catalog and Application Inventory ingestion pipelines (on by default) (default: true)' -x
1521
1548
  complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l no-report-events -d 'Do not dispatch run results to the API Catalog and Application Inventory ingestion pipelines'
1549
+ complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l generate-collection -d 'Capture traffic and generate a collection with tests from it, then test with it. Saved to postman.config.cjs only when the target lists no collections.'
1550
+ complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -s y -l yes -d 'Do not prompt for collection, command, or capture-plugin setup: generate a collection from test traffic when none is configured, run `npx playwright test` when neither --command nor the config sets a command (Playwright projects only), and install/patch the capture plugin. Workspace setup is unchanged and may still prompt in an interactive terminal.'
1522
1551
  complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l verbose -d 'Show detailed per-request matching, sandbox errors, and debug information'
1523
1552
  complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -s h -l help -d 'display help for command'
1524
1553
  # ---------- application setup-capture ----------
1525
1554
  complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from setup-capture' -l config -d 'Path to playwright.config.* to patch (default: auto-detect)' -r
1555
+ complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from setup-capture' -s y -l yes -d 'Install and patch without asking for confirmation (required outside an interactive terminal)'
1556
+ complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from setup-capture' -l dry-run -d 'Show the current capture setup and list what would be installed or patched, without changing files'
1526
1557
  complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from setup-capture' -s h -l help -d 'display help for command'
1527
1558
 
1528
1559
  # ---------- dependency ----------
@@ -1625,6 +1656,7 @@ complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subc
1625
1656
  complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -l terminal -d 'Enter one secret value through the terminal instead of the default browser form'
1626
1657
  complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -l value-stdin -d 'Read the secret value from stdin instead of prompting; implies --terminal'
1627
1658
  complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -l timeout -d 'Seconds to wait for the browser form (default 300)' -x
1659
+ complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -l json -d 'Print the created secrets as machine-readable JSON (never the values)'
1628
1660
  complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -s h -l help -d 'display help for command'
1629
1661
  complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -r -k -a '(__fish_complete_suffix .json)'
1630
1662
  # ---------- secret list ----------
@@ -1634,7 +1666,7 @@ complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subc
1634
1666
  complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1635
1667
 
1636
1668
  # ---------- simulation ----------
1637
- complete -c postman -n '__postman_using_subcommand simulation create list get run push deploy update log delete' -a create -d 'Create a simulation that serves several mocks behind one address'
1669
+ complete -c postman -n '__postman_using_subcommand simulation create list get run push deploy update log delete' -a create -d 'Create a simulation that serves several mocks behind one address. Add --deploy to also make it a live mock server.'
1638
1670
  complete -c postman -n '__postman_using_subcommand simulation create list get run push deploy update log delete' -a list -d 'List the simulations in your repository or Postman cloud workspace'
1639
1671
  complete -c postman -n '__postman_using_subcommand simulation create list get run push deploy update log delete' -a get -d 'Show a simulation\'s details using its .sim.yaml path if it lives in your repository, or its id if it lives in Postman cloud.'
1640
1672
  complete -c postman -n '__postman_using_subcommand simulation create list get run push deploy update log delete' -a run -d 'Serve a simulation\'s mocks on one local port, routing each by its routeKey. Pass a .sim.yaml path (local) or a Postman simulation id (fetched and run locally).'
@@ -1650,7 +1682,11 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
1650
1682
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l routing -d 'How callers reach each mock: header or path (default path)' -x
1651
1683
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -s o -l output -d 'Where to save the simulation file in your repository, a file or folder (defaults to postman/simulations)' -r
1652
1684
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l force -d 'Overwrite the simulation file if it already exists'
1653
- complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -s w -l workspace -d 'Postman cloud workspace to create the simulation in, by id (defaults to the workspace already linked to this project)' -x
1685
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -s w -l workspace -d 'Postman cloud workspace to create the simulation in (or deploy it to, with --deploy), by id (defaults to the workspace already linked to this project)' -x
1686
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l deploy -d 'After creating, upload the simulation (and its mocks) to Postman cloud and deploy it to a live mock server (private by default).'
1687
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l public -d 'With --deploy, let anyone with the link reach the server (default: callers need an API key)'
1688
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -s s -l slug -d 'With --deploy, the short label used in the server\'s web address' -x
1689
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l json -d 'With --deploy, print the live server details as machine-readable data instead of a summary'
1654
1690
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
1655
1691
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -s h -l help -d 'display help for command'
1656
1692
  # ---------- simulation list ----------
@@ -1673,7 +1709,8 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
1673
1709
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
1674
1710
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l no-history -d 'Do not record this run in the simulation\'s start history'
1675
1711
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l output -d 'Live output format: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default: "auto")' -x
1676
- complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy -d '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. Requires a simulation.yaml (routing config), not a .sim.yaml.'
1712
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l verbose -d 'Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.'
1713
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy -d '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.'
1677
1714
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy-port -d 'Port for the proxy server. Distinct from --port, which is the one-port run\'s own port. (default: 7001)' -x
1678
1715
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l scenario -d 'Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. (default: "default")' -x
1679
1716
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l session -d 'Session id to select via the x-mock-session header (default: a generated id).' -x
@@ -1689,9 +1726,11 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
1689
1726
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s w -l workspace -d 'Postman cloud workspace that will own the server, by id (defaults to the workspace already linked to this project)' -x
1690
1727
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s n -l name -d 'Name for the mock server (you are asked for one if you skip this)' -x
1691
1728
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s s -l slug -d 'Short label used in the server\'s web address, e.g. "my-sim" (you are asked for one if you skip this)' -x
1692
- complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -l private -d 'Require a Postman API key to reach the server. Public by default.'
1693
- complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s y -l yes -d 'Use the defaults and skip all questions (public)'
1729
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -l public -d 'Let anyone with the link reach the server. Private by default (callers must send a Postman API key).'
1730
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -l private -d 'Require a Postman API key to reach the server (the default; kept for compatibility).'
1731
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s y -l yes -d 'Use the defaults and skip all questions (private)'
1694
1732
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
1733
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -l json -d 'Print the live server details as machine-readable data instead of a summary (asks no questions)'
1695
1734
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s h -l help -d 'display help for command'
1696
1735
  # ---------- simulation update ----------
1697
1736
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from update' -s n -l name -d 'Rename the simulation' -x
@@ -1,6 +1,6 @@
1
1
  #compdef postman
2
2
  compdef _postman postman
3
- # Zsh completion for Postman CLI (postman v1.74.0)
3
+ # Zsh completion for Postman CLI (postman v1.76.0)
4
4
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
5
5
  # Source: spec/commands.json
6
6
  # https://github.com/yokawasa/postman-cli-completion
@@ -200,6 +200,7 @@ _postman_collection_new() {
200
200
  _arguments \
201
201
  '(-w --workspace)'{-w,--workspace}'[Create the collection in a cloud Postman workspace instead of scaffolding it locally. Required when the current directory is not a local Postman workspace.]:workspaceId' \
202
202
  '--force[Rewrite the definition of an existing local collection. Existing request files are left alone.]' \
203
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode (--workspace) only.]:text' \
203
204
  '--verbose[Verbose output]' \
204
205
  '--json[JSON output]' \
205
206
  '(-h --help)'{-h,--help}'[display help for command]' \
@@ -242,6 +243,7 @@ _postman_collection_delete() {
242
243
  _arguments \
243
244
  '(-y --yes)'{-y,--yes}'[Delete without asking for confirmation first]' \
244
245
  '--api-key[Postman API key, used when deleting a cloud collection]:key:_files -g "*.(pem|crt|key)"' \
246
+ '(-m --message)'{-m,--message}'[Short note on why, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud collections only.]:text' \
245
247
  '--verbose[Verbose output]' \
246
248
  '--json[Output the result as JSON]' \
247
249
  '(-h --help)'{-h,--help}'[display help for command]' \
@@ -364,6 +366,7 @@ _postman_collection_request_add() {
364
366
  '--folder[Folder within the collection, e.g. "Users/Admin". Defaults to the root.]:id|name|path' \
365
367
  '--type[Request type\: http, graphql, grpc, websocket, socketio. (default\: "http")]:type' \
366
368
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
369
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
367
370
  '--json[JSON output.]' \
368
371
  '(-h --help)'{-h,--help}'[display help for command]' \
369
372
  '*:request-name:'
@@ -396,6 +399,7 @@ _postman_collection_request_update() {
396
399
  '--scripts[Replace scripts. event is prerequest or test; script is @file, - for stdin, or inline. Repeatable; any request type. (default\: \[\])]:event\:script' \
397
400
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
398
401
  '--type[Request type for cloud mode\: http, graphql, grpc, websocket, socketio. (default\: "http")]:type' \
402
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
399
403
  '--json[JSON output.]' \
400
404
  '(-h --help)'{-h,--help}'[display help for command]' \
401
405
  '*:request:'
@@ -407,6 +411,7 @@ _postman_collection_request_rm() {
407
411
  '--folder[Folder to scope the request selector, e.g. "Users/Admin" (local\: name/path; cloud\: id).]:id|name|path' \
408
412
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
409
413
  '--type[Request type for cloud mode\: http, graphql, grpc, websocket, socketio. (default\: "http")]:type' \
414
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
410
415
  '--json[JSON output.]' \
411
416
  '(-h --help)'{-h,--help}'[display help for command]' \
412
417
  '*:request:'
@@ -448,6 +453,7 @@ _postman_collection_folder_add() {
448
453
  '--collection[Target collection\: name, directory, id, cloud id, or path. Required.]:id|name' \
449
454
  '--folder[Parent folder within the collection, e.g. "Users/Admin". Defaults to the root.]:id|name|path' \
450
455
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
456
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
451
457
  '--json[JSON output.]' \
452
458
  '(-h --help)'{-h,--help}'[display help for command]' \
453
459
  '*:folder-name:'
@@ -472,6 +478,7 @@ _postman_collection_folder_update() {
472
478
  '--auth[Folder auth\: none, inherit, bearer\:TOKEN, basic\:USER\:PASS, apikey\:KEY\:VALUE\[\:header|query\], oauth2\:TOKEN.]:spec' \
473
479
  '--scripts[Replace folder scripts. event is prerequest or test; script is @file, - for stdin, or inline. Repeatable. (default\: \[\])]:event\:script' \
474
480
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
481
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
475
482
  '--json[JSON output.]' \
476
483
  '(-h --help)'{-h,--help}'[display help for command]' \
477
484
  '*:folder:'
@@ -483,6 +490,7 @@ _postman_collection_folder_rm() {
483
490
  '--folder[Parent folder to scope the selector, e.g. "Users" (local\: name/path; cloud\: id).]:id|name|path' \
484
491
  '(-y --yes)'{-y,--yes}'[Skip the confirmation prompt (required when stdout is not a TTY).]' \
485
492
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
493
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
486
494
  '--json[JSON output.]' \
487
495
  '(-h --help)'{-h,--help}'[display help for command]' \
488
496
  '*:folder:'
@@ -528,6 +536,7 @@ _postman_collection_example_add() {
528
536
  '--folder[Folder to scope the request selector, e.g. "Users/Admin".]:id|name|path' \
529
537
  '--type[Example type\: http (default). (default\: "http")]:type' \
530
538
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
539
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
531
540
  '--json[JSON output.]' \
532
541
  '(-h --help)'{-h,--help}'[display help for command]' \
533
542
  '*:example-name:'
@@ -553,6 +562,7 @@ _postman_collection_example_update() {
553
562
  '--clear-request[Remove the example.request snapshot.]' \
554
563
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
555
564
  '--type[Example type for cloud mode\: http. (default\: "http")]:type' \
565
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
556
566
  '--json[JSON output.]' \
557
567
  '(-h --help)'{-h,--help}'[display help for command]' \
558
568
  '*:example:'
@@ -565,6 +575,7 @@ _postman_collection_example_rm() {
565
575
  '--folder[Folder to scope the request selector.]:id|name|path' \
566
576
  '(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
567
577
  '--type[Example type for cloud mode\: http. (default\: "http")]:type' \
578
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
568
579
  '--json[JSON output.]' \
569
580
  '(-h --help)'{-h,--help}'[display help for command]' \
570
581
  '*:example:'
@@ -653,8 +664,7 @@ _postman_collection_run() {
653
664
  '--cookie-jar[Specify the path to a custom cookie jar (serialized tough-cookie JSON)]:path:_files -g "*.json"' \
654
665
  '--export-cookie-jar[Exports the cookie jar to a file after completing the run]:path:_files -g "*.json"' \
655
666
  '--verbose[Show detailed information of collection run and each request sent]' \
656
- '--mock[Start a mock server for the run, its path if it lives in your repository (relative or absolute, e.g. ./postman/mocks/orders) or its id if it lives in Postman cloud (fetched then run locally). An id needs `postman login` (or --postman-api-key).]:pathOrId:_files -g "*.json"' \
657
- '--port[Port for the --mock server or --simulation (e.g. 4010), or "auto" for a free one. Defaults to the configured port. Only valid with --mock or --simulation.]:port' \
667
+ '--port[Port for the --simulation server (e.g. 4010), or "auto" for a free one. Defaults to the configured port. Only valid with --simulation.]:port' \
658
668
  '--use-mock[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 several URLs (one --use-mock each). Use "mock\:<path>" for a mock in your repository (path relative or absolute, e.g. ./postman/mocks/orders), "mock\:<id>" for a mock in Postman cloud (fetched then run locally), or "mock-server\:<id>" to send requests to a deployed mock server. An id needs `postman login` (or --postman-api-key). The optional third field picks a scenario (defaults to "default"). (default\: \[\])]:mapping' \
659
669
  '--simulation[Run the mocks in a simulation for the run, its .sim.yaml path if it lives in your repository (relative or absolute, e.g. ./postman/simulations/checkout.sim.yaml) or its id if it lives in Postman cloud (fetched then run locally). Members share one port and are addressed by routeKey (e.g. http\://localhost\:3000/<routeKey>/path). An id needs `postman login` (or --postman-api-key).]:pathOrId:_files -g "*.json"' \
660
670
  '(-w --workspace)'{-w,--workspace}'[Workspace to record the --simulation run'\''s start history against. Defaults to the simulation'\''s own workspace (when run by id) or the linked project'\''s workspace.]:workspaceId' \
@@ -726,7 +736,7 @@ _postman_dataset_query() {
726
736
  '(-s --source)'{-s,--source}'[Execute directly against a database datasource; without --source, use federated SQLite]:nameOrIdOrSlug' \
727
737
  '(-p --param)'{-p,--param}'[Bind values to $1, $2, ... in order; pass multiple values after -p or repeat -p]:value...' \
728
738
  '--api-key[Postman API key (defaults to the `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
729
- '--json[Output rows as JSON instead of a table]' \
739
+ '--json[Output rows as JSON instead of a table; a failure prints a JSON error on stdout]' \
730
740
  '--debug[Include safe classified dataset diagnostics]' \
731
741
  '(-h --help)'{-h,--help}'[display help for command]' \
732
742
  '*:datasetPathOrId:'
@@ -808,19 +818,20 @@ _postman_dataset_source_add() {
808
818
  '--driver-class[Driver class. Auto-resolved when the JAR contains exactly one]:fqcn' \
809
819
  '--driver-name[Label for this driver type (defaults to the JAR filename)]:label' \
810
820
  '--url-template[JDBC URL with {{placeholders}}, e.g. jdbc\:postgresql\://{{host}}\:{{port}}/{{database}}]:template' \
811
- '--var[Value for a {{placeholder}}. Repeatable. Use vault\:<vaultId>/<secretId> for a secret. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.]:name=value...' \
812
- '--prop[Driver connection property. Repeatable. Same vault\: syntax as --var]:name=value...' \
813
- '--vars-file[JSON object of --var values; "-" reads stdin. Supports {"$vaultId"\:..,"$secretId"\:..} objects, and keeps secrets out of argv entirely]:path:_files -g "*.json"' \
821
+ '--var[Value for a {{placeholder}}. Repeatable. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:name=value...' \
822
+ '--prop[Driver connection property. Repeatable. Same secret syntax as --var]:name=value...' \
823
+ '--vars-file[JSON object of values; "-" reads stdin. Keys are host, port, user, password, database (mysql/postgresql/sqlserver), or --var names for jdbc, with optional "vars"/"props" objects for template variables / connection properties. Values take the same secret syntax, or {"$vaultId"\:..,"$secretId"\:..} objects, and keep secrets out of argv entirely]:path:_files -g "*.json"' \
824
+ '(-w --workspace)'{-w,--workspace}'[Workspace whose Shared Vault resolves vault\:<KEY> (falls back to .postman/resources.yaml in the current directory)]:workspaceId' \
814
825
  '--from-source[Reuse another source'\''s driver JAR, class and URL template]:name' \
815
826
  '--java-path[Java runtime to use. Machine-local only - never written to the dataset. Also read from POSTMAN_JDBC_JAVA_PATH]:path:_files -g "*.json"' \
816
827
  '--no-test[Skip the pre-write connection test. Note that resolving the driver class still starts a JVM — on a machine with no Java, pass --driver-class (or --from-source) too]' \
817
828
  '--ssh-target-host-variable[Template variable holding the tunnelled host (inferred when omitted)]:name' \
818
829
  '--ssh-target-port-variable[Template variable holding the tunnelled port (inferred when omitted)]:name' \
819
830
  '--json[Emit the result as JSON instead of prose]' \
820
- '--host[DB host (mysql/postgresql/sqlserver)]:host' \
831
+ '--host[DB host (mysql/postgresql/sqlserver). Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below.]:host' \
821
832
  '--port[DB port (defaults to 1433 for sqlserver)]:port' \
822
- '--user[DB user. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.]:user' \
823
- '--password[DB password. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.]:password' \
833
+ '--user[DB user. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:user' \
834
+ '--password[DB password. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:password' \
824
835
  '--database[DB database name]:db' \
825
836
  '--table[DB table to load (required for sqlserver). Leave it out to connect to the whole database; query it with `dataset query -s <source>` or `dataset view create -s <source>`]:table' \
826
837
  '--ssh-host[SSH bastion host]:host' \
@@ -862,18 +873,19 @@ _postman_dataset_source_update() {
862
873
  '--driver-class[Replace the JDBC driver class]:fqcn' \
863
874
  '--driver-name[Rename the JDBC driver type label]:label' \
864
875
  '--url-template[Replace the JDBC URL template]:template' \
865
- '--var[Set a JDBC template variable. Merges onto the existing values. Use vault\:<vaultId>/<secretId> for a secret. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.]:name=value...' \
866
- '--prop[Set a JDBC connection property. Merges, same vault\: syntax]:name=value...' \
876
+ '--var[Set a JDBC template variable. Merges onto the existing values. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:name=value...' \
877
+ '--prop[Set a JDBC connection property. Merges, same secret syntax]:name=value...' \
867
878
  '--unset-var[Remove a JDBC template variable. Merging alone can never remove a key]:name...' \
868
879
  '--unset-prop[Remove a JDBC connection property]:name...' \
869
- '--vars-file[JSON object of --var values; "-" reads stdin]:path:_files -g "*.json"' \
880
+ '--vars-file[JSON object of values to merge; "-" reads stdin. Keys are host, port, user, password, database (mysql/postgresql/sqlserver), or --var names for jdbc, with optional "vars"/"props" objects. Values take the same secret syntax]:path:_files -g "*.json"' \
881
+ '(-w --workspace)'{-w,--workspace}'[Workspace whose Shared Vault resolves vault\:<KEY> (falls back to .postman/resources.yaml in the current directory)]:workspaceId' \
870
882
  '--ssh-target-host-variable[Template variable holding the tunnelled host (JDBC)]:name' \
871
883
  '--ssh-target-port-variable[Template variable holding the tunnelled port (JDBC)]:name' \
872
884
  '--java-path[Java runtime for JDBC operations. Machine-local only]:path:_files -g "*.json"' \
873
- '--host[Update DB host (mysql/postgresql/sqlserver)]:host' \
885
+ '--host[Update DB host (mysql/postgresql/sqlserver). Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below.]:host' \
874
886
  '--port[Update DB port]:port' \
875
- '--user[Update DB user. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.]:user' \
876
- '--password[Update DB password. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud). Prefer a Shared Vault reference.]:password' \
887
+ '--user[Update DB user. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:user' \
888
+ '--password[Update DB password. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:password' \
877
889
  '--database[Update DB database name]:db' \
878
890
  '--table[Update the DB table to load. A source without a table connects to the whole database; query it with `dataset query -s <source>` or `dataset view create -s <source>`]:table' \
879
891
  '--ssh-host[Update SSH bastion host]:host' \
@@ -1437,7 +1449,7 @@ _postman_mock() {
1437
1449
  _postman_mock_commands() {
1438
1450
  local -a sub
1439
1451
  sub=(
1440
- 'generate:Generate a mock from a Postman collection or an OpenAPI file, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace.'
1452
+ 'generate:Generate a mock from a Postman collection or an OpenAPI file, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace. Add --deploy to also make it a live mock server.'
1441
1453
  'run:Start a mock using its path if it lives in your repository, or its id if it lives in Postman cloud (fetched and run locally).'
1442
1454
  'push:Upload a mock from your repository to Postman cloud (creates it the first time, updates it after).'
1443
1455
  'deploy:Turn a mock in Postman cloud into a live mock server others can call over the internet.'
@@ -1457,8 +1469,12 @@ _postman_mock_generate() {
1457
1469
  '--stateful[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.]' \
1458
1470
  '--force[Overwrite the mock'\''s files if the target folder already has one]' \
1459
1471
  '(-u --update)'{-u,--update}'[Update an existing mock from the source instead of creating a new one. Path to the mock, relative or absolute, e.g. ./postman/mocks/orders. Cannot be used with --output.]:mockPath:_files -g "*.json"' \
1460
- '(-w --workspace)'{-w,--workspace}'[Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update.]:id' \
1461
- '--api-key[Postman API key to use with --workspace (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
1472
+ '(-w --workspace)'{-w,--workspace}'[Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update, except with --deploy, where it only picks the workspace.]:id' \
1473
+ '--deploy[After generating, upload the mock to Postman cloud and deploy it to a live mock server (private by default). Uses --workspace, else the workspace linked to this project.]' \
1474
+ '--public[With --deploy, let anyone with the link reach the server (default\: callers need an API key)]' \
1475
+ '(-s --slug)'{-s,--slug}'[With --deploy, the short label used in the server'\''s web address]:slug' \
1476
+ '--json[With --deploy, print the live server details as machine-readable data instead of a summary]' \
1477
+ '--api-key[Postman API key to use with --workspace or --deploy (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
1462
1478
  '(-x --suppress-exit-code)'{-x,--suppress-exit-code}'[Always exit with code 0, even on failure]' \
1463
1479
  '(-h --help)'{-h,--help}'[display help for command]' \
1464
1480
  '*:sourcePath:'
@@ -1473,6 +1489,7 @@ _postman_mock_run() {
1473
1489
  '(-w --workspace)'{-w,--workspace}'[Workspace that owns the run, for recording its start history. Auto-resolved for a Postman cloud id; required to record history for a path.]:id' \
1474
1490
  '--no-history[Do not record this run in the mock'\''s start history.]' \
1475
1491
  '--output[Live output format\: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default\: "auto")]:format' \
1492
+ '--verbose[Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.]' \
1476
1493
  '--dataset[Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to the mock'\''s handlers as pm.datasets(<id>). (default\: \[\])]:pathOrDir:_files -g "*.json"' \
1477
1494
  '(-h --help)'{-h,--help}'[display help for command]' \
1478
1495
  '*:mockIdOrPath:_files -g "*.json"'
@@ -1495,6 +1512,7 @@ _postman_mock_deploy() {
1495
1512
  '--auto-deploy[Update the live server automatically whenever the mock changes (off by default)]' \
1496
1513
  '(-y --yes)'{-y,--yes}'[Use the defaults and skip all questions (private, no auto-deploy)]' \
1497
1514
  '--api-key[Postman API key (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
1515
+ '--json[Print the live server details as machine-readable data instead of a summary (asks no questions)]' \
1498
1516
  '(-h --help)'{-h,--help}'[display help for command]' \
1499
1517
  '*:mockId:_files -g "*.json"'
1500
1518
  }
@@ -2316,6 +2334,7 @@ _postman_workspace() {
2316
2334
  push) _postman_workspace_push ;;
2317
2335
  lint) _postman_workspace_lint ;;
2318
2336
  get) _postman_workspace_get ;;
2337
+ activity) _postman_workspace_activity ;;
2319
2338
  create) _postman_workspace_create ;;
2320
2339
  delete) _postman_workspace_delete ;;
2321
2340
  pull) _postman_workspace_pull ;;
@@ -2335,6 +2354,7 @@ _postman_workspace_commands() {
2335
2354
  'push:Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
2336
2355
  'lint:Lint the current local Postman workspace\: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
2337
2356
  'get:Read a workspace'\''s metadata, and optionally the ids of what it holds.'
2357
+ 'activity:Read a workspace'\''s activity feed.'
2338
2358
  'create:Create a Postman workspace and bind it to this git repository.'
2339
2359
  'delete:Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
2340
2360
  'pull:Pull workspace entities from a Postman workspace into the local git-native folder.'
@@ -2394,6 +2414,19 @@ _postman_workspace_get() {
2394
2414
  '*:id:'
2395
2415
  }
2396
2416
 
2417
+ _postman_workspace_activity() {
2418
+ _arguments \
2419
+ '--type[Comma-separated element types to filter on, e.g. "api,collection".]:types' \
2420
+ '--contributor[Comma-separated user ids to filter on.]:ids' \
2421
+ '--cursor[Fetch the page of entries that follows this cursor.]:cursor' \
2422
+ '--limit[Max entries to return.]:n' \
2423
+ '--markdown[Ask the API for a human-readable description of each entry.]' \
2424
+ '--json[Print the feed as machine-readable JSON.]' \
2425
+ '--timeout[Milliseconds to wait for the API (default 30000).]:ms' \
2426
+ '(-h --help)'{-h,--help}'[display help for command]' \
2427
+ '*:id:'
2428
+ }
2429
+
2397
2430
  _postman_workspace_create() {
2398
2431
  _arguments \
2399
2432
  '--visibility[Required. One of\: personal, private, team, public, partner.]:status' \
@@ -2491,7 +2524,6 @@ _postman_context_graph_ask() {
2491
2524
  '--api-key[Postman API key (falls back to POSTMAN_API_KEY, then a `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
2492
2525
  '--json[Output the ask record as JSON]' \
2493
2526
  '--no-include-answer[Do not ask the service to include the answer inline]' \
2494
- '--max-steps[Cap the reasoning steps the service may take (its default applies when omitted)]:count' \
2495
2527
  '--interval[With --wait, seconds between polls (default\: 2)]:seconds' \
2496
2528
  '--timeout[With --wait, seconds to wait before giving up (default\: 300)]:seconds' \
2497
2529
  '(-h --help)'{-h,--help}'[display help for command]' \
@@ -3027,6 +3059,8 @@ _postman_application_test() {
3027
3059
  '--force[Deprecated\: output directory is always overwritten on re-run (used with --capture-only)]' \
3028
3060
  '--report-events[Dispatch application test run results to the API Catalog and Application Inventory ingestion pipelines (on by default) (default\: true)]:boolean' \
3029
3061
  '--no-report-events[Do not dispatch run results to the API Catalog and Application Inventory ingestion pipelines]' \
3062
+ '--generate-collection[Capture traffic and generate a collection with tests from it, then test with it. Saved to postman.config.cjs only when the target lists no collections.]' \
3063
+ '(-y --yes)'{-y,--yes}'[Do not prompt for collection, command, or capture-plugin setup\: generate a collection from test traffic when none is configured, run `npx playwright test` when neither --command nor the config sets a command (Playwright projects only), and install/patch the capture plugin. Workspace setup is unchanged and may still prompt in an interactive terminal.]' \
3030
3064
  '--verbose[Show detailed per-request matching, sandbox errors, and debug information]' \
3031
3065
  '(-h --help)'{-h,--help}'[display help for command]'
3032
3066
  }
@@ -3034,6 +3068,8 @@ _postman_application_test() {
3034
3068
  _postman_application_setup_capture() {
3035
3069
  _arguments \
3036
3070
  '--config[Path to playwright.config.* to patch (default\: auto-detect)]:path:_files -g "*.json"' \
3071
+ '(-y --yes)'{-y,--yes}'[Install and patch without asking for confirmation (required outside an interactive terminal)]' \
3072
+ '--dry-run[Show the current capture setup and list what would be installed or patched, without changing files]' \
3037
3073
  '(-h --help)'{-h,--help}'[display help for command]'
3038
3074
  }
3039
3075
 
@@ -3244,6 +3280,7 @@ _postman_secret_create() {
3244
3280
  '--terminal[Enter one secret value through the terminal instead of the default browser form]' \
3245
3281
  '--value-stdin[Read the secret value from stdin instead of prompting; implies --terminal]' \
3246
3282
  '--timeout[Seconds to wait for the browser form (default 300)]:seconds' \
3283
+ '--json[Print the created secrets as machine-readable JSON (never the values)]' \
3247
3284
  '(-h --help)'{-h,--help}'[display help for command]' \
3248
3285
  '*:keys...:_files -g "*.json"'
3249
3286
  }
@@ -3283,7 +3320,7 @@ _postman_simulation() {
3283
3320
  _postman_simulation_commands() {
3284
3321
  local -a sub
3285
3322
  sub=(
3286
- 'create:Create a simulation that serves several mocks behind one address'
3323
+ 'create:Create a simulation that serves several mocks behind one address. Add --deploy to also make it a live mock server.'
3287
3324
  'list:List the simulations in your repository or Postman cloud workspace'
3288
3325
  'get:Show a simulation'\''s details using its .sim.yaml path if it lives in your repository, or its id if it lives in Postman cloud.'
3289
3326
  'run:Serve a simulation'\''s mocks on one local port, routing each by its routeKey. Pass a .sim.yaml path (local) or a Postman simulation id (fetched and run locally).'
@@ -3303,7 +3340,11 @@ _postman_simulation_create() {
3303
3340
  '--routing[How callers reach each mock\: header or path (default path)]:header|path' \
3304
3341
  '(-o --output)'{-o,--output}'[Where to save the simulation file in your repository, a file or folder (defaults to postman/simulations)]:path:_files -g "*.json"' \
3305
3342
  '--force[Overwrite the simulation file if it already exists]' \
3306
- '(-w --workspace)'{-w,--workspace}'[Postman cloud workspace to create the simulation in, by id (defaults to the workspace already linked to this project)]:id' \
3343
+ '(-w --workspace)'{-w,--workspace}'[Postman cloud workspace to create the simulation in (or deploy it to, with --deploy), by id (defaults to the workspace already linked to this project)]:id' \
3344
+ '--deploy[After creating, upload the simulation (and its mocks) to Postman cloud and deploy it to a live mock server (private by default).]' \
3345
+ '--public[With --deploy, let anyone with the link reach the server (default\: callers need an API key)]' \
3346
+ '(-s --slug)'{-s,--slug}'[With --deploy, the short label used in the server'\''s web address]:slug' \
3347
+ '--json[With --deploy, print the live server details as machine-readable data instead of a summary]' \
3307
3348
  '--api-key[Postman API key (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
3308
3349
  '(-h --help)'{-h,--help}'[display help for command]'
3309
3350
  }
@@ -3336,7 +3377,8 @@ _postman_simulation_run() {
3336
3377
  '--api-key[Postman API key (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
3337
3378
  '--no-history[Do not record this run in the simulation'\''s start history]' \
3338
3379
  '--output[Live output format\: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default\: "auto")]:format' \
3339
- '--proxy[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. Requires a simulation.yaml (routing config), not a .sim.yaml.]' \
3380
+ '--verbose[Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.]' \
3381
+ '--proxy[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.]' \
3340
3382
  '--proxy-port[Port for the proxy server. Distinct from --port, which is the one-port run'\''s own port. (default\: 7001)]:n' \
3341
3383
  '--scenario[Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. (default\: "default")]:name' \
3342
3384
  '--session[Session id to select via the x-mock-session header (default\: a generated id).]:id' \
@@ -3360,9 +3402,11 @@ _postman_simulation_deploy() {
3360
3402
  '(-w --workspace)'{-w,--workspace}'[Postman cloud workspace that will own the server, by id (defaults to the workspace already linked to this project)]:id' \
3361
3403
  '(-n --name)'{-n,--name}'[Name for the mock server (you are asked for one if you skip this)]:name' \
3362
3404
  '(-s --slug)'{-s,--slug}'[Short label used in the server'\''s web address, e.g. "my-sim" (you are asked for one if you skip this)]:slug' \
3363
- '--private[Require a Postman API key to reach the server. Public by default.]' \
3364
- '(-y --yes)'{-y,--yes}'[Use the defaults and skip all questions (public)]' \
3405
+ '--public[Let anyone with the link reach the server. Private by default (callers must send a Postman API key).]' \
3406
+ '--private[Require a Postman API key to reach the server (the default; kept for compatibility).]' \
3407
+ '(-y --yes)'{-y,--yes}'[Use the defaults and skip all questions (private)]' \
3365
3408
  '--api-key[Postman API key (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
3409
+ '--json[Print the live server details as machine-readable data instead of a summary (asks no questions)]' \
3366
3410
  '(-h --help)'{-h,--help}'[display help for command]' \
3367
3411
  '*:simId:'
3368
3412
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli-completion",
3
- "version": "1.74.0",
3
+ "version": "1.76.0",
4
4
  "description": "Shell completions for the Postman CLI (zsh, bash, fish)",
5
5
  "type": "module",
6
6
  "bin": {