postman-cli-completion 1.63.0 → 1.66.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/completions/bash/postman.bash +165 -12
- package/completions/fish/postman.fish +105 -34
- package/completions/zsh/_postman +172 -5
- package/package.json +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Bash completion for Postman CLI (postman v1.
|
|
1
|
+
# Bash completion for Postman CLI (postman v1.66.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
|
|
@@ -179,7 +179,7 @@ _postman_collection() {
|
|
|
179
179
|
if [[ "$cur" == -* ]]; then
|
|
180
180
|
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
181
181
|
else
|
|
182
|
-
COMPREPLY=( $(compgen -W "new migrate lint ai-readiness get request folder list run" -- "$cur") )
|
|
182
|
+
COMPREPLY=( $(compgen -W "new migrate lint ai-readiness get generate sync request folder list run" -- "$cur") )
|
|
183
183
|
fi
|
|
184
184
|
return 0
|
|
185
185
|
fi
|
|
@@ -189,6 +189,8 @@ _postman_collection() {
|
|
|
189
189
|
lint) _postman_collection_lint ;;
|
|
190
190
|
ai-readiness) _postman_collection_ai_readiness ;;
|
|
191
191
|
get) _postman_collection_get ;;
|
|
192
|
+
generate) _postman_collection_generate ;;
|
|
193
|
+
sync) _postman_collection_sync ;;
|
|
192
194
|
request) _postman_collection_request ;;
|
|
193
195
|
folder) _postman_collection_folder ;;
|
|
194
196
|
list) _postman_collection_list ;;
|
|
@@ -230,10 +232,13 @@ _postman_collection_lint() {
|
|
|
230
232
|
|
|
231
233
|
_postman_collection_ai_readiness() {
|
|
232
234
|
if [[ "$cur" == -* ]]; then
|
|
233
|
-
COMPREPLY=( $(compgen -W "-o --output --min-score -h --help" -- "$cur") )
|
|
235
|
+
COMPREPLY=( $(compgen -W "-o --output --export --min-score -h --help" -- "$cur") )
|
|
234
236
|
return 0
|
|
235
237
|
fi
|
|
236
238
|
case "$prev" in
|
|
239
|
+
--export)
|
|
240
|
+
_postman_filematch '!*.@(json)' "$cur"
|
|
241
|
+
return 0 ;;
|
|
237
242
|
esac
|
|
238
243
|
_postman_filematch '!*.@(json)' "$cur"
|
|
239
244
|
}
|
|
@@ -250,6 +255,60 @@ _postman_collection_get() {
|
|
|
250
255
|
esac
|
|
251
256
|
}
|
|
252
257
|
|
|
258
|
+
_postman_collection_generate() {
|
|
259
|
+
if [[ -z "$subcmd" ]]; then
|
|
260
|
+
if [[ "$cur" == -* ]]; then
|
|
261
|
+
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
262
|
+
else
|
|
263
|
+
COMPREPLY=( $(compgen -W "spec" -- "$cur") )
|
|
264
|
+
fi
|
|
265
|
+
return 0
|
|
266
|
+
fi
|
|
267
|
+
case "$subcmd" in
|
|
268
|
+
spec) _postman_collection_generate_spec ;;
|
|
269
|
+
esac
|
|
270
|
+
}
|
|
271
|
+
|
|
272
|
+
_postman_collection_generate_spec() {
|
|
273
|
+
if [[ "$cur" == -* ]]; then
|
|
274
|
+
COMPREPLY=( $(compgen -W "-n --name --spec-version -f --format --api-key -h --help" -- "$cur") )
|
|
275
|
+
return 0
|
|
276
|
+
fi
|
|
277
|
+
case "$prev" in
|
|
278
|
+
--api-key)
|
|
279
|
+
_postman_filematch '!*.@(pem|crt|key)' "$cur"
|
|
280
|
+
return 0 ;;
|
|
281
|
+
esac
|
|
282
|
+
_postman_filematch '!*.@(json)' "$cur"
|
|
283
|
+
}
|
|
284
|
+
|
|
285
|
+
_postman_collection_sync() {
|
|
286
|
+
if [[ -z "$subcmd" ]]; then
|
|
287
|
+
if [[ "$cur" == -* ]]; then
|
|
288
|
+
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
289
|
+
else
|
|
290
|
+
COMPREPLY=( $(compgen -W "spec" -- "$cur") )
|
|
291
|
+
fi
|
|
292
|
+
return 0
|
|
293
|
+
fi
|
|
294
|
+
case "$subcmd" in
|
|
295
|
+
spec) _postman_collection_sync_spec ;;
|
|
296
|
+
esac
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
_postman_collection_sync_spec() {
|
|
300
|
+
if [[ "$cur" == -* ]]; then
|
|
301
|
+
COMPREPLY=( $(compgen -W "--spec-id --api-key -h --help" -- "$cur") )
|
|
302
|
+
return 0
|
|
303
|
+
fi
|
|
304
|
+
case "$prev" in
|
|
305
|
+
--api-key)
|
|
306
|
+
_postman_filematch '!*.@(pem|crt|key)' "$cur"
|
|
307
|
+
return 0 ;;
|
|
308
|
+
esac
|
|
309
|
+
_postman_filematch '!*.@(json)' "$cur"
|
|
310
|
+
}
|
|
311
|
+
|
|
253
312
|
_postman_collection_request() {
|
|
254
313
|
if [[ -z "$subcmd" ]]; then
|
|
255
314
|
if [[ "$cur" == -* ]]; then
|
|
@@ -353,7 +412,7 @@ _postman_collection_list() {
|
|
|
353
412
|
|
|
354
413
|
_postman_collection_run() {
|
|
355
414
|
if [[ "$cur" == -* ]]; then
|
|
356
|
-
COMPREPLY=( $(compgen -W "-e --environment -g --globals -r --reporters --output --reporter-json-structure -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 --simulate --report-events --no-report-events -h --help --reporter-json-export --reporter-junit-export --reporter-html-export --reporter-json-omitRequestBodies --reporter-html-omitRequestBodies --reporter-json-omitResponseBodies --reporter-html-omitResponseBodies --reporter-json-omitHeaders --reporter-html-omitHeaders --reporter-json-omitAllHeadersAndBody --reporter-html-omitAllHeadersAndBody" -- "$cur") )
|
|
415
|
+
COMPREPLY=( $(compgen -W "-e --environment -g --globals -r --reporters --output --reporter-json-structure -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 --simulate --simulation --simulate-workspace --no-simulate-history --report-events --no-report-events -h --help --reporter-json-export --reporter-junit-export --reporter-html-export --reporter-json-omitRequestBodies --reporter-html-omitRequestBodies --reporter-json-omitResponseBodies --reporter-html-omitResponseBodies --reporter-json-omitHeaders --reporter-html-omitHeaders --reporter-json-omitAllHeadersAndBody --reporter-html-omitAllHeadersAndBody" -- "$cur") )
|
|
357
416
|
return 0
|
|
358
417
|
fi
|
|
359
418
|
case "$prev" in
|
|
@@ -649,7 +708,7 @@ _postman_spec() {
|
|
|
649
708
|
if [[ "$cur" == -* ]]; then
|
|
650
709
|
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
651
710
|
else
|
|
652
|
-
COMPREPLY=( $(compgen -W "lint ai-readiness list get file create generate" -- "$cur") )
|
|
711
|
+
COMPREPLY=( $(compgen -W "lint ai-readiness list get file create generate sync delete" -- "$cur") )
|
|
653
712
|
fi
|
|
654
713
|
return 0
|
|
655
714
|
fi
|
|
@@ -661,6 +720,8 @@ _postman_spec() {
|
|
|
661
720
|
file) _postman_spec_file ;;
|
|
662
721
|
create) _postman_spec_create ;;
|
|
663
722
|
generate) _postman_spec_generate ;;
|
|
723
|
+
sync) _postman_spec_sync ;;
|
|
724
|
+
delete) _postman_spec_delete ;;
|
|
664
725
|
esac
|
|
665
726
|
}
|
|
666
727
|
|
|
@@ -675,10 +736,13 @@ _postman_spec_lint() {
|
|
|
675
736
|
|
|
676
737
|
_postman_spec_ai_readiness() {
|
|
677
738
|
if [[ "$cur" == -* ]]; then
|
|
678
|
-
COMPREPLY=( $(compgen -W "-o --output --min-score -h --help" -- "$cur") )
|
|
739
|
+
COMPREPLY=( $(compgen -W "-o --output --export --min-score -h --help" -- "$cur") )
|
|
679
740
|
return 0
|
|
680
741
|
fi
|
|
681
742
|
case "$prev" in
|
|
743
|
+
--export)
|
|
744
|
+
_postman_filematch '!*.@(json)' "$cur"
|
|
745
|
+
return 0 ;;
|
|
682
746
|
esac
|
|
683
747
|
}
|
|
684
748
|
|
|
@@ -791,7 +855,45 @@ _postman_spec_generate() {
|
|
|
791
855
|
|
|
792
856
|
_postman_spec_generate_collection() {
|
|
793
857
|
if [[ "$cur" == -* ]]; then
|
|
794
|
-
COMPREPLY=( $(compgen -W "-n --name --folder-strategy -w --workspace --api-key -h --help" -- "$cur") )
|
|
858
|
+
COMPREPLY=( $(compgen -W "-n --name --folder-strategy -w --workspace --api-key --force -h --help" -- "$cur") )
|
|
859
|
+
return 0
|
|
860
|
+
fi
|
|
861
|
+
case "$prev" in
|
|
862
|
+
--api-key)
|
|
863
|
+
_postman_filematch '!*.@(pem|crt|key)' "$cur"
|
|
864
|
+
return 0 ;;
|
|
865
|
+
esac
|
|
866
|
+
}
|
|
867
|
+
|
|
868
|
+
_postman_spec_sync() {
|
|
869
|
+
if [[ -z "$subcmd" ]]; then
|
|
870
|
+
if [[ "$cur" == -* ]]; then
|
|
871
|
+
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
872
|
+
else
|
|
873
|
+
COMPREPLY=( $(compgen -W "collection" -- "$cur") )
|
|
874
|
+
fi
|
|
875
|
+
return 0
|
|
876
|
+
fi
|
|
877
|
+
case "$subcmd" in
|
|
878
|
+
collection) _postman_spec_sync_collection ;;
|
|
879
|
+
esac
|
|
880
|
+
}
|
|
881
|
+
|
|
882
|
+
_postman_spec_sync_collection() {
|
|
883
|
+
if [[ "$cur" == -* ]]; then
|
|
884
|
+
COMPREPLY=( $(compgen -W "--collection-id --api-key -h --help" -- "$cur") )
|
|
885
|
+
return 0
|
|
886
|
+
fi
|
|
887
|
+
case "$prev" in
|
|
888
|
+
--api-key)
|
|
889
|
+
_postman_filematch '!*.@(pem|crt|key)' "$cur"
|
|
890
|
+
return 0 ;;
|
|
891
|
+
esac
|
|
892
|
+
}
|
|
893
|
+
|
|
894
|
+
_postman_spec_delete() {
|
|
895
|
+
if [[ "$cur" == -* ]]; then
|
|
896
|
+
COMPREPLY=( $(compgen -W "-y --yes --api-key -h --help" -- "$cur") )
|
|
795
897
|
return 0
|
|
796
898
|
fi
|
|
797
899
|
case "$prev" in
|
|
@@ -1003,7 +1105,7 @@ _postman_workspace() {
|
|
|
1003
1105
|
if [[ "$cur" == -* ]]; then
|
|
1004
1106
|
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
1005
1107
|
else
|
|
1006
|
-
COMPREPLY=( $(compgen -W "list prepare push lint get create pull connect-git diff" -- "$cur") )
|
|
1108
|
+
COMPREPLY=( $(compgen -W "list prepare push lint get create delete pull connect-git disconnect-git diff" -- "$cur") )
|
|
1007
1109
|
fi
|
|
1008
1110
|
return 0
|
|
1009
1111
|
fi
|
|
@@ -1014,8 +1116,10 @@ _postman_workspace() {
|
|
|
1014
1116
|
lint) _postman_workspace_lint ;;
|
|
1015
1117
|
get) _postman_workspace_get ;;
|
|
1016
1118
|
create) _postman_workspace_create ;;
|
|
1119
|
+
delete) _postman_workspace_delete ;;
|
|
1017
1120
|
pull) _postman_workspace_pull ;;
|
|
1018
1121
|
connect-git) _postman_workspace_connect_git ;;
|
|
1122
|
+
disconnect-git) _postman_workspace_disconnect_git ;;
|
|
1019
1123
|
diff) _postman_workspace_diff ;;
|
|
1020
1124
|
esac
|
|
1021
1125
|
}
|
|
@@ -1075,6 +1179,15 @@ _postman_workspace_create() {
|
|
|
1075
1179
|
esac
|
|
1076
1180
|
}
|
|
1077
1181
|
|
|
1182
|
+
_postman_workspace_delete() {
|
|
1183
|
+
if [[ "$cur" == -* ]]; then
|
|
1184
|
+
COMPREPLY=( $(compgen -W "-y --yes --json --verbose --timeout -h --help" -- "$cur") )
|
|
1185
|
+
return 0
|
|
1186
|
+
fi
|
|
1187
|
+
case "$prev" in
|
|
1188
|
+
esac
|
|
1189
|
+
}
|
|
1190
|
+
|
|
1078
1191
|
_postman_workspace_pull() {
|
|
1079
1192
|
if [[ "$cur" == -* ]]; then
|
|
1080
1193
|
COMPREPLY=( $(compgen -W "-y --yes --source-workspace --verbose -h --help" -- "$cur") )
|
|
@@ -1092,6 +1205,13 @@ _postman_workspace_connect_git() {
|
|
|
1092
1205
|
_postman_filematch '!*.@(json)' "$cur"
|
|
1093
1206
|
}
|
|
1094
1207
|
|
|
1208
|
+
_postman_workspace_disconnect_git() {
|
|
1209
|
+
if [[ "$cur" == -* ]]; then
|
|
1210
|
+
COMPREPLY=( $(compgen -W "-y --yes --verbose -h --help" -- "$cur") )
|
|
1211
|
+
return 0
|
|
1212
|
+
fi
|
|
1213
|
+
}
|
|
1214
|
+
|
|
1095
1215
|
_postman_workspace_diff() {
|
|
1096
1216
|
if [[ "$cur" == -* ]]; then
|
|
1097
1217
|
COMPREPLY=( $(compgen -W "--push-strategy --summary --json --exit-code --verbose --timeout -h --help" -- "$cur") )
|
|
@@ -1141,13 +1261,28 @@ _postman_performance() {
|
|
|
1141
1261
|
|
|
1142
1262
|
_postman_performance_run() {
|
|
1143
1263
|
if [[ "$cur" == -* ]]; then
|
|
1144
|
-
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") )
|
|
1264
|
+
COMPREPLY=( $(compgen -W "-e --environment -g --globals --setup-collection --teardown-collection --vu-count -d --duration -p --load-profile --data-file --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase -k --insecure --ssl-extra-ca-certs --dataset-id --dataset-view-id --dataset-distribution --postman-api-key --output --runner --pass-if --use-mock --dataset -h --help" -- "$cur") )
|
|
1145
1265
|
return 0
|
|
1146
1266
|
fi
|
|
1147
1267
|
case "$prev" in
|
|
1148
1268
|
--data-file)
|
|
1149
1269
|
_postman_filematch '!*.@(json)' "$cur"
|
|
1150
1270
|
return 0 ;;
|
|
1271
|
+
--ssl-client-cert-list)
|
|
1272
|
+
_postman_filematch '!*.@(pem|crt|key)' "$cur"
|
|
1273
|
+
return 0 ;;
|
|
1274
|
+
--ssl-client-cert)
|
|
1275
|
+
_postman_filematch '!*.@(pem|crt|key)' "$cur"
|
|
1276
|
+
return 0 ;;
|
|
1277
|
+
--ssl-client-key)
|
|
1278
|
+
_postman_filematch '!*.@(pem|crt|key)' "$cur"
|
|
1279
|
+
return 0 ;;
|
|
1280
|
+
--ssl-extra-ca-certs)
|
|
1281
|
+
_postman_filematch '!*.@(pem|crt|key)' "$cur"
|
|
1282
|
+
return 0 ;;
|
|
1283
|
+
--dataset)
|
|
1284
|
+
_postman_filematch '!*.@(json)' "$cur"
|
|
1285
|
+
return 0 ;;
|
|
1151
1286
|
esac
|
|
1152
1287
|
_postman_filematch '!*.@(json)' "$cur"
|
|
1153
1288
|
}
|
|
@@ -1447,7 +1582,7 @@ _postman_mock_generate() {
|
|
|
1447
1582
|
|
|
1448
1583
|
_postman_mock_run() {
|
|
1449
1584
|
if [[ "$cur" == -* ]]; then
|
|
1450
|
-
COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --api-key -h --help" -- "$cur") )
|
|
1585
|
+
COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --api-key -w --workspace --no-history --dataset -h --help" -- "$cur") )
|
|
1451
1586
|
return 0
|
|
1452
1587
|
fi
|
|
1453
1588
|
case "$prev" in
|
|
@@ -1460,6 +1595,9 @@ _postman_mock_run() {
|
|
|
1460
1595
|
--api-key)
|
|
1461
1596
|
_postman_filematch '!*.@(pem|crt|key)' "$cur"
|
|
1462
1597
|
return 0 ;;
|
|
1598
|
+
--dataset)
|
|
1599
|
+
_postman_filematch '!*.@(json)' "$cur"
|
|
1600
|
+
return 0 ;;
|
|
1463
1601
|
esac
|
|
1464
1602
|
_postman_filematch '!*.@(json)' "$cur"
|
|
1465
1603
|
}
|
|
@@ -1616,9 +1754,14 @@ _postman_simulate() {
|
|
|
1616
1754
|
|
|
1617
1755
|
_postman_simulate_run() {
|
|
1618
1756
|
if [[ "$cur" == -* ]]; then
|
|
1619
|
-
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
1757
|
+
COMPREPLY=( $(compgen -W "-w --workspace --simulation --api-key --no-history -h --help" -- "$cur") )
|
|
1620
1758
|
return 0
|
|
1621
1759
|
fi
|
|
1760
|
+
case "$prev" in
|
|
1761
|
+
--api-key)
|
|
1762
|
+
_postman_filematch '!*.@(pem|crt|key)' "$cur"
|
|
1763
|
+
return 0 ;;
|
|
1764
|
+
esac
|
|
1622
1765
|
_postman_filematch '!*.@(json)' "$cur"
|
|
1623
1766
|
}
|
|
1624
1767
|
|
|
@@ -2406,7 +2549,7 @@ _postman_dependency() {
|
|
|
2406
2549
|
if [[ "$cur" == -* ]]; then
|
|
2407
2550
|
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
2408
2551
|
else
|
|
2409
|
-
COMPREPLY=( $(compgen -W "add list install update" -- "$cur") )
|
|
2552
|
+
COMPREPLY=( $(compgen -W "add list install update remove" -- "$cur") )
|
|
2410
2553
|
fi
|
|
2411
2554
|
return 0
|
|
2412
2555
|
fi
|
|
@@ -2415,6 +2558,7 @@ _postman_dependency() {
|
|
|
2415
2558
|
list) _postman_dependency_list ;;
|
|
2416
2559
|
install) _postman_dependency_install ;;
|
|
2417
2560
|
update) _postman_dependency_update ;;
|
|
2561
|
+
remove) _postman_dependency_remove ;;
|
|
2418
2562
|
esac
|
|
2419
2563
|
}
|
|
2420
2564
|
|
|
@@ -2454,4 +2598,13 @@ _postman_dependency_update() {
|
|
|
2454
2598
|
esac
|
|
2455
2599
|
}
|
|
2456
2600
|
|
|
2601
|
+
_postman_dependency_remove() {
|
|
2602
|
+
if [[ "$cur" == -* ]]; then
|
|
2603
|
+
COMPREPLY=( $(compgen -W "--type -y --yes --json -h --help" -- "$cur") )
|
|
2604
|
+
return 0
|
|
2605
|
+
fi
|
|
2606
|
+
case "$prev" in
|
|
2607
|
+
esac
|
|
2608
|
+
}
|
|
2609
|
+
|
|
2457
2610
|
complete -F _postman postman
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Fish completion for Postman CLI (postman v1.
|
|
1
|
+
# Fish completion for Postman CLI (postman v1.66.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
|
|
@@ -113,15 +113,17 @@ complete -c postman -n '__fish_seen_subcommand_from skills; and __fish_seen_subc
|
|
|
113
113
|
complete -c postman -n '__fish_seen_subcommand_from skills; and __fish_seen_subcommand_from update' -r -k -a '(__fish_complete_suffix .json)'
|
|
114
114
|
|
|
115
115
|
# ---------- collection ----------
|
|
116
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get request folder list run' -a new -d 'Scaffold a v3 collection on disk, or create one in a cloud Postman workspace with --workspace.'
|
|
117
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get request folder list run' -a migrate -d 'Migrate a v2.1 collection to the v3 format'
|
|
118
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get request folder list run' -a lint -d 'Run linting on a local v3 collection at the given file or directory path.'
|
|
119
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get request folder list run' -a ai-readiness -d 'Score a Postman collection for AI readiness by ID, local file path, or local-mode directory.'
|
|
120
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get request folder list run' -a get -d 'Fetch a Postman collection in the V3 format and print it.'
|
|
121
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get request folder list run' -a
|
|
122
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get request folder list run' -a
|
|
123
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get request folder list run' -a
|
|
124
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get request folder list run' -a
|
|
116
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a new -d 'Scaffold a v3 collection on disk, or create one in a cloud Postman workspace with --workspace.'
|
|
117
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a migrate -d 'Migrate a v2.1 collection to the v3 format'
|
|
118
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a lint -d 'Run linting on a local v3 collection at the given file or directory path.'
|
|
119
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a ai-readiness -d 'Score a Postman collection for AI readiness by ID, local file path, or local-mode directory.'
|
|
120
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a get -d 'Fetch a Postman collection in the V3 format and print it.'
|
|
121
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a generate -d 'Generate artifacts from a collection.'
|
|
122
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a sync -d 'Sync artifacts generated from a collection.'
|
|
123
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a request -d 'Add, update, or remove requests in a local v3 collection.'
|
|
124
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a folder -d 'Add, update, or remove folders in a local v3 collection.'
|
|
125
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a list -d 'List collections: your local project\'s collections by default, or a Postman cloud workspace\'s collections with --workspace.'
|
|
126
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get generate sync request folder list run' -a run -d 'Initiate a Postman collection run from a given ID or path.'
|
|
125
127
|
complete -c postman -n '__fish_seen_subcommand_from collection' -s h -l help -d 'display help for command'
|
|
126
128
|
# ---------- collection new ----------
|
|
127
129
|
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
|
|
@@ -140,6 +142,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
140
142
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -r -k -a '(__fish_complete_suffix .json)'
|
|
141
143
|
# ---------- collection ai-readiness ----------
|
|
142
144
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from ai-readiness' -s o -l output -d 'Output format for the results. [choices: "cli", "json", "html"]' -x
|
|
145
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from ai-readiness' -l export -d 'Write the report to this file instead of stdout. A directory receives the report under a name derived from the collection. Requires --output html.' -r
|
|
143
146
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from ai-readiness' -l min-score -d 'Exit with a non-zero code if the overall score is below this threshold (0-100).' -x
|
|
144
147
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from ai-readiness' -s h -l help -d 'display help for command'
|
|
145
148
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from ai-readiness' -r -k -a '(__fish_complete_suffix .json)'
|
|
@@ -147,6 +150,24 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
147
150
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
|
|
148
151
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from get' -l json -d 'Print the collection as machine-readable V3 JSON instead of a table'
|
|
149
152
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
|
|
153
|
+
# ---------- collection generate ----------
|
|
154
|
+
complete -c postman -n '__postman_using_subcommand generate spec' -a spec -d 'Generate an OpenAPI specification from a Postman collection.'
|
|
155
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from generate' -s h -l help -d 'display help for command'
|
|
156
|
+
# ---------- collection generate spec ----------
|
|
157
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from spec' -s n -l name -d 'Specification name / title' -x
|
|
158
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from spec' -l spec-version -d 'Target OpenAPI version: 3.1, 3.0, or 2.0 (default: 3.1) (default: "3.1")' -x
|
|
159
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from spec' -s f -l format -d 'Output format: yaml or json (default: yaml) (default: "yaml")' -x
|
|
160
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from spec' -l api-key -d 'Postman API key' -r
|
|
161
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from spec' -s h -l help -d 'display help for command'
|
|
162
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from spec' -r -k -a '(__fish_complete_suffix .json)'
|
|
163
|
+
# ---------- collection sync ----------
|
|
164
|
+
complete -c postman -n '__postman_using_subcommand sync spec' -a spec -d 'Sync a specification from a linked collection (local path or cloud UUID).'
|
|
165
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from sync' -s h -l help -d 'display help for command'
|
|
166
|
+
# ---------- collection sync spec ----------
|
|
167
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from sync; and __fish_seen_subcommand_from spec' -l spec-id -d 'Specification ID to sync (required for cloud mode)' -x
|
|
168
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from sync; and __fish_seen_subcommand_from spec' -l api-key -d 'Postman API key' -r
|
|
169
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from sync; and __fish_seen_subcommand_from spec' -s h -l help -d 'display help for command'
|
|
170
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from sync; and __fish_seen_subcommand_from spec' -r -k -a '(__fish_complete_suffix .json)'
|
|
150
171
|
# ---------- collection request ----------
|
|
151
172
|
complete -c postman -n '__postman_using_subcommand request add update rm remove' -a add -d 'Add an empty request to a local v3 collection (set its details later with `update`).'
|
|
152
173
|
complete -c postman -n '__postman_using_subcommand request add update rm remove' -a update -d 'Update a request in a v3 collection (only the fields you pass).'
|
|
@@ -230,7 +251,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
230
251
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s d -l iteration-data -d 'Specify a data file to use for iterations (either JSON or CSV)' -r
|
|
231
252
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l iteration-data-dataset -d '[BETA] Path to a .dataset.yaml (local collection) or a cloud dataset id (cloud collection) whose view drives the iteration data. Mutually exclusive with --iteration-data. Requires --iteration-data-view.' -r
|
|
232
253
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l iteration-data-view -d '[BETA] Name or id of the view to execute (within --iteration-data-dataset). The view\'s result set drives one iteration per row.' -x
|
|
233
|
-
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l dataset -d '[BETA] Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to scripts as pm.datasets(<id>). When provided, auto-discovery of .dataset.yaml files from the collection\'s parent repo is disabled. For a cloud collection, scripts address cloud datasets by id via pm.datasets(<id>) (resolved from your `postman login` session). SECURITY: for a cloud collection this does NOT scope access — a script can pm.datasets(<anyId>) for any dataset your session can read. Only run collections you trust against a logged-in cloud session. (default: [])' -r
|
|
254
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l dataset -d '[BETA] Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to collection scripts and local mock handlers as pm.datasets(<id>). When provided, auto-discovery of .dataset.yaml files from the collection\'s parent repo is disabled. For a cloud collection, scripts address cloud datasets by id via pm.datasets(<id>) (resolved from your `postman login` session). SECURITY: for a cloud collection this does NOT scope access — a script can pm.datasets(<anyId>) for any dataset your session can read. Only run collections you trust against a logged-in cloud session. (default: [])' -r
|
|
234
255
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s i -d 'Specify the request/folder id, name, or path to run from the collection. Use a path (e.g. "FolderName/RequestName") to disambiguate items with the same name. Can be specified multiple times to run multiple items (default: [])' -x
|
|
235
256
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l global-var -d 'Allows the specification of global variables via the command line, in a key=value format' -x
|
|
236
257
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l env-var -d 'Allows the specification of environment variables via the command line, in a key=value format (default: [])' -x
|
|
@@ -261,6 +282,9 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
261
282
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l port -d 'Port for the --mock server (e.g. 4010), or "auto" for a free one. Defaults to the mock\'s configured port. Only valid with --mock.' -x
|
|
262
283
|
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
|
|
263
284
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l simulate -d 'Start mock servers with fault-injection scenarios from a .sim.yaml file' -r
|
|
285
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l simulation -d 'Simulation id to record start history against when using --simulate.' -x
|
|
286
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l simulate-workspace -d 'Workspace that owns the --simulate run, for recording its start history.' -x
|
|
287
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l no-simulate-history -d 'Do not record the --simulate run in the simulation\'s start history.'
|
|
264
288
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l report-events -d 'Upload results for git-native v3 collection runs. Analytics are sent by default'
|
|
265
289
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l no-report-events -d 'Do not send analytics to Postman'
|
|
266
290
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
|
|
@@ -388,13 +412,15 @@ complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subc
|
|
|
388
412
|
complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from regions' -s h -l help -d 'display help for command'
|
|
389
413
|
|
|
390
414
|
# ---------- spec ----------
|
|
391
|
-
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a lint -d 'Run linting on the given specification by ID or local file path.'
|
|
392
|
-
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a ai-readiness -d 'Score an OpenAPI specification for AI readiness by ID or local file path.'
|
|
393
|
-
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a list -d 'List local spec files under a path, or (no path) a workspace\'s cloud specs.'
|
|
394
|
-
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a get -d 'Read a spec definition, including every file of a multi-file spec.'
|
|
395
|
-
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a file -d 'Add, update, or remove files in a spec (cloud ID or local directory).'
|
|
396
|
-
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a create -d 'Create a new spec in a workspace, or (with path) scaffold a local spec file.'
|
|
397
|
-
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a generate -d 'Generate artifacts from a specification.'
|
|
415
|
+
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate sync delete' -a lint -d 'Run linting on the given specification by ID or local file path.'
|
|
416
|
+
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate sync delete' -a ai-readiness -d 'Score an OpenAPI specification for AI readiness by ID or local file path.'
|
|
417
|
+
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate sync delete' -a list -d 'List local spec files under a path, or (no path) a workspace\'s cloud specs.'
|
|
418
|
+
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate sync delete' -a get -d 'Read a spec definition, including every file of a multi-file spec.'
|
|
419
|
+
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate sync delete' -a file -d 'Add, update, or remove files in a spec (cloud ID or local directory).'
|
|
420
|
+
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate sync delete' -a create -d 'Create a new spec in a workspace, or (with path) scaffold a local spec file.'
|
|
421
|
+
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate sync delete' -a generate -d 'Generate artifacts from a specification.'
|
|
422
|
+
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate sync delete' -a sync -d 'Sync a generated collection with its source specification.'
|
|
423
|
+
complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate sync delete' -a delete -d 'Delete a spec by its cloud ID or local file path. Cannot be undone.'
|
|
398
424
|
complete -c postman -n '__fish_seen_subcommand_from spec' -s h -l help -d 'display help for command'
|
|
399
425
|
# ---------- spec lint ----------
|
|
400
426
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from lint' -s f -l fail-severity -d 'Results of this level or above will trigger a failure exit code. [choices: "error", "warning", "info", "hint"] (default: "ERROR")' -x
|
|
@@ -405,6 +431,7 @@ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcom
|
|
|
405
431
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from lint' -s h -l help -d 'display help for command'
|
|
406
432
|
# ---------- spec ai-readiness ----------
|
|
407
433
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from ai-readiness' -s o -l output -d 'Output format for the results. [choices: "cli", "json", "html"]' -x
|
|
434
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from ai-readiness' -l export -d 'Write the report to this file instead of stdout. A directory receives the report under a name derived from the specification. Requires --output html.' -r
|
|
408
435
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from ai-readiness' -l min-score -d 'Exit with a non-zero code if the overall score is below this threshold (0-100).' -x
|
|
409
436
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from ai-readiness' -s h -l help -d 'display help for command'
|
|
410
437
|
# ---------- spec list ----------
|
|
@@ -455,7 +482,19 @@ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcom
|
|
|
455
482
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from collection' -l folder-strategy -d 'Folder strategy: Paths or Tags (default: Paths) (default: "Paths")' -x
|
|
456
483
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from collection' -s w -l workspace -d 'Workspace ID (cloud mode)' -x
|
|
457
484
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from collection' -l api-key -d 'Postman API key' -r
|
|
485
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from collection' -l force -d 'Overwrite the collection if one with this name already exists (local mode)'
|
|
458
486
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from collection' -s h -l help -d 'display help for command'
|
|
487
|
+
# ---------- spec sync ----------
|
|
488
|
+
complete -c postman -n '__postman_using_subcommand sync collection' -a collection -d 'Sync a collection from a linked specification (local path or cloud UUID).'
|
|
489
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from sync' -s h -l help -d 'display help for command'
|
|
490
|
+
# ---------- spec sync collection ----------
|
|
491
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from sync; and __fish_seen_subcommand_from collection' -l collection-id -d 'Collection ID to sync (required for cloud mode)' -x
|
|
492
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from sync; and __fish_seen_subcommand_from collection' -l api-key -d 'Postman API key' -r
|
|
493
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from sync; and __fish_seen_subcommand_from collection' -s h -l help -d 'display help for command'
|
|
494
|
+
# ---------- spec delete ----------
|
|
495
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Delete without asking for confirmation first'
|
|
496
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from delete' -l api-key -d 'Postman API key, used with a cloud ID (defaults to your `postman login` session)' -r
|
|
497
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
|
|
459
498
|
|
|
460
499
|
# ---------- monitor ----------
|
|
461
500
|
complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a run -d 'Invoke a monitor run and display results.'
|
|
@@ -596,15 +635,17 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
|
|
|
596
635
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -s h -l help -d 'display help for command'
|
|
597
636
|
|
|
598
637
|
# ---------- workspace ----------
|
|
599
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create pull connect-git diff' -a list -d 'List all available Postman Workspaces'
|
|
600
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create pull connect-git diff' -a prepare -d 'Prepare local collections and environments for push by validating and regenerating IDs if needed.'
|
|
601
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create pull connect-git diff' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
|
|
602
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create pull connect-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.'
|
|
603
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create pull connect-git diff' -a get -d 'Read a workspace\'s metadata, and optionally the ids of what it holds.'
|
|
604
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create pull connect-git diff' -a create -d 'Create a Postman workspace and bind it to this git repository.'
|
|
605
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create pull connect-git diff' -a
|
|
606
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create pull connect-git diff' -a
|
|
607
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get create pull connect-git diff' -a
|
|
638
|
+
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'
|
|
639
|
+
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.'
|
|
640
|
+
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.'
|
|
641
|
+
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.'
|
|
642
|
+
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.'
|
|
643
|
+
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.'
|
|
644
|
+
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.'
|
|
645
|
+
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.'
|
|
646
|
+
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.'
|
|
647
|
+
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.'
|
|
648
|
+
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.'
|
|
608
649
|
complete -c postman -n '__fish_seen_subcommand_from workspace' -s h -l help -d 'display help for command'
|
|
609
650
|
# ---------- workspace list ----------
|
|
610
651
|
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
|
|
@@ -646,6 +687,12 @@ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_s
|
|
|
646
687
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -l no-connect -d 'Create the workspace without binding it to the repository'
|
|
647
688
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -l force -d 'Create even when a workspace is already recorded for this repo'
|
|
648
689
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -s h -l help -d 'display help for command'
|
|
690
|
+
# ---------- workspace delete ----------
|
|
691
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Skip the confirmation prompt'
|
|
692
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from delete' -l json -d 'Print the outcome as machine-readable JSON'
|
|
693
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from delete' -l verbose -d 'Show detailed logging'
|
|
694
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from delete' -l timeout -d 'Abort the run after this many milliseconds. Defaults to 30000.' -x
|
|
695
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
|
|
649
696
|
# ---------- workspace pull ----------
|
|
650
697
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from pull' -s y -l yes -d 'Skip all confirmation prompts'
|
|
651
698
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from pull' -l source-workspace -d 'Pull from a different source workspace.' -x
|
|
@@ -655,11 +702,15 @@ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_s
|
|
|
655
702
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from connect-git' -l verbose -d 'Show detailed logging'
|
|
656
703
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from connect-git' -s h -l help -d 'display help for command'
|
|
657
704
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from connect-git' -r -k -a '(__fish_complete_suffix .json)'
|
|
705
|
+
# ---------- workspace disconnect-git ----------
|
|
706
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from disconnect-git' -s y -l yes -d 'Skip all confirmation prompts'
|
|
707
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from disconnect-git' -l verbose -d 'Show detailed logging'
|
|
708
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from disconnect-git' -s h -l help -d 'display help for command'
|
|
658
709
|
# ---------- workspace diff ----------
|
|
659
710
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l push-strategy -d 'Strategy to preview. "force-sync" also shows cloud entities that would be DELETED. Defaults to "force-sync".' -x
|
|
660
711
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l summary -d 'Skip content comparison. Faster, but updates are listed without checking whether they changed.'
|
|
661
712
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l json -d 'Print the diff as machine-readable JSON.'
|
|
662
|
-
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l exit-code -d 'Exit with code 1 when
|
|
713
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l exit-code -d 'Exit with code 1 when a verified difference is found (for CI gates). Entity types with no comparison path are reported but do not fail the gate.'
|
|
663
714
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l verbose -d 'Show detailed logging'
|
|
664
715
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l timeout -d 'Abort the run after this many milliseconds. Defaults to 120000.' -x
|
|
665
716
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -s h -l help -d 'display help for command'
|
|
@@ -680,12 +731,18 @@ complete -c postman -n '__fish_seen_subcommand_from performance' -s h -l help -d
|
|
|
680
731
|
# ---------- performance run ----------
|
|
681
732
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s e -l environment -d 'Specify an Id to a Postman Environment' -x
|
|
682
733
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s g -l globals -d 'Specify an Id to a Postman Globals' -x
|
|
683
|
-
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l setup-collection -d 'Collection UID to run before the
|
|
684
|
-
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l teardown-collection -d 'Collection UID to run after the
|
|
734
|
+
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l setup-collection -d 'Collection UID to run before the performance test' -x
|
|
735
|
+
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l teardown-collection -d 'Collection UID to run after the performance test' -x
|
|
685
736
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l vu-count -d 'Number of virtual users (default: 20)' -x
|
|
686
737
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s d -l duration -d 'Duration of the performance test in minutes (default: 1)' -x
|
|
687
738
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s p -l load-profile -d 'Load profile type: fixed, ramp-up, spike, peak (default: "ramp-up")' -x
|
|
688
739
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l data-file -d 'Path to a JSON or CSV data file to use with the collection' -r
|
|
740
|
+
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l ssl-client-cert-list -d 'Path to a client certificates configuration file (JSON). Local runner only.' -r
|
|
741
|
+
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l ssl-client-cert -d 'Path to a client certificate (PEM) for mTLS targets. Local runner only.' -r
|
|
742
|
+
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l ssl-client-key -d 'Path to the client certificate private key. Local runner only.' -r
|
|
743
|
+
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l ssl-client-passphrase -d 'Client certificate passphrase (for a protected key). Local runner only.' -x
|
|
744
|
+
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s k -l insecure -d 'Disable SSL certificate verification for the target. Local runner only.'
|
|
745
|
+
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l ssl-extra-ca-certs -d 'Path to additionally trusted CA certificates (PEM) for the target. Local runner only.' -r
|
|
689
746
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l dataset-id -d 'Use a Postman Dataset as iteration data (with --dataset-view-id)' -x
|
|
690
747
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l dataset-view-id -d 'Dataset view to execute for iteration data (requires --dataset-id)' -x
|
|
691
748
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l dataset-distribution -d 'How rows map to VUs: round-robin (default), fixed, random' -x
|
|
@@ -694,6 +751,7 @@ complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen
|
|
|
694
751
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l runner -d 'Runner to execute the performance test on: local, postman-cloud, or postman-cloud-static-ip (egress from your account region\'s static-IP cluster) (default: local)' -x
|
|
695
752
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l pass-if -d 'Pass condition in format: function(metric, value). Functions: less_than, greater_than, less_than_eq, greater_than_eq. Metrics: avg, p90, p95, p99, error_rate, rps. Example: less_than(p95, 500) or less_than(error_rate, 5)' -x
|
|
696
753
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l use-mock -d 'Redirect a variable/host to a local code mock or cloud Mock Server (repeatable). Format: "<{{var}}|host> mock|mock-server:<path|id> [scenario]" (default: [])' -x
|
|
754
|
+
complete -c postman -n '__fish_seen_subcommand_from performance; 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 handlers of the local mocks started by --use-mock as pm.datasets(<id>). Local runner only. (default: [])' -r
|
|
697
755
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
|
|
698
756
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -r -k -a '(__fish_complete_suffix .json)'
|
|
699
757
|
# ---------- performance list ----------
|
|
@@ -937,6 +995,9 @@ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcom
|
|
|
937
995
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s g -l globals -d 'Path to a file of global variables for the mock. Relative or absolute, e.g. ./globals.json' -r
|
|
938
996
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s p -l port -d 'Port to run on (e.g. 4010), or "auto" for a free one. Defaults to the mock\'s configured port.' -x
|
|
939
997
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key, used with a Postman cloud id (defaults to your `postman login` session)' -r
|
|
998
|
+
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
|
|
999
|
+
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.'
|
|
1000
|
+
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
|
|
940
1001
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
|
|
941
1002
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -r -k -a '(__fish_complete_suffix .json)'
|
|
942
1003
|
# ---------- mock push ----------
|
|
@@ -1017,6 +1078,10 @@ complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen
|
|
|
1017
1078
|
complete -c postman -n '__postman_using_subcommand simulate run' -a run -d 'Start mocks with fault-injection scenarios defined in a .sim.yaml file'
|
|
1018
1079
|
complete -c postman -n '__fish_seen_subcommand_from simulate' -s h -l help -d 'display help for command'
|
|
1019
1080
|
# ---------- simulate run ----------
|
|
1081
|
+
complete -c postman -n '__fish_seen_subcommand_from simulate; and __fish_seen_subcommand_from run' -s w -l workspace -d 'Workspace that owns the run, for recording its simulation start history.' -x
|
|
1082
|
+
complete -c postman -n '__fish_seen_subcommand_from simulate; and __fish_seen_subcommand_from run' -l simulation -d 'Simulation id to record start history against (a local .sim.yaml has only a name). Required, with --workspace, to record history.' -x
|
|
1083
|
+
complete -c postman -n '__fish_seen_subcommand_from simulate; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key for recording start history (defaults to your `postman login` session).' -r
|
|
1084
|
+
complete -c postman -n '__fish_seen_subcommand_from simulate; and __fish_seen_subcommand_from run' -l no-history -d 'Do not record this run in the simulation\'s start history.'
|
|
1020
1085
|
complete -c postman -n '__fish_seen_subcommand_from simulate; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
|
|
1021
1086
|
complete -c postman -n '__fish_seen_subcommand_from simulate; and __fish_seen_subcommand_from run' -r -k -a '(__fish_complete_suffix .json)'
|
|
1022
1087
|
|
|
@@ -1398,10 +1463,11 @@ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_sub
|
|
|
1398
1463
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from jdbc; and __fish_seen_subcommand_from inspect' -s h -l help -d 'display help for command'
|
|
1399
1464
|
|
|
1400
1465
|
# ---------- dependency ----------
|
|
1401
|
-
complete -c postman -n '__postman_using_subcommand dependency add list install update' -a add -d 'Add a Postman collection, environment, or mock as a workspace dependency.'
|
|
1402
|
-
complete -c postman -n '__postman_using_subcommand dependency add list install update' -a list -d 'List the workspace dependencies declared in .postman/resources.yaml.'
|
|
1403
|
-
complete -c postman -n '__postman_using_subcommand dependency add list install update' -a install -d 'Materialise the dependencies declared in .postman/resources.yaml (all, or one).'
|
|
1404
|
-
complete -c postman -n '__postman_using_subcommand dependency add list install update' -a update -d 'Refresh declared dependencies to the latest content from their source (all, or one).'
|
|
1466
|
+
complete -c postman -n '__postman_using_subcommand dependency add list install update remove' -a add -d 'Add a Postman collection, environment, or mock as a workspace dependency.'
|
|
1467
|
+
complete -c postman -n '__postman_using_subcommand dependency add list install update remove' -a list -d 'List the workspace dependencies declared in .postman/resources.yaml.'
|
|
1468
|
+
complete -c postman -n '__postman_using_subcommand dependency add list install update remove' -a install -d 'Materialise the dependencies declared in .postman/resources.yaml (all, or one).'
|
|
1469
|
+
complete -c postman -n '__postman_using_subcommand dependency add list install update remove' -a update -d 'Refresh declared dependencies to the latest content from their source (all, or one).'
|
|
1470
|
+
complete -c postman -n '__postman_using_subcommand dependency add list install update remove' -a remove -d 'Remove a workspace dependency and delete its local files.'
|
|
1405
1471
|
complete -c postman -n '__fish_seen_subcommand_from dependency' -s h -l help -d 'display help for command'
|
|
1406
1472
|
# ---------- dependency add ----------
|
|
1407
1473
|
complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Workspace id to resolve a name in (defaults to the current workspace).' -x
|
|
@@ -1420,3 +1486,8 @@ complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_
|
|
|
1420
1486
|
complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from update' -l type -d 'Only update dependencies of this type (collection, environment, or mock).' -x
|
|
1421
1487
|
complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from update' -l json -d 'Output the result as JSON.'
|
|
1422
1488
|
complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
|
|
1489
|
+
# ---------- dependency remove ----------
|
|
1490
|
+
complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from remove' -l type -d 'Only match dependencies of this type (collection, environment, or mock).' -x
|
|
1491
|
+
complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from remove' -s y -l yes -d 'Skip the confirmation prompt (required outside an interactive terminal).'
|
|
1492
|
+
complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from remove' -l json -d 'Output the result as JSON.'
|
|
1493
|
+
complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from remove' -s h -l help -d 'display help for command'
|
package/completions/zsh/_postman
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
#compdef postman
|
|
2
2
|
compdef _postman postman
|
|
3
|
-
# Zsh completion for Postman CLI (postman v1.
|
|
3
|
+
# Zsh completion for Postman CLI (postman v1.66.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
|
|
@@ -209,6 +209,8 @@ _postman_collection() {
|
|
|
209
209
|
lint) _postman_collection_lint ;;
|
|
210
210
|
ai-readiness) _postman_collection_ai_readiness ;;
|
|
211
211
|
get) _postman_collection_get ;;
|
|
212
|
+
generate) _postman_collection_generate ;;
|
|
213
|
+
sync) _postman_collection_sync ;;
|
|
212
214
|
request) _postman_collection_request ;;
|
|
213
215
|
folder) _postman_collection_folder ;;
|
|
214
216
|
list) _postman_collection_list ;;
|
|
@@ -226,6 +228,8 @@ _postman_collection_commands() {
|
|
|
226
228
|
'lint:Run linting on a local v3 collection at the given file or directory path.'
|
|
227
229
|
'ai-readiness:Score a Postman collection for AI readiness by ID, local file path, or local-mode directory.'
|
|
228
230
|
'get:Fetch a Postman collection in the V3 format and print it.'
|
|
231
|
+
'generate:Generate artifacts from a collection.'
|
|
232
|
+
'sync:Sync artifacts generated from a collection.'
|
|
229
233
|
'request:Add, update, or remove requests in a local v3 collection.'
|
|
230
234
|
'folder:Add, update, or remove folders in a local v3 collection.'
|
|
231
235
|
'list:List collections\: your local project'\''s collections by default, or a Postman cloud workspace'\''s collections with --workspace.'
|
|
@@ -262,6 +266,7 @@ _postman_collection_lint() {
|
|
|
262
266
|
_postman_collection_ai_readiness() {
|
|
263
267
|
_arguments \
|
|
264
268
|
'(-o --output)'{-o,--output}'[Output format for the results. \[choices\: "cli", "json", "html"\]]:value' \
|
|
269
|
+
'--export[Write the report to this file instead of stdout. A directory receives the report under a name derived from the collection. Requires --output html.]:path:_files -g "*.json"' \
|
|
265
270
|
'--min-score[Exit with a non-zero code if the overall score is below this threshold (0-100).]:n' \
|
|
266
271
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
267
272
|
'*:collectionId/Path:_files -g "*.json"'
|
|
@@ -275,6 +280,72 @@ _postman_collection_get() {
|
|
|
275
280
|
'*:id:'
|
|
276
281
|
}
|
|
277
282
|
|
|
283
|
+
_postman_collection_generate() {
|
|
284
|
+
local context state state_descr line
|
|
285
|
+
typeset -A opt_args
|
|
286
|
+
_arguments -C \
|
|
287
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
288
|
+
'1: :_postman_collection_generate_commands' \
|
|
289
|
+
'*::arg:->args'
|
|
290
|
+
case $state in
|
|
291
|
+
args)
|
|
292
|
+
case $words[1] in
|
|
293
|
+
spec) _postman_collection_generate_spec ;;
|
|
294
|
+
esac
|
|
295
|
+
;;
|
|
296
|
+
esac
|
|
297
|
+
}
|
|
298
|
+
|
|
299
|
+
_postman_collection_generate_commands() {
|
|
300
|
+
local -a sub
|
|
301
|
+
sub=(
|
|
302
|
+
'spec:Generate an OpenAPI specification from a Postman collection.'
|
|
303
|
+
)
|
|
304
|
+
_describe -t commands 'generate command' sub
|
|
305
|
+
}
|
|
306
|
+
|
|
307
|
+
_postman_collection_generate_spec() {
|
|
308
|
+
_arguments \
|
|
309
|
+
'(-n --name)'{-n,--name}'[Specification name / title]:name' \
|
|
310
|
+
'--spec-version[Target OpenAPI version\: 3.1, 3.0, or 2.0 (default\: 3.1) (default\: "3.1")]:ver' \
|
|
311
|
+
'(-f --format)'{-f,--format}'[Output format\: yaml or json (default\: yaml) (default\: "yaml")]:fmt' \
|
|
312
|
+
'--api-key[Postman API key]:key:_files -g "*.(pem|crt|key)"' \
|
|
313
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
314
|
+
'*:collection:_files -g "*.json"'
|
|
315
|
+
}
|
|
316
|
+
|
|
317
|
+
_postman_collection_sync() {
|
|
318
|
+
local context state state_descr line
|
|
319
|
+
typeset -A opt_args
|
|
320
|
+
_arguments -C \
|
|
321
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
322
|
+
'1: :_postman_collection_sync_commands' \
|
|
323
|
+
'*::arg:->args'
|
|
324
|
+
case $state in
|
|
325
|
+
args)
|
|
326
|
+
case $words[1] in
|
|
327
|
+
spec) _postman_collection_sync_spec ;;
|
|
328
|
+
esac
|
|
329
|
+
;;
|
|
330
|
+
esac
|
|
331
|
+
}
|
|
332
|
+
|
|
333
|
+
_postman_collection_sync_commands() {
|
|
334
|
+
local -a sub
|
|
335
|
+
sub=(
|
|
336
|
+
'spec:Sync a specification from a linked collection (local path or cloud UUID).'
|
|
337
|
+
)
|
|
338
|
+
_describe -t commands 'sync command' sub
|
|
339
|
+
}
|
|
340
|
+
|
|
341
|
+
_postman_collection_sync_spec() {
|
|
342
|
+
_arguments \
|
|
343
|
+
'--spec-id[Specification ID to sync (required for cloud mode)]:id' \
|
|
344
|
+
'--api-key[Postman API key]:key:_files -g "*.(pem|crt|key)"' \
|
|
345
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
346
|
+
'*:collection:_files -g "*.json"'
|
|
347
|
+
}
|
|
348
|
+
|
|
278
349
|
_postman_collection_request() {
|
|
279
350
|
local context state state_descr line
|
|
280
351
|
typeset -A opt_args
|
|
@@ -432,7 +503,7 @@ _postman_collection_run() {
|
|
|
432
503
|
'(-d --iteration-data)'{-d,--iteration-data}'[Specify a data file to use for iterations (either JSON or CSV)]:path:_files -g "*.(json|csv)"' \
|
|
433
504
|
'--iteration-data-dataset[\[BETA\] Path to a .dataset.yaml (local collection) or a cloud dataset id (cloud collection) whose view drives the iteration data. Mutually exclusive with --iteration-data. Requires --iteration-data-view.]:pathOrId:_files -g "*.(json|csv)"' \
|
|
434
505
|
'--iteration-data-view[\[BETA\] Name or id of the view to execute (within --iteration-data-dataset). The view'\''s result set drives one iteration per row.]:nameOrId' \
|
|
435
|
-
'--dataset[\[BETA\] Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to scripts as pm.datasets(<id>). When provided, auto-discovery of .dataset.yaml files from the collection'\''s parent repo is disabled. For a cloud collection, scripts address cloud datasets by id via pm.datasets(<id>) (resolved from your `postman login` session). SECURITY\: for a cloud collection this does NOT scope access — a script can pm.datasets(<anyId>) for any dataset your session can read. Only run collections you trust against a logged-in cloud session. (default\: \[\])]:pathOrDir:_files -g "*.json"' \
|
|
506
|
+
'--dataset[\[BETA\] Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to collection scripts and local mock handlers as pm.datasets(<id>). When provided, auto-discovery of .dataset.yaml files from the collection'\''s parent repo is disabled. For a cloud collection, scripts address cloud datasets by id via pm.datasets(<id>) (resolved from your `postman login` session). SECURITY\: for a cloud collection this does NOT scope access — a script can pm.datasets(<anyId>) for any dataset your session can read. Only run collections you trust against a logged-in cloud session. (default\: \[\])]:pathOrDir:_files -g "*.json"' \
|
|
436
507
|
'-i[Specify the request/folder id, name, or path to run from the collection. Use a path (e.g. "FolderName/RequestName") to disambiguate items with the same name. Can be specified multiple times to run multiple items (default\: \[\])]:id' \
|
|
437
508
|
'--global-var[Allows the specification of global variables via the command line, in a key=value format]:value' \
|
|
438
509
|
'--env-var[Allows the specification of environment variables via the command line, in a key=value format (default\: \[\])]:value' \
|
|
@@ -463,6 +534,9 @@ _postman_collection_run() {
|
|
|
463
534
|
'--port[Port for the --mock server (e.g. 4010), or "auto" for a free one. Defaults to the mock'\''s configured port. Only valid with --mock.]:port' \
|
|
464
535
|
'--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' \
|
|
465
536
|
'--simulate[Start mock servers with fault-injection scenarios from a .sim.yaml file]:path:_files -g "*.(sim.yaml|yaml|yml)"' \
|
|
537
|
+
'--simulation[Simulation id to record start history against when using --simulate.]:id' \
|
|
538
|
+
'--simulate-workspace[Workspace that owns the --simulate run, for recording its start history.]:id' \
|
|
539
|
+
'--no-simulate-history[Do not record the --simulate run in the simulation'\''s start history.]' \
|
|
466
540
|
'--report-events[Upload results for git-native v3 collection runs. Analytics are sent by default]' \
|
|
467
541
|
'--no-report-events[Do not send analytics to Postman]' \
|
|
468
542
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
@@ -761,6 +835,8 @@ _postman_spec() {
|
|
|
761
835
|
file) _postman_spec_file ;;
|
|
762
836
|
create) _postman_spec_create ;;
|
|
763
837
|
generate) _postman_spec_generate ;;
|
|
838
|
+
sync) _postman_spec_sync ;;
|
|
839
|
+
delete) _postman_spec_delete ;;
|
|
764
840
|
esac
|
|
765
841
|
;;
|
|
766
842
|
esac
|
|
@@ -776,6 +852,8 @@ _postman_spec_commands() {
|
|
|
776
852
|
'file:Add, update, or remove files in a spec (cloud ID or local directory).'
|
|
777
853
|
'create:Create a new spec in a workspace, or (with path) scaffold a local spec file.'
|
|
778
854
|
'generate:Generate artifacts from a specification.'
|
|
855
|
+
'sync:Sync a generated collection with its source specification.'
|
|
856
|
+
'delete:Delete a spec by its cloud ID or local file path. Cannot be undone.'
|
|
779
857
|
)
|
|
780
858
|
_describe -t commands 'spec command' sub
|
|
781
859
|
}
|
|
@@ -794,6 +872,7 @@ _postman_spec_lint() {
|
|
|
794
872
|
_postman_spec_ai_readiness() {
|
|
795
873
|
_arguments \
|
|
796
874
|
'(-o --output)'{-o,--output}'[Output format for the results. \[choices\: "cli", "json", "html"\]]:value' \
|
|
875
|
+
'--export[Write the report to this file instead of stdout. A directory receives the report under a name derived from the specification. Requires --output html.]:path:_files -g "*.json"' \
|
|
797
876
|
'--min-score[Exit with a non-zero code if the overall score is below this threshold (0-100).]:n' \
|
|
798
877
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
799
878
|
'*:spec:'
|
|
@@ -911,6 +990,47 @@ _postman_spec_generate_collection() {
|
|
|
911
990
|
'--folder-strategy[Folder strategy\: Paths or Tags (default\: Paths) (default\: "Paths")]:strategy' \
|
|
912
991
|
'(-w --workspace)'{-w,--workspace}'[Workspace ID (cloud mode)]:id' \
|
|
913
992
|
'--api-key[Postman API key]:key:_files -g "*.(pem|crt|key)"' \
|
|
993
|
+
'--force[Overwrite the collection if one with this name already exists (local mode)]' \
|
|
994
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
995
|
+
'*:spec:'
|
|
996
|
+
}
|
|
997
|
+
|
|
998
|
+
_postman_spec_sync() {
|
|
999
|
+
local context state state_descr line
|
|
1000
|
+
typeset -A opt_args
|
|
1001
|
+
_arguments -C \
|
|
1002
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1003
|
+
'1: :_postman_spec_sync_commands' \
|
|
1004
|
+
'*::arg:->args'
|
|
1005
|
+
case $state in
|
|
1006
|
+
args)
|
|
1007
|
+
case $words[1] in
|
|
1008
|
+
collection) _postman_spec_sync_collection ;;
|
|
1009
|
+
esac
|
|
1010
|
+
;;
|
|
1011
|
+
esac
|
|
1012
|
+
}
|
|
1013
|
+
|
|
1014
|
+
_postman_spec_sync_commands() {
|
|
1015
|
+
local -a sub
|
|
1016
|
+
sub=(
|
|
1017
|
+
'collection:Sync a collection from a linked specification (local path or cloud UUID).'
|
|
1018
|
+
)
|
|
1019
|
+
_describe -t commands 'sync command' sub
|
|
1020
|
+
}
|
|
1021
|
+
|
|
1022
|
+
_postman_spec_sync_collection() {
|
|
1023
|
+
_arguments \
|
|
1024
|
+
'--collection-id[Collection ID to sync (required for cloud mode)]:id' \
|
|
1025
|
+
'--api-key[Postman API key]:key:_files -g "*.(pem|crt|key)"' \
|
|
1026
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1027
|
+
'*:spec:'
|
|
1028
|
+
}
|
|
1029
|
+
|
|
1030
|
+
_postman_spec_delete() {
|
|
1031
|
+
_arguments \
|
|
1032
|
+
'(-y --yes)'{-y,--yes}'[Delete without asking for confirmation first]' \
|
|
1033
|
+
'--api-key[Postman API key, used with a cloud ID (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
|
|
914
1034
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
915
1035
|
'*:spec:'
|
|
916
1036
|
}
|
|
@@ -1188,8 +1308,10 @@ _postman_workspace() {
|
|
|
1188
1308
|
lint) _postman_workspace_lint ;;
|
|
1189
1309
|
get) _postman_workspace_get ;;
|
|
1190
1310
|
create) _postman_workspace_create ;;
|
|
1311
|
+
delete) _postman_workspace_delete ;;
|
|
1191
1312
|
pull) _postman_workspace_pull ;;
|
|
1192
1313
|
connect-git) _postman_workspace_connect_git ;;
|
|
1314
|
+
disconnect-git) _postman_workspace_disconnect_git ;;
|
|
1193
1315
|
diff) _postman_workspace_diff ;;
|
|
1194
1316
|
esac
|
|
1195
1317
|
;;
|
|
@@ -1205,8 +1327,10 @@ _postman_workspace_commands() {
|
|
|
1205
1327
|
'lint:Lint the current local Postman workspace\: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
|
|
1206
1328
|
'get:Read a workspace'\''s metadata, and optionally the ids of what it holds.'
|
|
1207
1329
|
'create:Create a Postman workspace and bind it to this git repository.'
|
|
1330
|
+
'delete:Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
|
|
1208
1331
|
'pull:Pull workspace entities from a Postman workspace into the local git-native folder.'
|
|
1209
1332
|
'connect-git:Connect a Postman workspace to a local git repository.'
|
|
1333
|
+
'disconnect-git:Disconnect a Postman workspace from its local git repository.'
|
|
1210
1334
|
'diff:Preview local-vs-cloud drift before pushing. Read-only\: nothing is created, updated or deleted.'
|
|
1211
1335
|
)
|
|
1212
1336
|
_describe -t commands 'workspace command' sub
|
|
@@ -1271,6 +1395,16 @@ _postman_workspace_create() {
|
|
|
1271
1395
|
'(-h --help)'{-h,--help}'[display help for command]'
|
|
1272
1396
|
}
|
|
1273
1397
|
|
|
1398
|
+
_postman_workspace_delete() {
|
|
1399
|
+
_arguments \
|
|
1400
|
+
'(-y --yes)'{-y,--yes}'[Skip the confirmation prompt]' \
|
|
1401
|
+
'--json[Print the outcome as machine-readable JSON]' \
|
|
1402
|
+
'--verbose[Show detailed logging]' \
|
|
1403
|
+
'--timeout[Abort the run after this many milliseconds. Defaults to 30000.]:ms' \
|
|
1404
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1405
|
+
'*:workspaceId:'
|
|
1406
|
+
}
|
|
1407
|
+
|
|
1274
1408
|
_postman_workspace_pull() {
|
|
1275
1409
|
_arguments \
|
|
1276
1410
|
'(-y --yes)'{-y,--yes}'[Skip all confirmation prompts]' \
|
|
@@ -1287,12 +1421,20 @@ _postman_workspace_connect_git() {
|
|
|
1287
1421
|
'*:path:_files -g "*.json"'
|
|
1288
1422
|
}
|
|
1289
1423
|
|
|
1424
|
+
_postman_workspace_disconnect_git() {
|
|
1425
|
+
_arguments \
|
|
1426
|
+
'(-y --yes)'{-y,--yes}'[Skip all confirmation prompts]' \
|
|
1427
|
+
'--verbose[Show detailed logging]' \
|
|
1428
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1429
|
+
'*:workspaceId:'
|
|
1430
|
+
}
|
|
1431
|
+
|
|
1290
1432
|
_postman_workspace_diff() {
|
|
1291
1433
|
_arguments \
|
|
1292
1434
|
'--push-strategy[Strategy to preview. "force-sync" also shows cloud entities that would be DELETED. Defaults to "force-sync".]:strategy' \
|
|
1293
1435
|
'--summary[Skip content comparison. Faster, but updates are listed without checking whether they changed.]' \
|
|
1294
1436
|
'--json[Print the diff as machine-readable JSON.]' \
|
|
1295
|
-
'--exit-code[Exit with code 1 when
|
|
1437
|
+
'--exit-code[Exit with code 1 when a verified difference is found (for CI gates). Entity types with no comparison path are reported but do not fail the gate.]' \
|
|
1296
1438
|
'--verbose[Show detailed logging]' \
|
|
1297
1439
|
'--timeout[Abort the run after this many milliseconds. Defaults to 120000.]:ms' \
|
|
1298
1440
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
@@ -1361,12 +1503,18 @@ _postman_performance_run() {
|
|
|
1361
1503
|
_arguments \
|
|
1362
1504
|
'(-e --environment)'{-e,--environment}'[Specify an Id to a Postman Environment]:id' \
|
|
1363
1505
|
'(-g --globals)'{-g,--globals}'[Specify an Id to a Postman Globals]:id' \
|
|
1364
|
-
'--setup-collection[Collection UID to run before the
|
|
1365
|
-
'--teardown-collection[Collection UID to run after the
|
|
1506
|
+
'--setup-collection[Collection UID to run before the performance test]:id' \
|
|
1507
|
+
'--teardown-collection[Collection UID to run after the performance test]:id' \
|
|
1366
1508
|
'--vu-count[Number of virtual users (default\: 20)]:count' \
|
|
1367
1509
|
'(-d --duration)'{-d,--duration}'[Duration of the performance test in minutes (default\: 1)]:minutes' \
|
|
1368
1510
|
'(-p --load-profile)'{-p,--load-profile}'[Load profile type\: fixed, ramp-up, spike, peak (default\: "ramp-up")]:profile' \
|
|
1369
1511
|
'--data-file[Path to a JSON or CSV data file to use with the collection]:path:_files -g "*.json"' \
|
|
1512
|
+
'--ssl-client-cert-list[Path to a client certificates configuration file (JSON). Local runner only.]:path:_files -g "*.(pem|crt|key)"' \
|
|
1513
|
+
'--ssl-client-cert[Path to a client certificate (PEM) for mTLS targets. Local runner only.]:path:_files -g "*.(pem|crt|key)"' \
|
|
1514
|
+
'--ssl-client-key[Path to the client certificate private key. Local runner only.]:path:_files -g "*.(pem|crt|key)"' \
|
|
1515
|
+
'--ssl-client-passphrase[Client certificate passphrase (for a protected key). Local runner only.]:passphrase' \
|
|
1516
|
+
'(-k --insecure)'{-k,--insecure}'[Disable SSL certificate verification for the target. Local runner only.]' \
|
|
1517
|
+
'--ssl-extra-ca-certs[Path to additionally trusted CA certificates (PEM) for the target. Local runner only.]:path:_files -g "*.(pem|crt|key)"' \
|
|
1370
1518
|
'--dataset-id[Use a Postman Dataset as iteration data (with --dataset-view-id)]:id' \
|
|
1371
1519
|
'--dataset-view-id[Dataset view to execute for iteration data (requires --dataset-id)]:id' \
|
|
1372
1520
|
'--dataset-distribution[How rows map to VUs\: round-robin (default), fixed, random]:strategy' \
|
|
@@ -1375,6 +1523,7 @@ _postman_performance_run() {
|
|
|
1375
1523
|
'--runner[Runner to execute the performance test on\: local, postman-cloud, or postman-cloud-static-ip (egress from your account region'\''s static-IP cluster) (default\: local)]:runner' \
|
|
1376
1524
|
'--pass-if[Pass condition in format\: function(metric, value). Functions\: less_than, greater_than, less_than_eq, greater_than_eq. Metrics\: avg, p90, p95, p99, error_rate, rps. Example\: less_than(p95, 500) or less_than(error_rate, 5)]:condition' \
|
|
1377
1525
|
'--use-mock[Redirect a variable/host to a local code mock or cloud Mock Server (repeatable). Format\: "<{{var}}|host> mock|mock-server\:<path|id> \[scenario\]" (default\: \[\])]:mapping' \
|
|
1526
|
+
'--dataset[Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to the handlers of the local mocks started by --use-mock as pm.datasets(<id>). Local runner only. (default\: \[\])]:pathOrDir:_files -g "*.json"' \
|
|
1378
1527
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1379
1528
|
'*:collectionId:_files -g "*.json"'
|
|
1380
1529
|
}
|
|
@@ -1787,6 +1936,9 @@ _postman_mock_run() {
|
|
|
1787
1936
|
'(-g --globals)'{-g,--globals}'[Path to a file of global variables for the mock. Relative or absolute, e.g. ./globals.json]:path:_files -g "*.json"' \
|
|
1788
1937
|
'(-p --port)'{-p,--port}'[Port to run on (e.g. 4010), or "auto" for a free one. Defaults to the mock'\''s configured port.]:port' \
|
|
1789
1938
|
'--api-key[Postman API key, used with a Postman cloud id (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1939
|
+
'(-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' \
|
|
1940
|
+
'--no-history[Do not record this run in the mock'\''s start history.]' \
|
|
1941
|
+
'--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"' \
|
|
1790
1942
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1791
1943
|
'*:mockIdOrPath:_files -g "*.json"'
|
|
1792
1944
|
}
|
|
@@ -1939,6 +2091,10 @@ _postman_simulate_commands() {
|
|
|
1939
2091
|
|
|
1940
2092
|
_postman_simulate_run() {
|
|
1941
2093
|
_arguments \
|
|
2094
|
+
'(-w --workspace)'{-w,--workspace}'[Workspace that owns the run, for recording its simulation start history.]:id' \
|
|
2095
|
+
'--simulation[Simulation id to record start history against (a local .sim.yaml has only a name). Required, with --workspace, to record history.]:id' \
|
|
2096
|
+
'--api-key[Postman API key for recording start history (defaults to your `postman login` session).]:key:_files -g "*.(pem|crt|key)"' \
|
|
2097
|
+
'--no-history[Do not record this run in the simulation'\''s start history.]' \
|
|
1942
2098
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1943
2099
|
'*:filepath:_files -g "*.json"'
|
|
1944
2100
|
}
|
|
@@ -2870,6 +3026,7 @@ _postman_dependency() {
|
|
|
2870
3026
|
list) _postman_dependency_list ;;
|
|
2871
3027
|
install) _postman_dependency_install ;;
|
|
2872
3028
|
update) _postman_dependency_update ;;
|
|
3029
|
+
remove) _postman_dependency_remove ;;
|
|
2873
3030
|
esac
|
|
2874
3031
|
;;
|
|
2875
3032
|
esac
|
|
@@ -2882,6 +3039,7 @@ _postman_dependency_commands() {
|
|
|
2882
3039
|
'list:List the workspace dependencies declared in .postman/resources.yaml.'
|
|
2883
3040
|
'install:Materialise the dependencies declared in .postman/resources.yaml (all, or one).'
|
|
2884
3041
|
'update:Refresh declared dependencies to the latest content from their source (all, or one).'
|
|
3042
|
+
'remove:Remove a workspace dependency and delete its local files.'
|
|
2885
3043
|
)
|
|
2886
3044
|
_describe -t commands 'dependency command' sub
|
|
2887
3045
|
}
|
|
@@ -2918,6 +3076,15 @@ _postman_dependency_update() {
|
|
|
2918
3076
|
'*:nameOrId:'
|
|
2919
3077
|
}
|
|
2920
3078
|
|
|
3079
|
+
_postman_dependency_remove() {
|
|
3080
|
+
_arguments \
|
|
3081
|
+
'--type[Only match dependencies of this type (collection, environment, or mock).]:type' \
|
|
3082
|
+
'(-y --yes)'{-y,--yes}'[Skip the confirmation prompt (required outside an interactive terminal).]' \
|
|
3083
|
+
'--json[Output the result as JSON.]' \
|
|
3084
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
3085
|
+
'*:nameOrId:'
|
|
3086
|
+
}
|
|
3087
|
+
|
|
2921
3088
|
# When loaded via fpath + compinit, the file body becomes the function body of
|
|
2922
3089
|
# `_postman`. In that case `funcstack[1]` is `_postman` and we must actually
|
|
2923
3090
|
# invoke the completion. When sourced directly, this is a no-op — `_postman`
|