postman-cli-completion 1.75.0 → 1.76.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/completions/bash/postman.bash +21 -24
- package/completions/fish/postman.fish +48 -25
- package/completions/zsh/_postman +48 -25
- 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.76.0)
|
|
2
2
|
# Auto-generated by scripts/generate.mjs — DO NOT EDIT
|
|
3
3
|
# Source: spec/commands.json
|
|
4
4
|
# https://github.com/yokawasa/postman-cli-completion
|
|
@@ -146,7 +146,7 @@ _postman_collection() {
|
|
|
146
146
|
|
|
147
147
|
_postman_collection_new() {
|
|
148
148
|
if [[ "$cur" == -* ]]; then
|
|
149
|
-
COMPREPLY=( $(compgen -W "-w --workspace --force --verbose --json -h --help" -- "$cur") )
|
|
149
|
+
COMPREPLY=( $(compgen -W "-w --workspace --force -m --message --verbose --json -h --help" -- "$cur") )
|
|
150
150
|
return 0
|
|
151
151
|
fi
|
|
152
152
|
case "$prev" in
|
|
@@ -203,7 +203,7 @@ _postman_collection_get() {
|
|
|
203
203
|
|
|
204
204
|
_postman_collection_delete() {
|
|
205
205
|
if [[ "$cur" == -* ]]; then
|
|
206
|
-
COMPREPLY=( $(compgen -W "-y --yes --api-key --verbose --json -h --help" -- "$cur") )
|
|
206
|
+
COMPREPLY=( $(compgen -W "-y --yes --api-key -m --message --verbose --json -h --help" -- "$cur") )
|
|
207
207
|
return 0
|
|
208
208
|
fi
|
|
209
209
|
case "$prev" in
|
|
@@ -302,7 +302,7 @@ _postman_collection_request() {
|
|
|
302
302
|
|
|
303
303
|
_postman_collection_request_add() {
|
|
304
304
|
if [[ "$cur" == -* ]]; then
|
|
305
|
-
COMPREPLY=( $(compgen -W "--collection --folder --type -w --workspace --json -h --help" -- "$cur") )
|
|
305
|
+
COMPREPLY=( $(compgen -W "--collection --folder --type -w --workspace -m --message --json -h --help" -- "$cur") )
|
|
306
306
|
return 0
|
|
307
307
|
fi
|
|
308
308
|
case "$prev" in
|
|
@@ -320,7 +320,7 @@ _postman_collection_request_get() {
|
|
|
320
320
|
|
|
321
321
|
_postman_collection_request_update() {
|
|
322
322
|
if [[ "$cur" == -* ]]; then
|
|
323
|
-
COMPREPLY=( $(compgen -W "--collection --folder --rename --url --method --param --clear-params -d --body --variables --description --headers --auth --scripts -w --workspace --type --json -h --help" -- "$cur") )
|
|
323
|
+
COMPREPLY=( $(compgen -W "--collection --folder --rename --url --method --param --clear-params -d --body --variables --description --headers --auth --scripts -w --workspace --type -m --message --json -h --help" -- "$cur") )
|
|
324
324
|
return 0
|
|
325
325
|
fi
|
|
326
326
|
case "$prev" in
|
|
@@ -335,7 +335,7 @@ _postman_collection_request_update() {
|
|
|
335
335
|
|
|
336
336
|
_postman_collection_request_rm() {
|
|
337
337
|
if [[ "$cur" == -* ]]; then
|
|
338
|
-
COMPREPLY=( $(compgen -W "--collection --folder -w --workspace --type --json -h --help" -- "$cur") )
|
|
338
|
+
COMPREPLY=( $(compgen -W "--collection --folder -w --workspace --type -m --message --json -h --help" -- "$cur") )
|
|
339
339
|
return 0
|
|
340
340
|
fi
|
|
341
341
|
case "$prev" in
|
|
@@ -361,7 +361,7 @@ _postman_collection_folder() {
|
|
|
361
361
|
|
|
362
362
|
_postman_collection_folder_add() {
|
|
363
363
|
if [[ "$cur" == -* ]]; then
|
|
364
|
-
COMPREPLY=( $(compgen -W "--collection --folder -w --workspace --json -h --help" -- "$cur") )
|
|
364
|
+
COMPREPLY=( $(compgen -W "--collection --folder -w --workspace -m --message --json -h --help" -- "$cur") )
|
|
365
365
|
return 0
|
|
366
366
|
fi
|
|
367
367
|
case "$prev" in
|
|
@@ -379,7 +379,7 @@ _postman_collection_folder_get() {
|
|
|
379
379
|
|
|
380
380
|
_postman_collection_folder_update() {
|
|
381
381
|
if [[ "$cur" == -* ]]; then
|
|
382
|
-
COMPREPLY=( $(compgen -W "--collection --folder --name --description --auth --scripts -w --workspace --json -h --help" -- "$cur") )
|
|
382
|
+
COMPREPLY=( $(compgen -W "--collection --folder --name --description --auth --scripts -w --workspace -m --message --json -h --help" -- "$cur") )
|
|
383
383
|
return 0
|
|
384
384
|
fi
|
|
385
385
|
case "$prev" in
|
|
@@ -388,7 +388,7 @@ _postman_collection_folder_update() {
|
|
|
388
388
|
|
|
389
389
|
_postman_collection_folder_rm() {
|
|
390
390
|
if [[ "$cur" == -* ]]; then
|
|
391
|
-
COMPREPLY=( $(compgen -W "--collection --folder -y --yes -w --workspace --json -h --help" -- "$cur") )
|
|
391
|
+
COMPREPLY=( $(compgen -W "--collection --folder -y --yes -w --workspace -m --message --json -h --help" -- "$cur") )
|
|
392
392
|
return 0
|
|
393
393
|
fi
|
|
394
394
|
case "$prev" in
|
|
@@ -415,7 +415,7 @@ _postman_collection_example() {
|
|
|
415
415
|
|
|
416
416
|
_postman_collection_example_add() {
|
|
417
417
|
if [[ "$cur" == -* ]]; then
|
|
418
|
-
COMPREPLY=( $(compgen -W "--collection --request --folder --type -w --workspace --json -h --help" -- "$cur") )
|
|
418
|
+
COMPREPLY=( $(compgen -W "--collection --request --folder --type -w --workspace -m --message --json -h --help" -- "$cur") )
|
|
419
419
|
return 0
|
|
420
420
|
fi
|
|
421
421
|
case "$prev" in
|
|
@@ -424,7 +424,7 @@ _postman_collection_example_add() {
|
|
|
424
424
|
|
|
425
425
|
_postman_collection_example_update() {
|
|
426
426
|
if [[ "$cur" == -* ]]; then
|
|
427
|
-
COMPREPLY=( $(compgen -W "--collection --request --folder --status-code --status-text -d --body --headers --description --rename --url --method --request-headers --request-param --request-body --copy-request --clear-request -w --workspace --type --json -h --help" -- "$cur") )
|
|
427
|
+
COMPREPLY=( $(compgen -W "--collection --request --folder --status-code --status-text -d --body --headers --description --rename --url --method --request-headers --request-param --request-body --copy-request --clear-request -w --workspace --type -m --message --json -h --help" -- "$cur") )
|
|
428
428
|
return 0
|
|
429
429
|
fi
|
|
430
430
|
case "$prev" in
|
|
@@ -442,7 +442,7 @@ _postman_collection_example_update() {
|
|
|
442
442
|
|
|
443
443
|
_postman_collection_example_rm() {
|
|
444
444
|
if [[ "$cur" == -* ]]; then
|
|
445
|
-
COMPREPLY=( $(compgen -W "--collection --request --folder -w --workspace --type --json -h --help" -- "$cur") )
|
|
445
|
+
COMPREPLY=( $(compgen -W "--collection --request --folder -w --workspace --type -m --message --json -h --help" -- "$cur") )
|
|
446
446
|
return 0
|
|
447
447
|
fi
|
|
448
448
|
case "$prev" in
|
|
@@ -490,7 +490,7 @@ _postman_collection_list() {
|
|
|
490
490
|
|
|
491
491
|
_postman_collection_run() {
|
|
492
492
|
if [[ "$cur" == -* ]]; then
|
|
493
|
-
COMPREPLY=( $(compgen -W "-e --environment -g --globals --output -n --iteration-count -d --iteration-data --iteration-data-dataset --iteration-data-view --dataset -i --global-var --env-var --integration-id --postman-api-key --alias --bail --ignore-redirects -x --suppress-exit-code --silent --disable-unicode --delay-request --timeout --timeout-request --timeout-script --working-dir --no-insecure-file-read -k --insecure --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase --ssl-extra-ca-certs --cookie-jar --export-cookie-jar --verbose --
|
|
493
|
+
COMPREPLY=( $(compgen -W "-e --environment -g --globals --output -n --iteration-count -d --iteration-data --iteration-data-dataset --iteration-data-view --dataset -i --global-var --env-var --integration-id --postman-api-key --alias --bail --ignore-redirects -x --suppress-exit-code --silent --disable-unicode --delay-request --timeout --timeout-request --timeout-script --working-dir --no-insecure-file-read -k --insecure --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase --ssl-extra-ca-certs --cookie-jar --export-cookie-jar --verbose --port --use-mock --simulation -w --workspace --report-events --no-report-events -h --help" -- "$cur") )
|
|
494
494
|
return 0
|
|
495
495
|
fi
|
|
496
496
|
case "$prev" in
|
|
@@ -533,9 +533,6 @@ _postman_collection_run() {
|
|
|
533
533
|
--export-cookie-jar)
|
|
534
534
|
_postman_filematch '!*.@(json)' "$cur"
|
|
535
535
|
return 0 ;;
|
|
536
|
-
--mock)
|
|
537
|
-
_postman_filematch '!*.@(json)' "$cur"
|
|
538
|
-
return 0 ;;
|
|
539
536
|
--simulation)
|
|
540
537
|
_postman_filematch '!*.@(json)' "$cur"
|
|
541
538
|
return 0 ;;
|
|
@@ -658,7 +655,7 @@ _postman_dataset_source_list() {
|
|
|
658
655
|
|
|
659
656
|
_postman_dataset_source_add() {
|
|
660
657
|
if [[ "$cur" == -* ]]; then
|
|
661
|
-
COMPREPLY=( $(compgen -W "-d --dataset -n --name --source-id --format --type --file --ref-only --force --upload --driver-jar --driver-class --driver-name --url-template --var --prop --vars-file --from-source --java-path --no-test --ssh-target-host-variable --ssh-target-port-variable --json --host --port --user --password --database --table --ssh-host --ssh-port --ssh-user --ssh-private-key --ssh-host-key --ssh-host-key-vault-id --ssh-host-key-secret-id --ssh-insecure-skip-host-key-verification --schema --encrypt --trust-server-certificate --tls-certificate --host-name-in-certificate --tls-min-version --api-key -h --help" -- "$cur") )
|
|
658
|
+
COMPREPLY=( $(compgen -W "-d --dataset -n --name --source-id --format --type --file --ref-only --force --upload --driver-jar --driver-class --driver-name --url-template --var --prop --vars-file -w --workspace --from-source --java-path --no-test --ssh-target-host-variable --ssh-target-port-variable --json --host --port --user --password --database --table --ssh-host --ssh-port --ssh-user --ssh-private-key --ssh-host-key --ssh-host-key-vault-id --ssh-host-key-secret-id --ssh-insecure-skip-host-key-verification --schema --encrypt --trust-server-certificate --tls-certificate --host-name-in-certificate --tls-min-version --api-key -h --help" -- "$cur") )
|
|
662
659
|
return 0
|
|
663
660
|
fi
|
|
664
661
|
case "$prev" in
|
|
@@ -700,7 +697,7 @@ _postman_dataset_source_remove() {
|
|
|
700
697
|
|
|
701
698
|
_postman_dataset_source_update() {
|
|
702
699
|
if [[ "$cur" == -* ]]; then
|
|
703
|
-
COMPREPLY=( $(compgen -W "-d --dataset -n --name --format --file --ref-only --force --driver-jar --driver-class --driver-name --url-template --var --prop --unset-var --unset-prop --vars-file --ssh-target-host-variable --ssh-target-port-variable --java-path --host --port --user --password --database --table --ssh-host --ssh-port --ssh-user --ssh-private-key --ssh-host-key --ssh-host-key-vault-id --ssh-host-key-secret-id --ssh-insecure-skip-host-key-verification --schema --encrypt --trust-server-certificate --tls-certificate --host-name-in-certificate --tls-min-version --api-key --json -h --help" -- "$cur") )
|
|
700
|
+
COMPREPLY=( $(compgen -W "-d --dataset -n --name --format --file --ref-only --force --driver-jar --driver-class --driver-name --url-template --var --prop --unset-var --unset-prop --vars-file -w --workspace --ssh-target-host-variable --ssh-target-port-variable --java-path --host --port --user --password --database --table --ssh-host --ssh-port --ssh-user --ssh-private-key --ssh-host-key --ssh-host-key-vault-id --ssh-host-key-secret-id --ssh-insecure-skip-host-key-verification --schema --encrypt --trust-server-certificate --tls-certificate --host-name-in-certificate --tls-min-version --api-key --json -h --help" -- "$cur") )
|
|
704
701
|
return 0
|
|
705
702
|
fi
|
|
706
703
|
case "$prev" in
|
|
@@ -1201,7 +1198,7 @@ _postman_mock() {
|
|
|
1201
1198
|
|
|
1202
1199
|
_postman_mock_generate() {
|
|
1203
1200
|
if [[ "$cur" == -* ]]; then
|
|
1204
|
-
COMPREPLY=( $(compgen -W "-o --output -n --name --port --stateful --force -u --update -w --workspace --api-key -x --suppress-exit-code -h --help" -- "$cur") )
|
|
1201
|
+
COMPREPLY=( $(compgen -W "-o --output -n --name --port --stateful --force -u --update -w --workspace --deploy --public -s --slug --json --api-key -x --suppress-exit-code -h --help" -- "$cur") )
|
|
1205
1202
|
return 0
|
|
1206
1203
|
fi
|
|
1207
1204
|
case "$prev" in
|
|
@@ -1254,7 +1251,7 @@ _postman_mock_push() {
|
|
|
1254
1251
|
|
|
1255
1252
|
_postman_mock_deploy() {
|
|
1256
1253
|
if [[ "$cur" == -* ]]; then
|
|
1257
|
-
COMPREPLY=( $(compgen -W "-w --workspace -n --name -s --slug --public --auto-deploy -y --yes --api-key -h --help" -- "$cur") )
|
|
1254
|
+
COMPREPLY=( $(compgen -W "-w --workspace -n --name -s --slug --public --auto-deploy -y --yes --api-key --json -h --help" -- "$cur") )
|
|
1258
1255
|
return 0
|
|
1259
1256
|
fi
|
|
1260
1257
|
case "$prev" in
|
|
@@ -2087,7 +2084,7 @@ _postman_context_graph() {
|
|
|
2087
2084
|
|
|
2088
2085
|
_postman_context_graph_ask() {
|
|
2089
2086
|
if [[ "$cur" == -* ]]; then
|
|
2090
|
-
COMPREPLY=( $(compgen -W "--wait --api-key --json --no-include-answer --
|
|
2087
|
+
COMPREPLY=( $(compgen -W "--wait --api-key --json --no-include-answer --interval --timeout -h --help" -- "$cur") )
|
|
2091
2088
|
return 0
|
|
2092
2089
|
fi
|
|
2093
2090
|
case "$prev" in
|
|
@@ -2711,7 +2708,7 @@ _postman_secret() {
|
|
|
2711
2708
|
|
|
2712
2709
|
_postman_secret_create() {
|
|
2713
2710
|
if [[ "$cur" == -* ]]; then
|
|
2714
|
-
COMPREPLY=( $(compgen -W "--team-id -w --workspace --api-key --terminal --value-stdin --timeout -h --help" -- "$cur") )
|
|
2711
|
+
COMPREPLY=( $(compgen -W "--team-id -w --workspace --api-key --terminal --value-stdin --timeout --json -h --help" -- "$cur") )
|
|
2715
2712
|
return 0
|
|
2716
2713
|
fi
|
|
2717
2714
|
case "$prev" in
|
|
@@ -2758,7 +2755,7 @@ _postman_simulation() {
|
|
|
2758
2755
|
|
|
2759
2756
|
_postman_simulation_create() {
|
|
2760
2757
|
if [[ "$cur" == -* ]]; then
|
|
2761
|
-
COMPREPLY=( $(compgen -W "-n --name --mock --routing -o --output --force -w --workspace --api-key -h --help" -- "$cur") )
|
|
2758
|
+
COMPREPLY=( $(compgen -W "-n --name --mock --routing -o --output --force -w --workspace --deploy --public -s --slug --json --api-key -h --help" -- "$cur") )
|
|
2762
2759
|
return 0
|
|
2763
2760
|
fi
|
|
2764
2761
|
case "$prev" in
|
|
@@ -2834,7 +2831,7 @@ _postman_simulation_push() {
|
|
|
2834
2831
|
|
|
2835
2832
|
_postman_simulation_deploy() {
|
|
2836
2833
|
if [[ "$cur" == -* ]]; then
|
|
2837
|
-
COMPREPLY=( $(compgen -W "-w --workspace -n --name -s --slug --private -y --yes --api-key -h --help" -- "$cur") )
|
|
2834
|
+
COMPREPLY=( $(compgen -W "-w --workspace -n --name -s --slug --public --private -y --yes --api-key --json -h --help" -- "$cur") )
|
|
2838
2835
|
return 0
|
|
2839
2836
|
fi
|
|
2840
2837
|
case "$prev" in
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Fish completion for Postman CLI (postman v1.
|
|
1
|
+
# Fish completion for Postman CLI (postman v1.76.0)
|
|
2
2
|
# Auto-generated by scripts/generate.mjs — DO NOT EDIT
|
|
3
3
|
# Source: spec/commands.json
|
|
4
4
|
# https://github.com/yokawasa/postman-cli-completion
|
|
@@ -94,6 +94,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection' -s h -l help -d
|
|
|
94
94
|
# ---------- collection new ----------
|
|
95
95
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -s w -l workspace -d 'Create the collection in a cloud Postman workspace instead of scaffolding it locally. Required when the current directory is not a local Postman workspace.' -x
|
|
96
96
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -l force -d 'Rewrite the definition of an existing local collection. Existing request files are left alone.'
|
|
97
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode (--workspace) only.' -x
|
|
97
98
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -l verbose -d 'Verbose output'
|
|
98
99
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -l json -d 'JSON output'
|
|
99
100
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -s h -l help -d 'display help for command'
|
|
@@ -119,6 +120,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
119
120
|
# ---------- collection delete ----------
|
|
120
121
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Delete without asking for confirmation first'
|
|
121
122
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -l api-key -d 'Postman API key, used when deleting a cloud collection' -r
|
|
123
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -s m -l message -d 'Short note on why, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud collections only.' -x
|
|
122
124
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -l verbose -d 'Verbose output'
|
|
123
125
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -l json -d 'Output the result as JSON'
|
|
124
126
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
|
|
@@ -162,6 +164,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
162
164
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l folder -d 'Folder within the collection, e.g. "Users/Admin". Defaults to the root.' -x
|
|
163
165
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l type -d 'Request type: http, graphql, grpc, websocket, socketio. (default: "http")' -x
|
|
164
166
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
|
|
167
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
|
|
165
168
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -l json -d 'JSON output.'
|
|
166
169
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from add' -s h -l help -d 'display help for command'
|
|
167
170
|
# ---------- collection request get ----------
|
|
@@ -186,6 +189,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
186
189
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l scripts -d 'Replace scripts. event is prerequest or test; script is @file, - for stdin, or inline. Repeatable; any request type. (default: [])' -x
|
|
187
190
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
|
|
188
191
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l type -d 'Request type for cloud mode: http, graphql, grpc, websocket, socketio. (default: "http")' -x
|
|
192
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
|
|
189
193
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -l json -d 'JSON output.'
|
|
190
194
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
|
|
191
195
|
# ---------- collection request rm ----------
|
|
@@ -193,6 +197,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
193
197
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l folder -d 'Folder to scope the request selector, e.g. "Users/Admin" (local: name/path; cloud: id).' -x
|
|
194
198
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
|
|
195
199
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l type -d 'Request type for cloud mode: http, graphql, grpc, websocket, socketio. (default: "http")' -x
|
|
200
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
|
|
196
201
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -l json -d 'JSON output.'
|
|
197
202
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from request; and __fish_seen_subcommand_from rm' -s h -l help -d 'display help for command'
|
|
198
203
|
# ---------- collection folder ----------
|
|
@@ -206,6 +211,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
206
211
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -l collection -d 'Target collection: name, directory, id, cloud id, or path. Required.' -x
|
|
207
212
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -l folder -d 'Parent folder within the collection, e.g. "Users/Admin". Defaults to the root.' -x
|
|
208
213
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
|
|
214
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
|
|
209
215
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -l json -d 'JSON output.'
|
|
210
216
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from add' -s h -l help -d 'display help for command'
|
|
211
217
|
# ---------- collection folder get ----------
|
|
@@ -222,6 +228,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
222
228
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -l auth -d 'Folder auth: none, inherit, bearer:TOKEN, basic:USER:PASS, apikey:KEY:VALUE[:header|query], oauth2:TOKEN.' -x
|
|
223
229
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -l scripts -d 'Replace folder scripts. event is prerequest or test; script is @file, - for stdin, or inline. Repeatable. (default: [])' -x
|
|
224
230
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
|
|
231
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
|
|
225
232
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -l json -d 'JSON output.'
|
|
226
233
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
|
|
227
234
|
# ---------- collection folder rm ----------
|
|
@@ -229,6 +236,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
229
236
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -l folder -d 'Parent folder to scope the selector, e.g. "Users" (local: name/path; cloud: id).' -x
|
|
230
237
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -s y -l yes -d 'Skip the confirmation prompt (required when stdout is not a TTY).'
|
|
231
238
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
|
|
239
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
|
|
232
240
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -l json -d 'JSON output.'
|
|
233
241
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from folder; and __fish_seen_subcommand_from rm' -s h -l help -d 'display help for command'
|
|
234
242
|
# ---------- collection example ----------
|
|
@@ -245,6 +253,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
245
253
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -l folder -d 'Folder to scope the request selector, e.g. "Users/Admin".' -x
|
|
246
254
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -l type -d 'Example type: http (default). (default: "http")' -x
|
|
247
255
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
|
|
256
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
|
|
248
257
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -l json -d 'JSON output.'
|
|
249
258
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from add' -s h -l help -d 'display help for command'
|
|
250
259
|
# ---------- collection example update ----------
|
|
@@ -266,6 +275,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
266
275
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -l clear-request -d 'Remove the example.request snapshot.'
|
|
267
276
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
|
|
268
277
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -l type -d 'Example type for cloud mode: http. (default: "http")' -x
|
|
278
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
|
|
269
279
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -l json -d 'JSON output.'
|
|
270
280
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
|
|
271
281
|
# ---------- collection example rm ----------
|
|
@@ -274,6 +284,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
274
284
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -l folder -d 'Folder to scope the request selector.' -x
|
|
275
285
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -s w -l workspace -d 'Target a Postman cloud workspace by id (cloud mode).' -x
|
|
276
286
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -l type -d 'Example type for cloud mode: http. (default: "http")' -x
|
|
287
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.' -x
|
|
277
288
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -l json -d 'JSON output.'
|
|
278
289
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from rm' -s h -l help -d 'display help for command'
|
|
279
290
|
# ---------- collection example get ----------
|
|
@@ -344,8 +355,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
344
355
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l cookie-jar -d 'Specify the path to a custom cookie jar (serialized tough-cookie JSON)' -r
|
|
345
356
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l export-cookie-jar -d 'Exports the cookie jar to a file after completing the run' -r
|
|
346
357
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l verbose -d 'Show detailed information of collection run and each request sent'
|
|
347
|
-
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l
|
|
348
|
-
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l port -d 'Port for the --mock server or --simulation (e.g. 4010), or "auto" for a free one. Defaults to the configured port. Only valid with --mock or --simulation.' -x
|
|
358
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l port -d 'Port for the --simulation server (e.g. 4010), or "auto" for a free one. Defaults to the configured port. Only valid with --simulation.' -x
|
|
349
359
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l use-mock -d 'Redirect requests for a URL or {{variable}} to a mock during the run. Format: "<url> mock|mock-server:<path|id> [scenario]". Repeat the flag to redirect several URLs (one --use-mock each). Use "mock:<path>" for a mock in your repository (path relative or absolute, e.g. ./postman/mocks/orders), "mock:<id>" for a mock in Postman cloud (fetched then run locally), or "mock-server:<id>" to send requests to a deployed mock server. An id needs `postman login` (or --postman-api-key). The optional third field picks a scenario (defaults to "default"). (default: [])' -x
|
|
350
360
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l simulation -d 'Run the mocks in a simulation for the run, its .sim.yaml path if it lives in your repository (relative or absolute, e.g. ./postman/simulations/checkout.sim.yaml) or its id if it lives in Postman cloud (fetched then run locally). Members share one port and are addressed by routeKey (e.g. http://localhost:3000/<routeKey>/path). An id needs `postman login` (or --postman-api-key).' -r
|
|
351
361
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s w -l workspace -d 'Workspace to record the --simulation run\'s start history against. Defaults to the simulation\'s own workspace (when run by id) or the linked project\'s workspace.' -x
|
|
@@ -380,7 +390,7 @@ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_sub
|
|
|
380
390
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -s s -l source -d 'Execute directly against a database datasource; without --source, use federated SQLite' -x
|
|
381
391
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -s p -l param -d 'Bind values to $1, $2, ... in order; pass multiple values after -p or repeat -p' -x
|
|
382
392
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -l api-key -d 'Postman API key (defaults to the `postman login` session)' -r
|
|
383
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -l json -d 'Output rows as JSON instead of a table'
|
|
393
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -l json -d 'Output rows as JSON instead of a table; a failure prints a JSON error on stdout'
|
|
384
394
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -l debug -d 'Include safe classified dataset diagnostics'
|
|
385
395
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from query' -s h -l help -d 'display help for command'
|
|
386
396
|
# ---------- dataset create ----------
|
|
@@ -423,19 +433,20 @@ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_sub
|
|
|
423
433
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l driver-class -d 'Driver class. Auto-resolved when the JAR contains exactly one' -x
|
|
424
434
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l driver-name -d 'Label for this driver type (defaults to the JAR filename)' -x
|
|
425
435
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l url-template -d 'JDBC URL with {{placeholders}}, e.g. jdbc:postgresql://{{host}}:{{port}}/{{database}}' -x
|
|
426
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l var -d 'Value for a {{placeholder}}. Repeatable.
|
|
427
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l prop -d 'Driver connection property. Repeatable. Same
|
|
428
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l vars-file -d 'JSON object of
|
|
436
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l var -d 'Value for a {{placeholder}}. Repeatable. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
|
|
437
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l prop -d 'Driver connection property. Repeatable. Same secret syntax as --var' -x
|
|
438
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l vars-file -d 'JSON object of values; "-" reads stdin. Keys are host, port, user, password, database (mysql/postgresql/sqlserver), or --var names for jdbc, with optional "vars"/"props" objects for template variables / connection properties. Values take the same secret syntax, or {"$vaultId":..,"$secretId":..} objects, and keep secrets out of argv entirely' -r
|
|
439
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Workspace whose Shared Vault resolves vault:<KEY> (falls back to .postman/resources.yaml in the current directory)' -x
|
|
429
440
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l from-source -d 'Reuse another source\'s driver JAR, class and URL template' -x
|
|
430
441
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l java-path -d 'Java runtime to use. Machine-local only - never written to the dataset. Also read from POSTMAN_JDBC_JAVA_PATH' -r
|
|
431
442
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l no-test -d 'Skip the pre-write connection test. Note that resolving the driver class still starts a JVM — on a machine with no Java, pass --driver-class (or --from-source) too'
|
|
432
443
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l ssh-target-host-variable -d 'Template variable holding the tunnelled host (inferred when omitted)' -x
|
|
433
444
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l ssh-target-port-variable -d 'Template variable holding the tunnelled port (inferred when omitted)' -x
|
|
434
445
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l json -d 'Emit the result as JSON instead of prose'
|
|
435
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l host -d 'DB host (mysql/postgresql/sqlserver)' -x
|
|
446
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l host -d 'DB host (mysql/postgresql/sqlserver). Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below.' -x
|
|
436
447
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l port -d 'DB port (defaults to 1433 for sqlserver)' -x
|
|
437
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l user -d 'DB user. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).
|
|
438
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l password -d 'DB password. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).
|
|
448
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l user -d 'DB user. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
|
|
449
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l password -d 'DB password. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
|
|
439
450
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l database -d 'DB database name' -x
|
|
440
451
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l table -d 'DB table to load (required for sqlserver). Leave it out to connect to the whole database; query it with `dataset query -s <source>` or `dataset view create -s <source>`' -x
|
|
441
452
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from add' -l ssh-host -d 'SSH bastion host' -x
|
|
@@ -469,18 +480,19 @@ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_sub
|
|
|
469
480
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l driver-class -d 'Replace the JDBC driver class' -x
|
|
470
481
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l driver-name -d 'Rename the JDBC driver type label' -x
|
|
471
482
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l url-template -d 'Replace the JDBC URL template' -x
|
|
472
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l var -d 'Set a JDBC template variable. Merges onto the existing values.
|
|
473
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l prop -d 'Set a JDBC connection property. Merges, same
|
|
483
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l var -d 'Set a JDBC template variable. Merges onto the existing values. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
|
|
484
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l prop -d 'Set a JDBC connection property. Merges, same secret syntax' -x
|
|
474
485
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l unset-var -d 'Remove a JDBC template variable. Merging alone can never remove a key' -x
|
|
475
486
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l unset-prop -d 'Remove a JDBC connection property' -x
|
|
476
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l vars-file -d 'JSON object of
|
|
487
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l vars-file -d 'JSON object of values to merge; "-" reads stdin. Keys are host, port, user, password, database (mysql/postgresql/sqlserver), or --var names for jdbc, with optional "vars"/"props" objects. Values take the same secret syntax' -r
|
|
488
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -s w -l workspace -d 'Workspace whose Shared Vault resolves vault:<KEY> (falls back to .postman/resources.yaml in the current directory)' -x
|
|
477
489
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l ssh-target-host-variable -d 'Template variable holding the tunnelled host (JDBC)' -x
|
|
478
490
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l ssh-target-port-variable -d 'Template variable holding the tunnelled port (JDBC)' -x
|
|
479
491
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l java-path -d 'Java runtime for JDBC operations. Machine-local only' -r
|
|
480
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l host -d 'Update DB host (mysql/postgresql/sqlserver)' -x
|
|
492
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l host -d 'Update DB host (mysql/postgresql/sqlserver). Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below.' -x
|
|
481
493
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l port -d 'Update DB port' -x
|
|
482
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l user -d 'Update DB user. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).
|
|
483
|
-
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l password -d 'Update DB password. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).
|
|
494
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l user -d 'Update DB user. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
|
|
495
|
+
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l password -d 'Update DB password. Accepts a secret reference: vault:<KEY> (preferred), vault:<vaultId>/<secretId>, or env:<NAME> — see "Secrets" below. WARNING: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).' -x
|
|
484
496
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l database -d 'Update DB database name' -x
|
|
485
497
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l table -d 'Update the DB table to load. A source without a table connects to the whole database; query it with `dataset query -s <source>` or `dataset view create -s <source>`' -x
|
|
486
498
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l ssh-host -d 'Update SSH bastion host' -x
|
|
@@ -755,7 +767,7 @@ complete -c postman -n '__fish_seen_subcommand_from globals; and __fish_seen_sub
|
|
|
755
767
|
complete -c postman -n '__fish_seen_subcommand_from globals; and __fish_seen_subcommand_from lint' -r -k -a '(__fish_complete_suffix .json)'
|
|
756
768
|
|
|
757
769
|
# ---------- mock ----------
|
|
758
|
-
complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a generate -d 'Generate a mock from a Postman collection or an OpenAPI file, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace.'
|
|
770
|
+
complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a generate -d 'Generate a mock from a Postman collection or an OpenAPI file, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace. Add --deploy to also make it a live mock server.'
|
|
759
771
|
complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a run -d 'Start a mock using its path if it lives in your repository, or its id if it lives in Postman cloud (fetched and run locally).'
|
|
760
772
|
complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a push -d 'Upload a mock from your repository to Postman cloud (creates it the first time, updates it after).'
|
|
761
773
|
complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a deploy -d 'Turn a mock in Postman cloud into a live mock server others can call over the internet.'
|
|
@@ -771,8 +783,12 @@ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcom
|
|
|
771
783
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l stateful -d 'Generate pm.state-backed CRUD handlers (create/read/list/update/delete) instead of static example responses. Endpoints that are not CRUD-shaped stay static. Applies to collection or spec sources.'
|
|
772
784
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l force -d 'Overwrite the mock\'s files if the target folder already has one'
|
|
773
785
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s u -l update -d 'Update an existing mock from the source instead of creating a new one. Path to the mock, relative or absolute, e.g. ./postman/mocks/orders. Cannot be used with --output.' -r
|
|
774
|
-
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s w -l workspace -d 'Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update.' -x
|
|
775
|
-
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l
|
|
786
|
+
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s w -l workspace -d 'Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update, except with --deploy, where it only picks the workspace.' -x
|
|
787
|
+
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l deploy -d 'After generating, upload the mock to Postman cloud and deploy it to a live mock server (private by default). Uses --workspace, else the workspace linked to this project.'
|
|
788
|
+
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l public -d 'With --deploy, let anyone with the link reach the server (default: callers need an API key)'
|
|
789
|
+
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s s -l slug -d 'With --deploy, the short label used in the server\'s web address' -x
|
|
790
|
+
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l json -d 'With --deploy, print the live server details as machine-readable data instead of a summary'
|
|
791
|
+
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l api-key -d 'Postman API key to use with --workspace or --deploy (defaults to your `postman login` session)' -r
|
|
776
792
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s x -l suppress-exit-code -d 'Always exit with code 0, even on failure'
|
|
777
793
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s h -l help -d 'display help for command'
|
|
778
794
|
# ---------- mock run ----------
|
|
@@ -800,6 +816,7 @@ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcom
|
|
|
800
816
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l auto-deploy -d 'Update the live server automatically whenever the mock changes (off by default)'
|
|
801
817
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s y -l yes -d 'Use the defaults and skip all questions (private, no auto-deploy)'
|
|
802
818
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
|
|
819
|
+
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l json -d 'Print the live server details as machine-readable data instead of a summary (asks no questions)'
|
|
803
820
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s h -l help -d 'display help for command'
|
|
804
821
|
complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -r -k -a '(__fish_complete_suffix .json)'
|
|
805
822
|
# ---------- mock get ----------
|
|
@@ -1334,7 +1351,6 @@ complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_se
|
|
|
1334
1351
|
complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l api-key -d 'Postman API key (falls back to POSTMAN_API_KEY, then a `postman login` session)' -r
|
|
1335
1352
|
complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l json -d 'Output the ask record as JSON'
|
|
1336
1353
|
complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l no-include-answer -d 'Do not ask the service to include the answer inline'
|
|
1337
|
-
complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l max-steps -d 'Cap the reasoning steps the service may take (its default applies when omitted)' -x
|
|
1338
1354
|
complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l interval -d 'With --wait, seconds between polls (default: 2)' -x
|
|
1339
1355
|
complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -l timeout -d 'With --wait, seconds to wait before giving up (default: 300)' -x
|
|
1340
1356
|
complete -c postman -n '__fish_seen_subcommand_from context-graph; and __fish_seen_subcommand_from ask' -s h -l help -d 'display help for command'
|
|
@@ -1640,6 +1656,7 @@ complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subc
|
|
|
1640
1656
|
complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -l terminal -d 'Enter one secret value through the terminal instead of the default browser form'
|
|
1641
1657
|
complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -l value-stdin -d 'Read the secret value from stdin instead of prompting; implies --terminal'
|
|
1642
1658
|
complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -l timeout -d 'Seconds to wait for the browser form (default 300)' -x
|
|
1659
|
+
complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -l json -d 'Print the created secrets as machine-readable JSON (never the values)'
|
|
1643
1660
|
complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -s h -l help -d 'display help for command'
|
|
1644
1661
|
complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from create' -r -k -a '(__fish_complete_suffix .json)'
|
|
1645
1662
|
# ---------- secret list ----------
|
|
@@ -1649,7 +1666,7 @@ complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subc
|
|
|
1649
1666
|
complete -c postman -n '__fish_seen_subcommand_from secret; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
|
|
1650
1667
|
|
|
1651
1668
|
# ---------- simulation ----------
|
|
1652
|
-
complete -c postman -n '__postman_using_subcommand simulation create list get run push deploy update log delete' -a create -d 'Create a simulation that serves several mocks behind one address'
|
|
1669
|
+
complete -c postman -n '__postman_using_subcommand simulation create list get run push deploy update log delete' -a create -d 'Create a simulation that serves several mocks behind one address. Add --deploy to also make it a live mock server.'
|
|
1653
1670
|
complete -c postman -n '__postman_using_subcommand simulation create list get run push deploy update log delete' -a list -d 'List the simulations in your repository or Postman cloud workspace'
|
|
1654
1671
|
complete -c postman -n '__postman_using_subcommand simulation create list get run push deploy update log delete' -a get -d 'Show a simulation\'s details using its .sim.yaml path if it lives in your repository, or its id if it lives in Postman cloud.'
|
|
1655
1672
|
complete -c postman -n '__postman_using_subcommand simulation create list get run push deploy update log delete' -a run -d 'Serve a simulation\'s mocks on one local port, routing each by its routeKey. Pass a .sim.yaml path (local) or a Postman simulation id (fetched and run locally).'
|
|
@@ -1665,7 +1682,11 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
|
|
|
1665
1682
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l routing -d 'How callers reach each mock: header or path (default path)' -x
|
|
1666
1683
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -s o -l output -d 'Where to save the simulation file in your repository, a file or folder (defaults to postman/simulations)' -r
|
|
1667
1684
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l force -d 'Overwrite the simulation file if it already exists'
|
|
1668
|
-
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -s w -l workspace -d 'Postman cloud workspace to create the simulation in, by id (defaults to the workspace already linked to this project)' -x
|
|
1685
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -s w -l workspace -d 'Postman cloud workspace to create the simulation in (or deploy it to, with --deploy), by id (defaults to the workspace already linked to this project)' -x
|
|
1686
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l deploy -d 'After creating, upload the simulation (and its mocks) to Postman cloud and deploy it to a live mock server (private by default).'
|
|
1687
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l public -d 'With --deploy, let anyone with the link reach the server (default: callers need an API key)'
|
|
1688
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -s s -l slug -d 'With --deploy, the short label used in the server\'s web address' -x
|
|
1689
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l json -d 'With --deploy, print the live server details as machine-readable data instead of a summary'
|
|
1669
1690
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
|
|
1670
1691
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from create' -s h -l help -d 'display help for command'
|
|
1671
1692
|
# ---------- simulation list ----------
|
|
@@ -1689,7 +1710,7 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
|
|
|
1689
1710
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l no-history -d 'Do not record this run in the simulation\'s start history'
|
|
1690
1711
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l output -d 'Live output format: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default: "auto")' -x
|
|
1691
1712
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l verbose -d 'Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.'
|
|
1692
|
-
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy -d 'Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes.
|
|
1713
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy -d 'Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes. Each mock is reached on the hostnames its `origin:` declares; a request to any other host reaches the real host unchanged.'
|
|
1693
1714
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy-port -d 'Port for the proxy server. Distinct from --port, which is the one-port run\'s own port. (default: 7001)' -x
|
|
1694
1715
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l scenario -d 'Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. (default: "default")' -x
|
|
1695
1716
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l session -d 'Session id to select via the x-mock-session header (default: a generated id).' -x
|
|
@@ -1705,9 +1726,11 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
|
|
|
1705
1726
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s w -l workspace -d 'Postman cloud workspace that will own the server, by id (defaults to the workspace already linked to this project)' -x
|
|
1706
1727
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s n -l name -d 'Name for the mock server (you are asked for one if you skip this)' -x
|
|
1707
1728
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s s -l slug -d 'Short label used in the server\'s web address, e.g. "my-sim" (you are asked for one if you skip this)' -x
|
|
1708
|
-
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -l
|
|
1709
|
-
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -
|
|
1729
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -l public -d 'Let anyone with the link reach the server. Private by default (callers must send a Postman API key).'
|
|
1730
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -l private -d 'Require a Postman API key to reach the server (the default; kept for compatibility).'
|
|
1731
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s y -l yes -d 'Use the defaults and skip all questions (private)'
|
|
1710
1732
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
|
|
1733
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -l json -d 'Print the live server details as machine-readable data instead of a summary (asks no questions)'
|
|
1711
1734
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from deploy' -s h -l help -d 'display help for command'
|
|
1712
1735
|
# ---------- simulation update ----------
|
|
1713
1736
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from update' -s n -l name -d 'Rename the simulation' -x
|
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.76.0)
|
|
4
4
|
# Auto-generated by scripts/generate.mjs — DO NOT EDIT
|
|
5
5
|
# Source: spec/commands.json
|
|
6
6
|
# https://github.com/yokawasa/postman-cli-completion
|
|
@@ -200,6 +200,7 @@ _postman_collection_new() {
|
|
|
200
200
|
_arguments \
|
|
201
201
|
'(-w --workspace)'{-w,--workspace}'[Create the collection in a cloud Postman workspace instead of scaffolding it locally. Required when the current directory is not a local Postman workspace.]:workspaceId' \
|
|
202
202
|
'--force[Rewrite the definition of an existing local collection. Existing request files are left alone.]' \
|
|
203
|
+
'(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode (--workspace) only.]:text' \
|
|
203
204
|
'--verbose[Verbose output]' \
|
|
204
205
|
'--json[JSON output]' \
|
|
205
206
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
@@ -242,6 +243,7 @@ _postman_collection_delete() {
|
|
|
242
243
|
_arguments \
|
|
243
244
|
'(-y --yes)'{-y,--yes}'[Delete without asking for confirmation first]' \
|
|
244
245
|
'--api-key[Postman API key, used when deleting a cloud collection]:key:_files -g "*.(pem|crt|key)"' \
|
|
246
|
+
'(-m --message)'{-m,--message}'[Short note on why, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud collections only.]:text' \
|
|
245
247
|
'--verbose[Verbose output]' \
|
|
246
248
|
'--json[Output the result as JSON]' \
|
|
247
249
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
@@ -364,6 +366,7 @@ _postman_collection_request_add() {
|
|
|
364
366
|
'--folder[Folder within the collection, e.g. "Users/Admin". Defaults to the root.]:id|name|path' \
|
|
365
367
|
'--type[Request type\: http, graphql, grpc, websocket, socketio. (default\: "http")]:type' \
|
|
366
368
|
'(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
|
|
369
|
+
'(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
|
|
367
370
|
'--json[JSON output.]' \
|
|
368
371
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
369
372
|
'*:request-name:'
|
|
@@ -396,6 +399,7 @@ _postman_collection_request_update() {
|
|
|
396
399
|
'--scripts[Replace scripts. event is prerequest or test; script is @file, - for stdin, or inline. Repeatable; any request type. (default\: \[\])]:event\:script' \
|
|
397
400
|
'(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
|
|
398
401
|
'--type[Request type for cloud mode\: http, graphql, grpc, websocket, socketio. (default\: "http")]:type' \
|
|
402
|
+
'(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
|
|
399
403
|
'--json[JSON output.]' \
|
|
400
404
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
401
405
|
'*:request:'
|
|
@@ -407,6 +411,7 @@ _postman_collection_request_rm() {
|
|
|
407
411
|
'--folder[Folder to scope the request selector, e.g. "Users/Admin" (local\: name/path; cloud\: id).]:id|name|path' \
|
|
408
412
|
'(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
|
|
409
413
|
'--type[Request type for cloud mode\: http, graphql, grpc, websocket, socketio. (default\: "http")]:type' \
|
|
414
|
+
'(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
|
|
410
415
|
'--json[JSON output.]' \
|
|
411
416
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
412
417
|
'*:request:'
|
|
@@ -448,6 +453,7 @@ _postman_collection_folder_add() {
|
|
|
448
453
|
'--collection[Target collection\: name, directory, id, cloud id, or path. Required.]:id|name' \
|
|
449
454
|
'--folder[Parent folder within the collection, e.g. "Users/Admin". Defaults to the root.]:id|name|path' \
|
|
450
455
|
'(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
|
|
456
|
+
'(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
|
|
451
457
|
'--json[JSON output.]' \
|
|
452
458
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
453
459
|
'*:folder-name:'
|
|
@@ -472,6 +478,7 @@ _postman_collection_folder_update() {
|
|
|
472
478
|
'--auth[Folder auth\: none, inherit, bearer\:TOKEN, basic\:USER\:PASS, apikey\:KEY\:VALUE\[\:header|query\], oauth2\:TOKEN.]:spec' \
|
|
473
479
|
'--scripts[Replace folder scripts. event is prerequest or test; script is @file, - for stdin, or inline. Repeatable. (default\: \[\])]:event\:script' \
|
|
474
480
|
'(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
|
|
481
|
+
'(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
|
|
475
482
|
'--json[JSON output.]' \
|
|
476
483
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
477
484
|
'*:folder:'
|
|
@@ -483,6 +490,7 @@ _postman_collection_folder_rm() {
|
|
|
483
490
|
'--folder[Parent folder to scope the selector, e.g. "Users" (local\: name/path; cloud\: id).]:id|name|path' \
|
|
484
491
|
'(-y --yes)'{-y,--yes}'[Skip the confirmation prompt (required when stdout is not a TTY).]' \
|
|
485
492
|
'(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
|
|
493
|
+
'(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
|
|
486
494
|
'--json[JSON output.]' \
|
|
487
495
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
488
496
|
'*:folder:'
|
|
@@ -528,6 +536,7 @@ _postman_collection_example_add() {
|
|
|
528
536
|
'--folder[Folder to scope the request selector, e.g. "Users/Admin".]:id|name|path' \
|
|
529
537
|
'--type[Example type\: http (default). (default\: "http")]:type' \
|
|
530
538
|
'(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
|
|
539
|
+
'(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
|
|
531
540
|
'--json[JSON output.]' \
|
|
532
541
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
533
542
|
'*:example-name:'
|
|
@@ -553,6 +562,7 @@ _postman_collection_example_update() {
|
|
|
553
562
|
'--clear-request[Remove the example.request snapshot.]' \
|
|
554
563
|
'(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
|
|
555
564
|
'--type[Example type for cloud mode\: http. (default\: "http")]:type' \
|
|
565
|
+
'(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
|
|
556
566
|
'--json[JSON output.]' \
|
|
557
567
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
558
568
|
'*:example:'
|
|
@@ -565,6 +575,7 @@ _postman_collection_example_rm() {
|
|
|
565
575
|
'--folder[Folder to scope the request selector.]:id|name|path' \
|
|
566
576
|
'(-w --workspace)'{-w,--workspace}'[Target a Postman cloud workspace by id (cloud mode).]:id' \
|
|
567
577
|
'--type[Example type for cloud mode\: http. (default\: "http")]:type' \
|
|
578
|
+
'(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Cloud mode only.]:text' \
|
|
568
579
|
'--json[JSON output.]' \
|
|
569
580
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
570
581
|
'*:example:'
|
|
@@ -653,8 +664,7 @@ _postman_collection_run() {
|
|
|
653
664
|
'--cookie-jar[Specify the path to a custom cookie jar (serialized tough-cookie JSON)]:path:_files -g "*.json"' \
|
|
654
665
|
'--export-cookie-jar[Exports the cookie jar to a file after completing the run]:path:_files -g "*.json"' \
|
|
655
666
|
'--verbose[Show detailed information of collection run and each request sent]' \
|
|
656
|
-
'--
|
|
657
|
-
'--port[Port for the --mock server or --simulation (e.g. 4010), or "auto" for a free one. Defaults to the configured port. Only valid with --mock or --simulation.]:port' \
|
|
667
|
+
'--port[Port for the --simulation server (e.g. 4010), or "auto" for a free one. Defaults to the configured port. Only valid with --simulation.]:port' \
|
|
658
668
|
'--use-mock[Redirect requests for a URL or {{variable}} to a mock during the run. Format\: "<url> mock|mock-server\:<path|id> \[scenario\]". Repeat the flag to redirect several URLs (one --use-mock each). Use "mock\:<path>" for a mock in your repository (path relative or absolute, e.g. ./postman/mocks/orders), "mock\:<id>" for a mock in Postman cloud (fetched then run locally), or "mock-server\:<id>" to send requests to a deployed mock server. An id needs `postman login` (or --postman-api-key). The optional third field picks a scenario (defaults to "default"). (default\: \[\])]:mapping' \
|
|
659
669
|
'--simulation[Run the mocks in a simulation for the run, its .sim.yaml path if it lives in your repository (relative or absolute, e.g. ./postman/simulations/checkout.sim.yaml) or its id if it lives in Postman cloud (fetched then run locally). Members share one port and are addressed by routeKey (e.g. http\://localhost\:3000/<routeKey>/path). An id needs `postman login` (or --postman-api-key).]:pathOrId:_files -g "*.json"' \
|
|
660
670
|
'(-w --workspace)'{-w,--workspace}'[Workspace to record the --simulation run'\''s start history against. Defaults to the simulation'\''s own workspace (when run by id) or the linked project'\''s workspace.]:workspaceId' \
|
|
@@ -726,7 +736,7 @@ _postman_dataset_query() {
|
|
|
726
736
|
'(-s --source)'{-s,--source}'[Execute directly against a database datasource; without --source, use federated SQLite]:nameOrIdOrSlug' \
|
|
727
737
|
'(-p --param)'{-p,--param}'[Bind values to $1, $2, ... in order; pass multiple values after -p or repeat -p]:value...' \
|
|
728
738
|
'--api-key[Postman API key (defaults to the `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
|
|
729
|
-
'--json[Output rows as JSON instead of a table]' \
|
|
739
|
+
'--json[Output rows as JSON instead of a table; a failure prints a JSON error on stdout]' \
|
|
730
740
|
'--debug[Include safe classified dataset diagnostics]' \
|
|
731
741
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
732
742
|
'*:datasetPathOrId:'
|
|
@@ -808,19 +818,20 @@ _postman_dataset_source_add() {
|
|
|
808
818
|
'--driver-class[Driver class. Auto-resolved when the JAR contains exactly one]:fqcn' \
|
|
809
819
|
'--driver-name[Label for this driver type (defaults to the JAR filename)]:label' \
|
|
810
820
|
'--url-template[JDBC URL with {{placeholders}}, e.g. jdbc\:postgresql\://{{host}}\:{{port}}/{{database}}]:template' \
|
|
811
|
-
'--var[Value for a {{placeholder}}. Repeatable.
|
|
812
|
-
'--prop[Driver connection property. Repeatable. Same
|
|
813
|
-
'--vars-file[JSON object of
|
|
821
|
+
'--var[Value for a {{placeholder}}. Repeatable. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:name=value...' \
|
|
822
|
+
'--prop[Driver connection property. Repeatable. Same secret syntax as --var]:name=value...' \
|
|
823
|
+
'--vars-file[JSON object of values; "-" reads stdin. Keys are host, port, user, password, database (mysql/postgresql/sqlserver), or --var names for jdbc, with optional "vars"/"props" objects for template variables / connection properties. Values take the same secret syntax, or {"$vaultId"\:..,"$secretId"\:..} objects, and keep secrets out of argv entirely]:path:_files -g "*.json"' \
|
|
824
|
+
'(-w --workspace)'{-w,--workspace}'[Workspace whose Shared Vault resolves vault\:<KEY> (falls back to .postman/resources.yaml in the current directory)]:workspaceId' \
|
|
814
825
|
'--from-source[Reuse another source'\''s driver JAR, class and URL template]:name' \
|
|
815
826
|
'--java-path[Java runtime to use. Machine-local only - never written to the dataset. Also read from POSTMAN_JDBC_JAVA_PATH]:path:_files -g "*.json"' \
|
|
816
827
|
'--no-test[Skip the pre-write connection test. Note that resolving the driver class still starts a JVM — on a machine with no Java, pass --driver-class (or --from-source) too]' \
|
|
817
828
|
'--ssh-target-host-variable[Template variable holding the tunnelled host (inferred when omitted)]:name' \
|
|
818
829
|
'--ssh-target-port-variable[Template variable holding the tunnelled port (inferred when omitted)]:name' \
|
|
819
830
|
'--json[Emit the result as JSON instead of prose]' \
|
|
820
|
-
'--host[DB host (mysql/postgresql/sqlserver)]:host' \
|
|
831
|
+
'--host[DB host (mysql/postgresql/sqlserver). Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below.]:host' \
|
|
821
832
|
'--port[DB port (defaults to 1433 for sqlserver)]:port' \
|
|
822
|
-
'--user[DB user. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).
|
|
823
|
-
'--password[DB password. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).
|
|
833
|
+
'--user[DB user. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:user' \
|
|
834
|
+
'--password[DB password. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:password' \
|
|
824
835
|
'--database[DB database name]:db' \
|
|
825
836
|
'--table[DB table to load (required for sqlserver). Leave it out to connect to the whole database; query it with `dataset query -s <source>` or `dataset view create -s <source>`]:table' \
|
|
826
837
|
'--ssh-host[SSH bastion host]:host' \
|
|
@@ -862,18 +873,19 @@ _postman_dataset_source_update() {
|
|
|
862
873
|
'--driver-class[Replace the JDBC driver class]:fqcn' \
|
|
863
874
|
'--driver-name[Rename the JDBC driver type label]:label' \
|
|
864
875
|
'--url-template[Replace the JDBC URL template]:template' \
|
|
865
|
-
'--var[Set a JDBC template variable. Merges onto the existing values.
|
|
866
|
-
'--prop[Set a JDBC connection property. Merges, same
|
|
876
|
+
'--var[Set a JDBC template variable. Merges onto the existing values. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:name=value...' \
|
|
877
|
+
'--prop[Set a JDBC connection property. Merges, same secret syntax]:name=value...' \
|
|
867
878
|
'--unset-var[Remove a JDBC template variable. Merging alone can never remove a key]:name...' \
|
|
868
879
|
'--unset-prop[Remove a JDBC connection property]:name...' \
|
|
869
|
-
'--vars-file[JSON object of
|
|
880
|
+
'--vars-file[JSON object of values to merge; "-" reads stdin. Keys are host, port, user, password, database (mysql/postgresql/sqlserver), or --var names for jdbc, with optional "vars"/"props" objects. Values take the same secret syntax]:path:_files -g "*.json"' \
|
|
881
|
+
'(-w --workspace)'{-w,--workspace}'[Workspace whose Shared Vault resolves vault\:<KEY> (falls back to .postman/resources.yaml in the current directory)]:workspaceId' \
|
|
870
882
|
'--ssh-target-host-variable[Template variable holding the tunnelled host (JDBC)]:name' \
|
|
871
883
|
'--ssh-target-port-variable[Template variable holding the tunnelled port (JDBC)]:name' \
|
|
872
884
|
'--java-path[Java runtime for JDBC operations. Machine-local only]:path:_files -g "*.json"' \
|
|
873
|
-
'--host[Update DB host (mysql/postgresql/sqlserver)]:host' \
|
|
885
|
+
'--host[Update DB host (mysql/postgresql/sqlserver). Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below.]:host' \
|
|
874
886
|
'--port[Update DB port]:port' \
|
|
875
|
-
'--user[Update DB user. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).
|
|
876
|
-
'--password[Update DB password. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).
|
|
887
|
+
'--user[Update DB user. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:user' \
|
|
888
|
+
'--password[Update DB password. Accepts a secret reference\: vault\:<KEY> (preferred), vault\:<vaultId>/<secretId>, or env\:<NAME> — see "Secrets" below. WARNING\: a literal value is visible in `ps` output and shell history, and is stored in clear text in the dataset YAML (local) or sent in the request body (cloud).]:password' \
|
|
877
889
|
'--database[Update DB database name]:db' \
|
|
878
890
|
'--table[Update the DB table to load. A source without a table connects to the whole database; query it with `dataset query -s <source>` or `dataset view create -s <source>`]:table' \
|
|
879
891
|
'--ssh-host[Update SSH bastion host]:host' \
|
|
@@ -1437,7 +1449,7 @@ _postman_mock() {
|
|
|
1437
1449
|
_postman_mock_commands() {
|
|
1438
1450
|
local -a sub
|
|
1439
1451
|
sub=(
|
|
1440
|
-
'generate:Generate a mock from a Postman collection or an OpenAPI file, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace.'
|
|
1452
|
+
'generate:Generate a mock from a Postman collection or an OpenAPI file, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace. Add --deploy to also make it a live mock server.'
|
|
1441
1453
|
'run:Start a mock using its path if it lives in your repository, or its id if it lives in Postman cloud (fetched and run locally).'
|
|
1442
1454
|
'push:Upload a mock from your repository to Postman cloud (creates it the first time, updates it after).'
|
|
1443
1455
|
'deploy:Turn a mock in Postman cloud into a live mock server others can call over the internet.'
|
|
@@ -1457,8 +1469,12 @@ _postman_mock_generate() {
|
|
|
1457
1469
|
'--stateful[Generate pm.state-backed CRUD handlers (create/read/list/update/delete) instead of static example responses. Endpoints that are not CRUD-shaped stay static. Applies to collection or spec sources.]' \
|
|
1458
1470
|
'--force[Overwrite the mock'\''s files if the target folder already has one]' \
|
|
1459
1471
|
'(-u --update)'{-u,--update}'[Update an existing mock from the source instead of creating a new one. Path to the mock, relative or absolute, e.g. ./postman/mocks/orders. Cannot be used with --output.]:mockPath:_files -g "*.json"' \
|
|
1460
|
-
'(-w --workspace)'{-w,--workspace}'[Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update.]:id' \
|
|
1461
|
-
'--
|
|
1472
|
+
'(-w --workspace)'{-w,--workspace}'[Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update, except with --deploy, where it only picks the workspace.]:id' \
|
|
1473
|
+
'--deploy[After generating, upload the mock to Postman cloud and deploy it to a live mock server (private by default). Uses --workspace, else the workspace linked to this project.]' \
|
|
1474
|
+
'--public[With --deploy, let anyone with the link reach the server (default\: callers need an API key)]' \
|
|
1475
|
+
'(-s --slug)'{-s,--slug}'[With --deploy, the short label used in the server'\''s web address]:slug' \
|
|
1476
|
+
'--json[With --deploy, print the live server details as machine-readable data instead of a summary]' \
|
|
1477
|
+
'--api-key[Postman API key to use with --workspace or --deploy (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1462
1478
|
'(-x --suppress-exit-code)'{-x,--suppress-exit-code}'[Always exit with code 0, even on failure]' \
|
|
1463
1479
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1464
1480
|
'*:sourcePath:'
|
|
@@ -1496,6 +1512,7 @@ _postman_mock_deploy() {
|
|
|
1496
1512
|
'--auto-deploy[Update the live server automatically whenever the mock changes (off by default)]' \
|
|
1497
1513
|
'(-y --yes)'{-y,--yes}'[Use the defaults and skip all questions (private, no auto-deploy)]' \
|
|
1498
1514
|
'--api-key[Postman API key (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1515
|
+
'--json[Print the live server details as machine-readable data instead of a summary (asks no questions)]' \
|
|
1499
1516
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1500
1517
|
'*:mockId:_files -g "*.json"'
|
|
1501
1518
|
}
|
|
@@ -2507,7 +2524,6 @@ _postman_context_graph_ask() {
|
|
|
2507
2524
|
'--api-key[Postman API key (falls back to POSTMAN_API_KEY, then a `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
|
|
2508
2525
|
'--json[Output the ask record as JSON]' \
|
|
2509
2526
|
'--no-include-answer[Do not ask the service to include the answer inline]' \
|
|
2510
|
-
'--max-steps[Cap the reasoning steps the service may take (its default applies when omitted)]:count' \
|
|
2511
2527
|
'--interval[With --wait, seconds between polls (default\: 2)]:seconds' \
|
|
2512
2528
|
'--timeout[With --wait, seconds to wait before giving up (default\: 300)]:seconds' \
|
|
2513
2529
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
@@ -3264,6 +3280,7 @@ _postman_secret_create() {
|
|
|
3264
3280
|
'--terminal[Enter one secret value through the terminal instead of the default browser form]' \
|
|
3265
3281
|
'--value-stdin[Read the secret value from stdin instead of prompting; implies --terminal]' \
|
|
3266
3282
|
'--timeout[Seconds to wait for the browser form (default 300)]:seconds' \
|
|
3283
|
+
'--json[Print the created secrets as machine-readable JSON (never the values)]' \
|
|
3267
3284
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
3268
3285
|
'*:keys...:_files -g "*.json"'
|
|
3269
3286
|
}
|
|
@@ -3303,7 +3320,7 @@ _postman_simulation() {
|
|
|
3303
3320
|
_postman_simulation_commands() {
|
|
3304
3321
|
local -a sub
|
|
3305
3322
|
sub=(
|
|
3306
|
-
'create:Create a simulation that serves several mocks behind one address'
|
|
3323
|
+
'create:Create a simulation that serves several mocks behind one address. Add --deploy to also make it a live mock server.'
|
|
3307
3324
|
'list:List the simulations in your repository or Postman cloud workspace'
|
|
3308
3325
|
'get:Show a simulation'\''s details using its .sim.yaml path if it lives in your repository, or its id if it lives in Postman cloud.'
|
|
3309
3326
|
'run:Serve a simulation'\''s mocks on one local port, routing each by its routeKey. Pass a .sim.yaml path (local) or a Postman simulation id (fetched and run locally).'
|
|
@@ -3323,7 +3340,11 @@ _postman_simulation_create() {
|
|
|
3323
3340
|
'--routing[How callers reach each mock\: header or path (default path)]:header|path' \
|
|
3324
3341
|
'(-o --output)'{-o,--output}'[Where to save the simulation file in your repository, a file or folder (defaults to postman/simulations)]:path:_files -g "*.json"' \
|
|
3325
3342
|
'--force[Overwrite the simulation file if it already exists]' \
|
|
3326
|
-
'(-w --workspace)'{-w,--workspace}'[Postman cloud workspace to create the simulation in, by id (defaults to the workspace already linked to this project)]:id' \
|
|
3343
|
+
'(-w --workspace)'{-w,--workspace}'[Postman cloud workspace to create the simulation in (or deploy it to, with --deploy), by id (defaults to the workspace already linked to this project)]:id' \
|
|
3344
|
+
'--deploy[After creating, upload the simulation (and its mocks) to Postman cloud and deploy it to a live mock server (private by default).]' \
|
|
3345
|
+
'--public[With --deploy, let anyone with the link reach the server (default\: callers need an API key)]' \
|
|
3346
|
+
'(-s --slug)'{-s,--slug}'[With --deploy, the short label used in the server'\''s web address]:slug' \
|
|
3347
|
+
'--json[With --deploy, print the live server details as machine-readable data instead of a summary]' \
|
|
3327
3348
|
'--api-key[Postman API key (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
|
|
3328
3349
|
'(-h --help)'{-h,--help}'[display help for command]'
|
|
3329
3350
|
}
|
|
@@ -3357,7 +3378,7 @@ _postman_simulation_run() {
|
|
|
3357
3378
|
'--no-history[Do not record this run in the simulation'\''s start history]' \
|
|
3358
3379
|
'--output[Live output format\: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default\: "auto")]:format' \
|
|
3359
3380
|
'--verbose[Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.]' \
|
|
3360
|
-
'--proxy[Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes.
|
|
3381
|
+
'--proxy[Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes. Each mock is reached on the hostnames its `origin\:` declares; a request to any other host reaches the real host unchanged.]' \
|
|
3361
3382
|
'--proxy-port[Port for the proxy server. Distinct from --port, which is the one-port run'\''s own port. (default\: 7001)]:n' \
|
|
3362
3383
|
'--scenario[Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. (default\: "default")]:name' \
|
|
3363
3384
|
'--session[Session id to select via the x-mock-session header (default\: a generated id).]:id' \
|
|
@@ -3381,9 +3402,11 @@ _postman_simulation_deploy() {
|
|
|
3381
3402
|
'(-w --workspace)'{-w,--workspace}'[Postman cloud workspace that will own the server, by id (defaults to the workspace already linked to this project)]:id' \
|
|
3382
3403
|
'(-n --name)'{-n,--name}'[Name for the mock server (you are asked for one if you skip this)]:name' \
|
|
3383
3404
|
'(-s --slug)'{-s,--slug}'[Short label used in the server'\''s web address, e.g. "my-sim" (you are asked for one if you skip this)]:slug' \
|
|
3384
|
-
'--
|
|
3385
|
-
'
|
|
3405
|
+
'--public[Let anyone with the link reach the server. Private by default (callers must send a Postman API key).]' \
|
|
3406
|
+
'--private[Require a Postman API key to reach the server (the default; kept for compatibility).]' \
|
|
3407
|
+
'(-y --yes)'{-y,--yes}'[Use the defaults and skip all questions (private)]' \
|
|
3386
3408
|
'--api-key[Postman API key (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
|
|
3409
|
+
'--json[Print the live server details as machine-readable data instead of a summary (asks no questions)]' \
|
|
3387
3410
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
3388
3411
|
'*:simId:'
|
|
3389
3412
|
}
|