postman-cli-completion 1.59.0 → 1.62.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.59.0)
1
+ # Bash completion for Postman CLI (postman v1.62.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
@@ -22,7 +22,7 @@ _postman() {
22
22
  cur="${COMP_WORDS[COMP_CWORD]}"
23
23
  prev="${COMP_WORDS[COMP_CWORD-1]}"
24
24
 
25
- local top_commands="login signup logout init whoami update skills collection environment globals api runner spec monitor workspace ws performance flows fl request sdk mock application app simulate context context-graph search webhook dataset dependency"
25
+ local top_commands="login signup logout init whoami feedback update skills collection environment globals api runner spec monitor workspace ws team performance flows fl request sdk mock application app simulate describe context-graph search webhook dataset dependency"
26
26
  local global_flags="-v --version --silent --color -h --help -h --help"
27
27
 
28
28
  local i cmd="" subcmd=""
@@ -51,6 +51,7 @@ _postman() {
51
51
  logout) _postman_logout ;;
52
52
  init) _postman_init ;;
53
53
  whoami) _postman_whoami ;;
54
+ feedback) _postman_feedback ;;
54
55
  update) _postman_update ;;
55
56
  skills) _postman_skills ;;
56
57
  collection) _postman_collection ;;
@@ -61,6 +62,7 @@ _postman() {
61
62
  spec) _postman_spec ;;
62
63
  monitor) _postman_monitor ;;
63
64
  workspace|ws) _postman_workspace ;;
65
+ team) _postman_team ;;
64
66
  performance) _postman_performance ;;
65
67
  flows|fl) _postman_flows ;;
66
68
  request) _postman_request ;;
@@ -68,7 +70,7 @@ _postman() {
68
70
  mock) _postman_mock ;;
69
71
  application|app) _postman_application ;;
70
72
  simulate) _postman_simulate ;;
71
- context) _postman_context ;;
73
+ describe) _postman_describe ;;
72
74
  context-graph) _postman_context_graph ;;
73
75
  search) _postman_search ;;
74
76
  webhook) _postman_webhook ;;
@@ -91,7 +93,7 @@ _postman_login() {
91
93
 
92
94
  _postman_signup() {
93
95
  if [[ "$cur" == -* ]]; then
94
- COMPREPLY=( $(compgen -W "--browser --wait --no-wait --json -h --help" -- "$cur") )
96
+ COMPREPLY=( $(compgen -W "--guest --json -h --help" -- "$cur") )
95
97
  return 0
96
98
  fi
97
99
  }
@@ -125,9 +127,18 @@ _postman_whoami() {
125
127
  fi
126
128
  }
127
129
 
130
+ _postman_feedback() {
131
+ if [[ "$cur" == -* ]]; then
132
+ COMPREPLY=( $(compgen -W "--type --context --json -h --help" -- "$cur") )
133
+ return 0
134
+ fi
135
+ case "$prev" in
136
+ esac
137
+ }
138
+
128
139
  _postman_update() {
129
140
  if [[ "$cur" == -* ]]; then
130
- COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
141
+ COMPREPLY=( $(compgen -W "--check -h --help" -- "$cur") )
131
142
  return 0
132
143
  fi
133
144
  }
@@ -168,7 +179,7 @@ _postman_collection() {
168
179
  if [[ "$cur" == -* ]]; then
169
180
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
170
181
  else
171
- COMPREPLY=( $(compgen -W "new migrate lint ai-readiness get list run" -- "$cur") )
182
+ COMPREPLY=( $(compgen -W "new migrate lint ai-readiness get request list run" -- "$cur") )
172
183
  fi
173
184
  return 0
174
185
  fi
@@ -178,6 +189,7 @@ _postman_collection() {
178
189
  lint) _postman_collection_lint ;;
179
190
  ai-readiness) _postman_collection_ai_readiness ;;
180
191
  get) _postman_collection_get ;;
192
+ request) _postman_collection_request ;;
181
193
  list) _postman_collection_list ;;
182
194
  run) _postman_collection_run ;;
183
195
  esac
@@ -237,6 +249,55 @@ _postman_collection_get() {
237
249
  esac
238
250
  }
239
251
 
252
+ _postman_collection_request() {
253
+ if [[ -z "$subcmd" ]]; then
254
+ if [[ "$cur" == -* ]]; then
255
+ COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
256
+ else
257
+ COMPREPLY=( $(compgen -W "add update rm remove" -- "$cur") )
258
+ fi
259
+ return 0
260
+ fi
261
+ case "$subcmd" in
262
+ add) _postman_collection_request_add ;;
263
+ update) _postman_collection_request_update ;;
264
+ rm|remove) _postman_collection_request_rm ;;
265
+ esac
266
+ }
267
+
268
+ _postman_collection_request_add() {
269
+ if [[ "$cur" == -* ]]; then
270
+ COMPREPLY=( $(compgen -W "--collection --folder --type -w --workspace --json -h --help" -- "$cur") )
271
+ return 0
272
+ fi
273
+ case "$prev" in
274
+ esac
275
+ }
276
+
277
+ _postman_collection_request_update() {
278
+ if [[ "$cur" == -* ]]; then
279
+ COMPREPLY=( $(compgen -W "--collection --folder --rename --url --method --param -d --body --variables --description --headers --auth --scripts -w --workspace --type --json -h --help" -- "$cur") )
280
+ return 0
281
+ fi
282
+ case "$prev" in
283
+ --param)
284
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
285
+ return 0 ;;
286
+ --headers)
287
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
288
+ return 0 ;;
289
+ esac
290
+ }
291
+
292
+ _postman_collection_request_rm() {
293
+ if [[ "$cur" == -* ]]; then
294
+ COMPREPLY=( $(compgen -W "--collection --folder -w --workspace --type --json -h --help" -- "$cur") )
295
+ return 0
296
+ fi
297
+ case "$prev" in
298
+ esac
299
+ }
300
+
240
301
  _postman_collection_list() {
241
302
  if [[ "$cur" == -* ]]; then
242
303
  COMPREPLY=( $(compgen -W "-w --workspace -f --filter --verbose --debug --json -h --help" -- "$cur") )
@@ -499,7 +560,7 @@ _postman_runner() {
499
560
 
500
561
  _postman_runner_start() {
501
562
  if [[ "$cur" == -* ]]; then
502
- COMPREPLY=( $(compgen -W "--id --key --region --proxy --egress-proxy --egress-proxy-authz-url --ssl-extra-ca-certs --metrics --metrics-port --report-events --no-report-events -h --help" -- "$cur") )
563
+ COMPREPLY=( $(compgen -W "--id --key --region --proxy --egress-proxy --egress-proxy-authz-url --ssl-extra-ca-certs --dataset-jdbc-driver-dir --metrics --metrics-port --report-events --no-report-events -h --help" -- "$cur") )
503
564
  return 0
504
565
  fi
505
566
  case "$prev" in
@@ -509,6 +570,9 @@ _postman_runner_start() {
509
570
  --ssl-extra-ca-certs)
510
571
  _postman_filematch '!*.@(pem|crt|key)' "$cur"
511
572
  return 0 ;;
573
+ --dataset-jdbc-driver-dir)
574
+ COMPREPLY=( $(compgen -d -- "$cur") )
575
+ return 0 ;;
512
576
  esac
513
577
  }
514
578
 
@@ -731,7 +795,7 @@ _postman_monitor_run() {
731
795
 
732
796
  _postman_monitor_create() {
733
797
  if [[ "$cur" == -* ]]; then
734
- COMPREPLY=( $(compgen -W "-c --collection --name --environment -w --workspace --schedule --timezone --runner --notify-email --notification-limit --retry --timeout --delay --strict-ssl --insecure --follow-redirects --block-redirects --dataset-id --dataset-view-id --iteration-count --iteration-strategy --no-run-now --api-key --json -h --help" -- "$cur") )
798
+ COMPREPLY=( $(compgen -W "-c --collection --name -e --environment -w --workspace --schedule --timezone --runner --notify-email --notification-limit --retry --timeout --delay --strict-ssl --insecure --follow-redirects --block-redirects --dataset-id --dataset-view-id --iteration-count --iteration-strategy --no-run-now --api-key --json -h --help" -- "$cur") )
735
799
  return 0
736
800
  fi
737
801
  case "$prev" in
@@ -743,7 +807,7 @@ _postman_monitor_create() {
743
807
 
744
808
  _postman_monitor_update() {
745
809
  if [[ "$cur" == -* ]]; then
746
- COMPREPLY=( $(compgen -W "--name --schedule --timezone --runner --notify-email --clear-notifications --notification-limit --retry --timeout --delay --strict-ssl --insecure --follow-redirects --block-redirects --dataset-id --dataset-view-id --iteration-count --iteration-strategy --api-key --json -h --help" -- "$cur") )
810
+ COMPREPLY=( $(compgen -W "--name --schedule --timezone --runner --notify-email --clear-notifications -e --environment --clear-environment --notification-limit --retry --timeout --delay --strict-ssl --insecure --follow-redirects --block-redirects --dataset-id --dataset-view-id --iteration-count --iteration-strategy --api-key --json -h --help" -- "$cur") )
747
811
  return 0
748
812
  fi
749
813
  case "$prev" in
@@ -832,7 +896,7 @@ _postman_monitor_runs_get() {
832
896
 
833
897
  _postman_monitor_list() {
834
898
  if [[ "$cur" == -* ]]; then
835
- COMPREPLY=( $(compgen -W "--api-key -w --workspace -c --collection --environment --runner --owner --team --active --limit --offset --cursor --columns --no-headers -f --filter --sort --json -h --help" -- "$cur") )
899
+ COMPREPLY=( $(compgen -W "--api-key -w --workspace -c --collection -e --environment --runner --owner --team --active --limit --cursor --columns --no-headers -f --filter --sort --json -h --help" -- "$cur") )
836
900
  return 0
837
901
  fi
838
902
  case "$prev" in
@@ -895,7 +959,7 @@ _postman_workspace() {
895
959
  if [[ "$cur" == -* ]]; then
896
960
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
897
961
  else
898
- COMPREPLY=( $(compgen -W "list prepare push lint create pull connect-git diff" -- "$cur") )
962
+ COMPREPLY=( $(compgen -W "list prepare push lint get create pull connect-git diff" -- "$cur") )
899
963
  fi
900
964
  return 0
901
965
  fi
@@ -904,6 +968,7 @@ _postman_workspace() {
904
968
  prepare) _postman_workspace_prepare ;;
905
969
  push) _postman_workspace_push ;;
906
970
  lint) _postman_workspace_lint ;;
971
+ get) _postman_workspace_get ;;
907
972
  create) _postman_workspace_create ;;
908
973
  pull) _postman_workspace_pull ;;
909
974
  connect-git) _postman_workspace_connect_git ;;
@@ -945,9 +1010,18 @@ _postman_workspace_lint() {
945
1010
  esac
946
1011
  }
947
1012
 
1013
+ _postman_workspace_get() {
1014
+ if [[ "$cur" == -* ]]; then
1015
+ COMPREPLY=( $(compgen -W "--elements --json --timeout -h --help" -- "$cur") )
1016
+ return 0
1017
+ fi
1018
+ case "$prev" in
1019
+ esac
1020
+ }
1021
+
948
1022
  _postman_workspace_create() {
949
1023
  if [[ "$cur" == -* ]]; then
950
- COMPREPLY=( $(compgen -W "--visibility --name --summary --path --no-connect --force -h --help" -- "$cur") )
1024
+ COMPREPLY=( $(compgen -W "--visibility --name --summary --team-id --team-role --path --no-connect --force -h --help" -- "$cur") )
951
1025
  return 0
952
1026
  fi
953
1027
  case "$prev" in
@@ -983,24 +1057,47 @@ _postman_workspace_diff() {
983
1057
  esac
984
1058
  }
985
1059
 
1060
+ _postman_team() {
1061
+ if [[ -z "$subcmd" ]]; then
1062
+ if [[ "$cur" == -* ]]; then
1063
+ COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
1064
+ else
1065
+ COMPREPLY=( $(compgen -W "list" -- "$cur") )
1066
+ fi
1067
+ return 0
1068
+ fi
1069
+ case "$subcmd" in
1070
+ list) _postman_team_list ;;
1071
+ esac
1072
+ }
1073
+
1074
+ _postman_team_list() {
1075
+ if [[ "$cur" == -* ]]; then
1076
+ COMPREPLY=( $(compgen -W "--can-create-workspace --json --timeout -h --help" -- "$cur") )
1077
+ return 0
1078
+ fi
1079
+ case "$prev" in
1080
+ esac
1081
+ }
1082
+
986
1083
  _postman_performance() {
987
1084
  if [[ -z "$subcmd" ]]; then
988
1085
  if [[ "$cur" == -* ]]; then
989
1086
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
990
1087
  else
991
- COMPREPLY=( $(compgen -W "run runs" -- "$cur") )
1088
+ COMPREPLY=( $(compgen -W "run list" -- "$cur") )
992
1089
  fi
993
1090
  return 0
994
1091
  fi
995
1092
  case "$subcmd" in
996
1093
  run) _postman_performance_run ;;
997
- runs) _postman_performance_runs ;;
1094
+ list) _postman_performance_list ;;
998
1095
  esac
999
1096
  }
1000
1097
 
1001
1098
  _postman_performance_run() {
1002
1099
  if [[ "$cur" == -* ]]; then
1003
- COMPREPLY=( $(compgen -W "-e --environment -g --globals --setup-collection --teardown-collection --vu-count -d --duration -p --load-profile --data-file --dataset-id --dataset-view-id --dataset-distribution --postman-api-key --runner --pass-if --use-mock -h --help" -- "$cur") )
1100
+ COMPREPLY=( $(compgen -W "-e --environment -g --globals --setup-collection --teardown-collection --vu-count -d --duration -p --load-profile --data-file --dataset-id --dataset-view-id --dataset-distribution --postman-api-key --output --runner --pass-if --use-mock -h --help" -- "$cur") )
1004
1101
  return 0
1005
1102
  fi
1006
1103
  case "$prev" in
@@ -1011,7 +1108,7 @@ _postman_performance_run() {
1011
1108
  _postman_filematch '!*.@(json)' "$cur"
1012
1109
  }
1013
1110
 
1014
- _postman_performance_runs() {
1111
+ _postman_performance_list() {
1015
1112
  if [[ "$cur" == -* ]]; then
1016
1113
  COMPREPLY=( $(compgen -W "-c --collection-id --cursor --json --timeout -h --help" -- "$cur") )
1017
1114
  return 0
@@ -1481,7 +1578,7 @@ _postman_simulate_run() {
1481
1578
  _postman_filematch '!*.@(json)' "$cur"
1482
1579
  }
1483
1580
 
1484
- _postman_context() {
1581
+ _postman_describe() {
1485
1582
  if [[ -z "$subcmd" ]]; then
1486
1583
  if [[ "$cur" == -* ]]; then
1487
1584
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
@@ -1491,24 +1588,24 @@ _postman_context() {
1491
1588
  return 0
1492
1589
  fi
1493
1590
  case "$subcmd" in
1494
- instructions) _postman_context_instructions ;;
1495
- collection) _postman_context_collection ;;
1496
- request) _postman_context_request ;;
1497
- folder) _postman_context_folder ;;
1498
- response) _postman_context_response ;;
1499
- workspace) _postman_context_workspace ;;
1500
- environment) _postman_context_environment ;;
1591
+ instructions) _postman_describe_instructions ;;
1592
+ collection) _postman_describe_collection ;;
1593
+ request) _postman_describe_request ;;
1594
+ folder) _postman_describe_folder ;;
1595
+ response) _postman_describe_response ;;
1596
+ workspace) _postman_describe_workspace ;;
1597
+ environment) _postman_describe_environment ;;
1501
1598
  esac
1502
1599
  }
1503
1600
 
1504
- _postman_context_instructions() {
1601
+ _postman_describe_instructions() {
1505
1602
  if [[ "$cur" == -* ]]; then
1506
1603
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
1507
1604
  return 0
1508
1605
  fi
1509
1606
  }
1510
1607
 
1511
- _postman_context_collection() {
1608
+ _postman_describe_collection() {
1512
1609
  if [[ -z "$subcmd" ]]; then
1513
1610
  if [[ "$cur" == -* ]]; then
1514
1611
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
@@ -1518,11 +1615,11 @@ _postman_context_collection() {
1518
1615
  return 0
1519
1616
  fi
1520
1617
  case "$subcmd" in
1521
- get) _postman_context_collection_get ;;
1618
+ get) _postman_describe_collection_get ;;
1522
1619
  esac
1523
1620
  }
1524
1621
 
1525
- _postman_context_collection_get() {
1622
+ _postman_describe_collection_get() {
1526
1623
  if [[ "$cur" == -* ]]; then
1527
1624
  COMPREPLY=( $(compgen -W "-c --collection-id -h --help" -- "$cur") )
1528
1625
  return 0
@@ -1531,7 +1628,7 @@ _postman_context_collection_get() {
1531
1628
  esac
1532
1629
  }
1533
1630
 
1534
- _postman_context_request() {
1631
+ _postman_describe_request() {
1535
1632
  if [[ -z "$subcmd" ]]; then
1536
1633
  if [[ "$cur" == -* ]]; then
1537
1634
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
@@ -1541,12 +1638,12 @@ _postman_context_request() {
1541
1638
  return 0
1542
1639
  fi
1543
1640
  case "$subcmd" in
1544
- get) _postman_context_request_get ;;
1545
- context) _postman_context_request_context ;;
1641
+ get) _postman_describe_request_get ;;
1642
+ context) _postman_describe_request_context ;;
1546
1643
  esac
1547
1644
  }
1548
1645
 
1549
- _postman_context_request_get() {
1646
+ _postman_describe_request_get() {
1550
1647
  if [[ "$cur" == -* ]]; then
1551
1648
  COMPREPLY=( $(compgen -W "-r --request-id -c --collection-id -h --help" -- "$cur") )
1552
1649
  return 0
@@ -1555,7 +1652,7 @@ _postman_context_request_get() {
1555
1652
  esac
1556
1653
  }
1557
1654
 
1558
- _postman_context_request_context() {
1655
+ _postman_describe_request_context() {
1559
1656
  if [[ "$cur" == -* ]]; then
1560
1657
  COMPREPLY=( $(compgen -W "-c --collection-id -r --request-id -h --help" -- "$cur") )
1561
1658
  return 0
@@ -1564,7 +1661,7 @@ _postman_context_request_context() {
1564
1661
  esac
1565
1662
  }
1566
1663
 
1567
- _postman_context_folder() {
1664
+ _postman_describe_folder() {
1568
1665
  if [[ -z "$subcmd" ]]; then
1569
1666
  if [[ "$cur" == -* ]]; then
1570
1667
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
@@ -1574,11 +1671,11 @@ _postman_context_folder() {
1574
1671
  return 0
1575
1672
  fi
1576
1673
  case "$subcmd" in
1577
- get) _postman_context_folder_get ;;
1674
+ get) _postman_describe_folder_get ;;
1578
1675
  esac
1579
1676
  }
1580
1677
 
1581
- _postman_context_folder_get() {
1678
+ _postman_describe_folder_get() {
1582
1679
  if [[ "$cur" == -* ]]; then
1583
1680
  COMPREPLY=( $(compgen -W "--folder-id -c --collection-id -h --help" -- "$cur") )
1584
1681
  return 0
@@ -1587,7 +1684,7 @@ _postman_context_folder_get() {
1587
1684
  esac
1588
1685
  }
1589
1686
 
1590
- _postman_context_response() {
1687
+ _postman_describe_response() {
1591
1688
  if [[ -z "$subcmd" ]]; then
1592
1689
  if [[ "$cur" == -* ]]; then
1593
1690
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
@@ -1597,11 +1694,11 @@ _postman_context_response() {
1597
1694
  return 0
1598
1695
  fi
1599
1696
  case "$subcmd" in
1600
- get) _postman_context_response_get ;;
1697
+ get) _postman_describe_response_get ;;
1601
1698
  esac
1602
1699
  }
1603
1700
 
1604
- _postman_context_response_get() {
1701
+ _postman_describe_response_get() {
1605
1702
  if [[ "$cur" == -* ]]; then
1606
1703
  COMPREPLY=( $(compgen -W "--id -c --collection-id -r --request-id -h --help" -- "$cur") )
1607
1704
  return 0
@@ -1610,7 +1707,7 @@ _postman_context_response_get() {
1610
1707
  esac
1611
1708
  }
1612
1709
 
1613
- _postman_context_workspace() {
1710
+ _postman_describe_workspace() {
1614
1711
  if [[ -z "$subcmd" ]]; then
1615
1712
  if [[ "$cur" == -* ]]; then
1616
1713
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
@@ -1620,11 +1717,11 @@ _postman_context_workspace() {
1620
1717
  return 0
1621
1718
  fi
1622
1719
  case "$subcmd" in
1623
- get) _postman_context_workspace_get ;;
1720
+ get) _postman_describe_workspace_get ;;
1624
1721
  esac
1625
1722
  }
1626
1723
 
1627
- _postman_context_workspace_get() {
1724
+ _postman_describe_workspace_get() {
1628
1725
  if [[ "$cur" == -* ]]; then
1629
1726
  COMPREPLY=( $(compgen -W "-w --workspace-id -h --help" -- "$cur") )
1630
1727
  return 0
@@ -1633,7 +1730,7 @@ _postman_context_workspace_get() {
1633
1730
  esac
1634
1731
  }
1635
1732
 
1636
- _postman_context_environment() {
1733
+ _postman_describe_environment() {
1637
1734
  if [[ -z "$subcmd" ]]; then
1638
1735
  if [[ "$cur" == -* ]]; then
1639
1736
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
@@ -1643,11 +1740,11 @@ _postman_context_environment() {
1643
1740
  return 0
1644
1741
  fi
1645
1742
  case "$subcmd" in
1646
- get) _postman_context_environment_get ;;
1743
+ get) _postman_describe_environment_get ;;
1647
1744
  esac
1648
1745
  }
1649
1746
 
1650
- _postman_context_environment_get() {
1747
+ _postman_describe_environment_get() {
1651
1748
  if [[ "$cur" == -* ]]; then
1652
1749
  COMPREPLY=( $(compgen -W "-e --environment-id -h --help" -- "$cur") )
1653
1750
  return 0
@@ -1961,7 +2058,7 @@ _postman_dataset() {
1961
2058
  if [[ "$cur" == -* ]]; then
1962
2059
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
1963
2060
  else
1964
- COMPREPLY=( $(compgen -W "list get query create delete source view" -- "$cur") )
2061
+ COMPREPLY=( $(compgen -W "list get query create delete source view jdbc" -- "$cur") )
1965
2062
  fi
1966
2063
  return 0
1967
2064
  fi
@@ -1973,6 +2070,7 @@ _postman_dataset() {
1973
2070
  delete) _postman_dataset_delete ;;
1974
2071
  source) _postman_dataset_source ;;
1975
2072
  view) _postman_dataset_view ;;
2073
+ jdbc) _postman_dataset_jdbc ;;
1976
2074
  esac
1977
2075
  }
1978
2076
 
@@ -2043,7 +2141,7 @@ _postman_dataset_source() {
2043
2141
  if [[ "$cur" == -* ]]; then
2044
2142
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
2045
2143
  else
2046
- COMPREPLY=( $(compgen -W "list add remove update" -- "$cur") )
2144
+ COMPREPLY=( $(compgen -W "list add remove update test" -- "$cur") )
2047
2145
  fi
2048
2146
  return 0
2049
2147
  fi
@@ -2052,6 +2150,7 @@ _postman_dataset_source() {
2052
2150
  add) _postman_dataset_source_add ;;
2053
2151
  remove) _postman_dataset_source_remove ;;
2054
2152
  update) _postman_dataset_source_update ;;
2153
+ test) _postman_dataset_source_test ;;
2055
2154
  esac
2056
2155
  }
2057
2156
 
@@ -2069,13 +2168,22 @@ _postman_dataset_source_list() {
2069
2168
 
2070
2169
  _postman_dataset_source_add() {
2071
2170
  if [[ "$cur" == -* ]]; then
2072
- COMPREPLY=( $(compgen -W "-d --dataset -n --name --source-id --format --type --file --ref-only --force --upload --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") )
2171
+ 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") )
2073
2172
  return 0
2074
2173
  fi
2075
2174
  case "$prev" in
2076
2175
  --file)
2077
2176
  _postman_filematch '!*.@(json)' "$cur"
2078
2177
  return 0 ;;
2178
+ --driver-jar)
2179
+ _postman_filematch '!*.@(json)' "$cur"
2180
+ return 0 ;;
2181
+ --vars-file)
2182
+ _postman_filematch '!*.@(json)' "$cur"
2183
+ return 0 ;;
2184
+ --java-path)
2185
+ _postman_filematch '!*.@(json)' "$cur"
2186
+ return 0 ;;
2079
2187
  --ssh-private-key)
2080
2188
  _postman_filematch '!*.@(pem|crt|key)' "$cur"
2081
2189
  return 0 ;;
@@ -2102,13 +2210,22 @@ _postman_dataset_source_remove() {
2102
2210
 
2103
2211
  _postman_dataset_source_update() {
2104
2212
  if [[ "$cur" == -* ]]; then
2105
- COMPREPLY=( $(compgen -W "-d --dataset -n --name --format --file --ref-only --force --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") )
2213
+ 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") )
2106
2214
  return 0
2107
2215
  fi
2108
2216
  case "$prev" in
2109
2217
  --file)
2110
2218
  _postman_filematch '!*.@(json)' "$cur"
2111
2219
  return 0 ;;
2220
+ --driver-jar)
2221
+ _postman_filematch '!*.@(json)' "$cur"
2222
+ return 0 ;;
2223
+ --vars-file)
2224
+ _postman_filematch '!*.@(json)' "$cur"
2225
+ return 0 ;;
2226
+ --java-path)
2227
+ _postman_filematch '!*.@(json)' "$cur"
2228
+ return 0 ;;
2112
2229
  --ssh-private-key)
2113
2230
  _postman_filematch '!*.@(pem|crt|key)' "$cur"
2114
2231
  return 0 ;;
@@ -2121,6 +2238,21 @@ _postman_dataset_source_update() {
2121
2238
  esac
2122
2239
  }
2123
2240
 
2241
+ _postman_dataset_source_test() {
2242
+ if [[ "$cur" == -* ]]; then
2243
+ COMPREPLY=( $(compgen -W "-d --dataset -n --name --java-path --api-key --json -h --help" -- "$cur") )
2244
+ return 0
2245
+ fi
2246
+ case "$prev" in
2247
+ --java-path)
2248
+ _postman_filematch '!*.@(json)' "$cur"
2249
+ return 0 ;;
2250
+ --api-key)
2251
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
2252
+ return 0 ;;
2253
+ esac
2254
+ }
2255
+
2124
2256
  _postman_dataset_view() {
2125
2257
  if [[ -z "$subcmd" ]]; then
2126
2258
  if [[ "$cur" == -* ]]; then
@@ -2165,7 +2297,7 @@ _postman_dataset_view_run() {
2165
2297
 
2166
2298
  _postman_dataset_view_create() {
2167
2299
  if [[ "$cur" == -* ]]; then
2168
- COMPREPLY=( $(compgen -W "-d --dataset -n --name -q --query --view-id --api-key -h --help" -- "$cur") )
2300
+ COMPREPLY=( $(compgen -W "-d --dataset -n --name -q --query -s --source --view-id --json --api-key -h --help" -- "$cur") )
2169
2301
  return 0
2170
2302
  fi
2171
2303
  case "$prev" in
@@ -2199,6 +2331,32 @@ _postman_dataset_view_update() {
2199
2331
  esac
2200
2332
  }
2201
2333
 
2334
+ _postman_dataset_jdbc() {
2335
+ if [[ -z "$subcmd" ]]; then
2336
+ if [[ "$cur" == -* ]]; then
2337
+ COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
2338
+ else
2339
+ COMPREPLY=( $(compgen -W "inspect" -- "$cur") )
2340
+ fi
2341
+ return 0
2342
+ fi
2343
+ case "$subcmd" in
2344
+ inspect) _postman_dataset_jdbc_inspect ;;
2345
+ esac
2346
+ }
2347
+
2348
+ _postman_dataset_jdbc_inspect() {
2349
+ if [[ "$cur" == -* ]]; then
2350
+ COMPREPLY=( $(compgen -W "--driver-class --url-template --java-path --json -h --help" -- "$cur") )
2351
+ return 0
2352
+ fi
2353
+ case "$prev" in
2354
+ --java-path)
2355
+ _postman_filematch '!*.@(json)' "$cur"
2356
+ return 0 ;;
2357
+ esac
2358
+ }
2359
+
2202
2360
  _postman_dependency() {
2203
2361
  if [[ -z "$subcmd" ]]; then
2204
2362
  if [[ "$cur" == -* ]]; then