postman-cli-completion 1.80.0 → 1.83.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 +26 -5
- package/completions/fish/postman.fish +62 -39
- package/completions/zsh/_postman +57 -26
- 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.83.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
|
|
@@ -994,11 +994,12 @@ _postman_flows() {
|
|
|
994
994
|
if [[ "$cur" == -* ]]; then
|
|
995
995
|
COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
|
|
996
996
|
else
|
|
997
|
-
COMPREPLY=( $(compgen -W "list trigger deploy run update delete list-runs get-run" -- "$cur") )
|
|
997
|
+
COMPREPLY=( $(compgen -W "create list trigger deploy run update delete list-runs get-run" -- "$cur") )
|
|
998
998
|
fi
|
|
999
999
|
return 0
|
|
1000
1000
|
fi
|
|
1001
1001
|
case "$subcmd" in
|
|
1002
|
+
create) _postman_flows_create ;;
|
|
1002
1003
|
list) _postman_flows_list ;;
|
|
1003
1004
|
trigger) _postman_flows_trigger ;;
|
|
1004
1005
|
deploy) _postman_flows_deploy ;;
|
|
@@ -1010,6 +1011,15 @@ _postman_flows() {
|
|
|
1010
1011
|
esac
|
|
1011
1012
|
}
|
|
1012
1013
|
|
|
1014
|
+
_postman_flows_create() {
|
|
1015
|
+
if [[ "$cur" == -* ]]; then
|
|
1016
|
+
COMPREPLY=( $(compgen -W "-n --name --verbose --debug --json -h --help" -- "$cur") )
|
|
1017
|
+
return 0
|
|
1018
|
+
fi
|
|
1019
|
+
case "$prev" in
|
|
1020
|
+
esac
|
|
1021
|
+
}
|
|
1022
|
+
|
|
1013
1023
|
_postman_flows_list() {
|
|
1014
1024
|
if [[ "$cur" == -* ]]; then
|
|
1015
1025
|
COMPREPLY=( $(compgen -W "-w --workspace -p --paginate -f --filter -s --sort --verbose --debug --json -h --help" -- "$cur") )
|
|
@@ -1589,6 +1599,7 @@ _postman_request() {
|
|
|
1589
1599
|
_postman_filematch '!*.@(json)' "$cur"
|
|
1590
1600
|
return 0 ;;
|
|
1591
1601
|
esac
|
|
1602
|
+
_postman_filematch '!*.@(json)' "$cur"
|
|
1592
1603
|
}
|
|
1593
1604
|
|
|
1594
1605
|
_postman_runner() {
|
|
@@ -1994,7 +2005,8 @@ _postman_workspace() {
|
|
|
1994
2005
|
push) _postman_workspace_push ;;
|
|
1995
2006
|
lint) _postman_workspace_lint ;;
|
|
1996
2007
|
get) _postman_workspace_get ;;
|
|
1997
|
-
context
|
|
2008
|
+
context) _postman_workspace_context ;;
|
|
2009
|
+
activity) _postman_workspace_activity ;;
|
|
1998
2010
|
create) _postman_workspace_create ;;
|
|
1999
2011
|
delete) _postman_workspace_delete ;;
|
|
2000
2012
|
share) _postman_workspace_share ;;
|
|
@@ -2049,6 +2061,15 @@ _postman_workspace_get() {
|
|
|
2049
2061
|
}
|
|
2050
2062
|
|
|
2051
2063
|
_postman_workspace_context() {
|
|
2064
|
+
if [[ "$cur" == -* ]]; then
|
|
2065
|
+
COMPREPLY=( $(compgen -W "--section --limit --type --contributor --cursor --markdown --brief --json --text --timeout -h --help" -- "$cur") )
|
|
2066
|
+
return 0
|
|
2067
|
+
fi
|
|
2068
|
+
case "$prev" in
|
|
2069
|
+
esac
|
|
2070
|
+
}
|
|
2071
|
+
|
|
2072
|
+
_postman_workspace_activity() {
|
|
2052
2073
|
if [[ "$cur" == -* ]]; then
|
|
2053
2074
|
COMPREPLY=( $(compgen -W "--type --contributor --cursor --limit --markdown --json --brief --timeout -h --help" -- "$cur") )
|
|
2054
2075
|
return 0
|
|
@@ -2513,7 +2534,7 @@ _postman_skills_update() {
|
|
|
2513
2534
|
|
|
2514
2535
|
_postman_login() {
|
|
2515
2536
|
if [[ "$cur" == -* ]]; then
|
|
2516
|
-
COMPREPLY=( $(compgen -W "--alias --with-api-key --region --verbose -h --help" -- "$cur") )
|
|
2537
|
+
COMPREPLY=( $(compgen -W "--alias --with-api-key --region --migrate-guest-workspace --no-migrate-guest-workspace --verbose -h --help" -- "$cur") )
|
|
2517
2538
|
return 0
|
|
2518
2539
|
fi
|
|
2519
2540
|
case "$prev" in
|
|
@@ -2704,7 +2725,7 @@ _postman_performance() {
|
|
|
2704
2725
|
|
|
2705
2726
|
_postman_performance_run() {
|
|
2706
2727
|
if [[ "$cur" == -* ]]; then
|
|
2707
|
-
COMPREPLY=( $(compgen -W "-e --environment -g --globals --setup-collection --teardown-collection --peak-vu --vu-count --base-vu -d --duration -p --load-profile -s --load-segments --data-file --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase -k --insecure --ssl-extra-ca-certs --dataset-id --dataset-view-id --dataset-distribution --postman-api-key --output --runner --disable-unicode --pass-if --use-mock --dataset -h --help" -- "$cur") )
|
|
2728
|
+
COMPREPLY=( $(compgen -W "-e --environment -g --globals --setup-collection --teardown-collection --peak-vu --vu-count --base-vu -d --duration -p --load-profile -s --load-segments --data-file --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase -k --insecure --ssl-extra-ca-certs --dataset-id --dataset-view-id --dataset-distribution --postman-api-key --output --runner --disable-unicode --pass-if --use-mock --dataset --workspace-id -h --help" -- "$cur") )
|
|
2708
2729
|
return 0
|
|
2709
2730
|
fi
|
|
2710
2731
|
case "$prev" in
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Fish completion for Postman CLI (postman v1.
|
|
1
|
+
# Fish completion for Postman CLI (postman v1.83.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
|
|
@@ -43,8 +43,8 @@ complete -c postman -n __postman_no_subcommand -a search -d 'Search for Postman
|
|
|
43
43
|
complete -c postman -n __postman_no_subcommand -a skills -d 'Check and update the agent skills in this repository'
|
|
44
44
|
complete -c postman -n __postman_no_subcommand -a login -d 'Authenticate with Postman to access your resources'
|
|
45
45
|
complete -c postman -n __postman_no_subcommand -a logout -d 'Delete the stored Postman API key'
|
|
46
|
-
complete -c postman -n __postman_no_subcommand -a signup -d 'Sign up to keep
|
|
47
|
-
complete -c postman -n __postman_no_subcommand -a whoami -d 'Show the Postman account or
|
|
46
|
+
complete -c postman -n __postman_no_subcommand -a signup -d 'Sign up to keep your work'
|
|
47
|
+
complete -c postman -n __postman_no_subcommand -a whoami -d 'Show the Postman account or session this CLI is using'
|
|
48
48
|
complete -c postman -n __postman_no_subcommand -a application -d 'Application-level commands: initialise config and run tests'
|
|
49
49
|
complete -c postman -n __postman_no_subcommand -a app -d 'Alias for application'
|
|
50
50
|
complete -c postman -n __postman_no_subcommand -a dependency -d 'Manage workspace dependencies reused from other workspaces'
|
|
@@ -89,9 +89,9 @@ complete -c postman -n '__postman_using_subcommand collection new migrate lint a
|
|
|
89
89
|
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a request -d 'Add, get, update, or remove requests in a local v3 collection.'
|
|
90
90
|
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a folder -d 'Add, get, update, or remove folders in a local v3 collection.'
|
|
91
91
|
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a example -d 'Add, update, remove, get, or list examples (saved responses) under a request.'
|
|
92
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a import -d 'Import a cURL or
|
|
92
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a import -d 'Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or cloud with --workspace).'
|
|
93
93
|
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a list -d 'List collections: your local project\'s collections by default, or a Postman cloud workspace\'s collections with --workspace.'
|
|
94
|
-
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a run -d '
|
|
94
|
+
complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a run -d 'Run a collection by ID or path, or a request file.'
|
|
95
95
|
complete -c postman -n '__fish_seen_subcommand_from collection' -s h -l help -d 'display help for command'
|
|
96
96
|
# ---------- collection new ----------
|
|
97
97
|
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
|
|
@@ -313,7 +313,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
313
313
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from list' -l json -d 'JSON output.'
|
|
314
314
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from example; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
|
|
315
315
|
# ---------- collection import ----------
|
|
316
|
-
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -l type -d 'Source format: curl or
|
|
316
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -l type -d 'Source format: curl, har, or jmeter. Auto-detected from the extension/content when omitted.' -x
|
|
317
317
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -l name -d 'Collection display name. Defaults to a per-format fallback.' -x
|
|
318
318
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -s o -l output -d 'Output directory for the local collection (default: postman/collections/<name>).' -r
|
|
319
319
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -s w -l workspace -d 'Create the collection in a Postman cloud workspace by id (cloud mode).' -x
|
|
@@ -648,15 +648,22 @@ complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen
|
|
|
648
648
|
complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from lint' -r -k -a '(__fish_complete_suffix .json)'
|
|
649
649
|
|
|
650
650
|
# ---------- flows ----------
|
|
651
|
-
complete -c postman -n '__postman_using_subcommand flows list trigger deploy run update delete list-runs get-run' -a
|
|
652
|
-
complete -c postman -n '__postman_using_subcommand flows list trigger deploy run update delete list-runs get-run' -a
|
|
653
|
-
complete -c postman -n '__postman_using_subcommand flows list trigger deploy run update delete list-runs get-run' -a
|
|
654
|
-
complete -c postman -n '__postman_using_subcommand flows list trigger deploy run update delete list-runs get-run' -a
|
|
655
|
-
complete -c postman -n '__postman_using_subcommand flows list trigger deploy run update delete list-runs get-run' -a
|
|
656
|
-
complete -c postman -n '__postman_using_subcommand flows list trigger deploy run update delete list-runs get-run' -a
|
|
657
|
-
complete -c postman -n '__postman_using_subcommand flows list trigger deploy run update delete list-runs get-run' -a
|
|
658
|
-
complete -c postman -n '__postman_using_subcommand flows list trigger deploy run update delete list-runs get-run' -a
|
|
651
|
+
complete -c postman -n '__postman_using_subcommand flows create list trigger deploy run update delete list-runs get-run' -a create -d 'Create a flow in the current repository, the same way "New flow" does in the Postman app. Run it from the root of a repository connected to a Postman workspace.'
|
|
652
|
+
complete -c postman -n '__postman_using_subcommand flows create list trigger deploy run update delete list-runs get-run' -a list -d 'List all flows'
|
|
653
|
+
complete -c postman -n '__postman_using_subcommand flows create list trigger deploy run update delete list-runs get-run' -a trigger -d 'Trigger a deployed flow'
|
|
654
|
+
complete -c postman -n '__postman_using_subcommand flows create list trigger deploy run update delete list-runs get-run' -a deploy -d 'Deploy a flow (required to trigger it)'
|
|
655
|
+
complete -c postman -n '__postman_using_subcommand flows create list trigger deploy run update delete list-runs get-run' -a run -d 'Run a single flow from a file (e.g. ./path/to/flow.json)'
|
|
656
|
+
complete -c postman -n '__postman_using_subcommand flows create list trigger deploy run update delete list-runs get-run' -a update -d 'Update settings for a deployed flow'
|
|
657
|
+
complete -c postman -n '__postman_using_subcommand flows create list trigger deploy run update delete list-runs get-run' -a delete -d 'Delete a flow. A flow id deletes the cloud flow; a local flow file path deletes that file only. Prompts for confirmation unless --yes is passed.'
|
|
658
|
+
complete -c postman -n '__postman_using_subcommand flows create list trigger deploy run update delete list-runs get-run' -a list-runs -d 'List run history for a deployed flow'
|
|
659
|
+
complete -c postman -n '__postman_using_subcommand flows create list trigger deploy run update delete list-runs get-run' -a get-run -d 'Analyze a specific flow run'
|
|
659
660
|
complete -c postman -n '__fish_seen_subcommand_from flows' -s h -l help -d 'display help for command'
|
|
661
|
+
# ---------- flows create ----------
|
|
662
|
+
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from create' -s n -l name -d 'Specify the flow name (default: "New flow")' -x
|
|
663
|
+
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from create' -l verbose -d 'Verbose output'
|
|
664
|
+
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from create' -l debug -d 'Debug output'
|
|
665
|
+
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from create' -l json -d 'JSON output'
|
|
666
|
+
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from create' -s h -l help -d 'display help for command'
|
|
660
667
|
# ---------- flows list ----------
|
|
661
668
|
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from list' -s w -l workspace -d 'Specify the workspace ID to list flows from' -x
|
|
662
669
|
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from list' -s p -l paginate -d 'Paginates the list of flows'
|
|
@@ -888,7 +895,7 @@ complete -c postman -n '__postman_using_subcommand monitor run create update del
|
|
|
888
895
|
complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume share' -a share -d 'Grant a role on a monitor to one or more people.'
|
|
889
896
|
complete -c postman -n '__fish_seen_subcommand_from monitor' -s h -l help -d 'display help for command'
|
|
890
897
|
# ---------- monitor run ----------
|
|
891
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
898
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
892
899
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -s x -l suppress-exit-code -d 'Always exit 0, whatever the run\'s result or the failure'
|
|
893
900
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -s t -l timeout -d 'How long to wait for the run to finish, in milliseconds (default: 900000)' -x
|
|
894
901
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -l async -d 'Submit the run and print its job id and Postman URL without waiting for it to finish'
|
|
@@ -917,7 +924,7 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
|
|
|
917
924
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l iteration-count -d 'Number of iterations to run' -x
|
|
918
925
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l iteration-strategy -d 'How iteration data is consumed, for example round_robin, repeat_last or stop_at_end (requires --iteration-count, --dataset-id and --dataset-view-id)' -x
|
|
919
926
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l no-run-now -d 'Do not trigger an immediate run after creating the monitor'
|
|
920
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
927
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
921
928
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l json -d 'Print the outcome, the created monitor\'s id, uid, name and active state, and the job of its first run, as JSON'
|
|
922
929
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -s h -l help -d 'display help for command'
|
|
923
930
|
# ---------- monitor update ----------
|
|
@@ -943,12 +950,12 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
|
|
|
943
950
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l dataset-view-id -d 'Dataset view to iterate (used together with --dataset-id)' -x
|
|
944
951
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l iteration-count -d 'Number of iterations to run' -x
|
|
945
952
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l iteration-strategy -d 'How iteration data is consumed, for example round_robin, repeat_last or stop_at_end (requires --iteration-count, --dataset-id and --dataset-view-id)' -x
|
|
946
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
953
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
947
954
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l json -d 'Print the outcome and the monitor\'s id, uid, name and active state as JSON'
|
|
948
955
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
|
|
949
956
|
# ---------- monitor delete ----------
|
|
950
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Skip the confirmation prompt; required when there is no interactive terminal
|
|
951
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
957
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Skip the confirmation prompt; required when there is no interactive terminal'
|
|
958
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
952
959
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -l json -d 'Print the outcome (deleted or aborted) and the monitor id as JSON'
|
|
953
960
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
|
|
954
961
|
# ---------- monitor jobs ----------
|
|
@@ -956,7 +963,7 @@ complete -c postman -n '__postman_using_subcommand jobs list get' -a list -d 'Li
|
|
|
956
963
|
complete -c postman -n '__postman_using_subcommand jobs list get' -a get -d 'Show one job (also called an execution) and the state, runner and duration of each of its runs. A run\'s duration covers every attempt, including retries.'
|
|
957
964
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs' -s h -l help -d 'display help for command'
|
|
958
965
|
# ---------- monitor jobs list ----------
|
|
959
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
966
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
960
967
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l result -d 'Only jobs that finished in this state: success, failure, error or abort; any other value is rejected before any request' -x
|
|
961
968
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l trigger -d 'Only jobs started by this trigger: api, schedule, webhook or postman-cli; any other value is rejected before any request' -x
|
|
962
969
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l since -d 'Only jobs that finished at or after this ISO 8601 date-time' -x
|
|
@@ -965,20 +972,20 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
|
|
|
965
972
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l json -d 'Print { monitorId, jobs, nextCursor } as JSON, each job with its runs'
|
|
966
973
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
|
|
967
974
|
# ---------- monitor jobs get ----------
|
|
968
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
975
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
969
976
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from get' -l json -d 'Print the job as JSON, with each run\'s state, runner, counts, duration and attempts'
|
|
970
977
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
|
|
971
978
|
# ---------- monitor runs ----------
|
|
972
979
|
complete -c postman -n '__postman_using_subcommand runs get' -a get -d 'Show one attempt of a run: each request with its response or error, and its assertions, console lines and exceptions. A retried run has several attempts, numbered from 0; the latest is shown unless --attempt names another. Console, assertion and exception messages are the collection\'s own output, printed as the run recorded them.'
|
|
973
980
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs' -s h -l help -d 'display help for command'
|
|
974
981
|
# ---------- monitor runs get ----------
|
|
975
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
982
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
976
983
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l attempt -d 'Which attempt to show, from 0 for the first (default: the latest)' -x
|
|
977
984
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l failed-only -d 'Show only requests with a failed assertion, an exception or a network error'
|
|
978
985
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l json -d 'Print the run as JSON: its state, attempt, assertion counts and every request with its entries'
|
|
979
986
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
|
|
980
987
|
# ---------- monitor list ----------
|
|
981
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
988
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
982
989
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s w -l workspace -d 'Only monitors in this workspace (ids from `postman workspace list`)' -x
|
|
983
990
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s c -l collection -d 'Only monitors on this collection: its id or uid' -x
|
|
984
991
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s e -l environment -d 'Only monitors on this environment: its uid' -x
|
|
@@ -994,11 +1001,11 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
|
|
|
994
1001
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l json -d 'Print { monitors, nextCursor } as JSON, every monitor field except lastRun present (null when unset); monitor get carries lastRun'
|
|
995
1002
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
|
|
996
1003
|
# ---------- monitor get ----------
|
|
997
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1004
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
998
1005
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from get' -l json -d 'Print the monitor as JSON, every field present (null when unset)'
|
|
999
1006
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
|
|
1000
1007
|
# ---------- monitor metrics ----------
|
|
1001
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1008
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
1002
1009
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l since -d 'Only executions at or after this ISO 8601 date-time (defaults to 7 days ago)' -x
|
|
1003
1010
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l until -d 'Only executions at or before this ISO 8601 date-time (defaults to now)' -x
|
|
1004
1011
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -s f -l filter -d 'Show only requests whose name contains this text (case-insensitive)' -x
|
|
@@ -1006,11 +1013,11 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
|
|
|
1006
1013
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l json -d 'Print { monitorId, window, metricsAvailable, executions } as JSON, one entry per request per job per runner'
|
|
1007
1014
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -s h -l help -d 'display help for command'
|
|
1008
1015
|
# ---------- monitor pause ----------
|
|
1009
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from pause' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1016
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from pause' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
1010
1017
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from pause' -l json -d 'Print the outcome and the monitor\'s id, uid, name and active state as JSON'
|
|
1011
1018
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from pause' -s h -l help -d 'display help for command'
|
|
1012
1019
|
# ---------- monitor resume ----------
|
|
1013
|
-
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1020
|
+
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
|
|
1014
1021
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -l json -d 'Print the outcome and the monitor\'s id, uid, name and active state as JSON'
|
|
1015
1022
|
complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -s h -l help -d 'display help for command'
|
|
1016
1023
|
# ---------- monitor share ----------
|
|
@@ -1077,6 +1084,7 @@ complete -c postman -n '__fish_seen_subcommand_from request' -l auth-ntlm-workst
|
|
|
1077
1084
|
complete -c postman -n '__fish_seen_subcommand_from request' -l auth-apikey-key -d 'Supply authentication parameters dynamically.' -x
|
|
1078
1085
|
complete -c postman -n '__fish_seen_subcommand_from request' -l auth-apikey-value -d 'Supply authentication parameters dynamically.' -x
|
|
1079
1086
|
complete -c postman -n '__fish_seen_subcommand_from request' -l auth-apikey-in -d 'Supply authentication parameters dynamically.' -x
|
|
1087
|
+
complete -c postman -n '__fish_seen_subcommand_from request' -r -k -a '(__fish_complete_suffix .json)'
|
|
1080
1088
|
|
|
1081
1089
|
# ---------- runner ----------
|
|
1082
1090
|
complete -c postman -n '__postman_using_subcommand runner start list regions' -a start -d 'Start a self-hosted runner in your own network.'
|
|
@@ -1282,8 +1290,8 @@ complete -c postman -n '__postman_using_subcommand workspace list prepare push l
|
|
|
1282
1290
|
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
|
|
1283
1291
|
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a lint -d 'Lint the current local Postman workspace: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
|
|
1284
1292
|
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a get -d 'Read a workspace\'s metadata, and optionally the ids of what it holds.'
|
|
1285
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a context -d '
|
|
1286
|
-
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a activity -d '
|
|
1293
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a context -d 'Everything about a workspace: collections, environments, monitors, mocks, specs, flows and simulations, and how they relate (which monitor runs which collection). Add `--section activity` for the change feed. Prints JSON when piped.'
|
|
1294
|
+
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a activity -d 'Shorthand for `workspace context --section activity`: who changed what, and the messages left on pushes.'
|
|
1287
1295
|
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a create -d 'Create a Postman workspace and bind it to this git repository.'
|
|
1288
1296
|
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a delete -d 'Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
|
|
1289
1297
|
complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a share -d 'Grant a role on a workspace to one or more people.'
|
|
@@ -1327,15 +1335,27 @@ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_s
|
|
|
1327
1335
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
|
|
1328
1336
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
|
|
1329
1337
|
# ---------- workspace context ----------
|
|
1330
|
-
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l
|
|
1331
|
-
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l
|
|
1332
|
-
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l
|
|
1333
|
-
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l
|
|
1334
|
-
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l
|
|
1335
|
-
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l
|
|
1336
|
-
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l brief -d '
|
|
1338
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l section -d 'Comma-separated sections to show (collection, environment, monitor, mock, spec, flow, simulation, activity). Default: everything but activity. Counts are always reported for every inventory section.' -x
|
|
1339
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l limit -d 'Max items per section, or entries for activity (default 25 items). A cut section says how many were left out.' -x
|
|
1340
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l type -d 'Activity only: comma-separated element types, e.g. "api,collection". Use "workspacePush" for the messages left with `workspace push -m`.' -x
|
|
1341
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l contributor -d 'Activity only: comma-separated user ids.' -x
|
|
1342
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l cursor -d 'Activity only: the page of entries that follows this cursor.' -x
|
|
1343
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l markdown -d 'Activity only: ask the API for a human-readable description of each entry.'
|
|
1344
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l brief -d 'With only `--section activity`: one plain line per entry (time, who, message).'
|
|
1345
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l json -d 'Print JSON (schemaVersion 1.1). This is already the default when piped.'
|
|
1346
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l text -d 'Print prose even when piped.'
|
|
1337
1347
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
|
|
1338
1348
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -s h -l help -d 'display help for command'
|
|
1349
|
+
# ---------- workspace activity ----------
|
|
1350
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l type -d 'Comma-separated element types to filter on, e.g. "api,collection". Use "workspacePush" for the messages left with `workspace push -m`.' -x
|
|
1351
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l contributor -d 'Comma-separated user ids to filter on.' -x
|
|
1352
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l cursor -d 'Fetch the page of entries that follows this cursor.' -x
|
|
1353
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l limit -d 'Max entries to return.' -x
|
|
1354
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l markdown -d 'Ask the API for a human-readable description of each entry.'
|
|
1355
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l json -d 'Print the feed as machine-readable JSON.'
|
|
1356
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l brief -d 'Print one plain line per entry (time, who, message), for a prompt or a log. Prints nothing when there are no entries.'
|
|
1357
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
|
|
1358
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -s h -l help -d 'display help for command'
|
|
1339
1359
|
# ---------- workspace create ----------
|
|
1340
1360
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -l visibility -d 'Required. One of: personal, private, team, public, partner.' -x
|
|
1341
1361
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -l name -d 'Workspace name (defaults to owner/repo from the git remote)' -x
|
|
@@ -1547,6 +1567,8 @@ complete -c postman -n '__fish_seen_subcommand_from skills; and __fish_seen_subc
|
|
|
1547
1567
|
complete -c postman -n '__fish_seen_subcommand_from login' -l alias -d 'Specify the alias of the API key to fetch your resources using it. (This option is discontinued and will be removed in a future release.)' -x
|
|
1548
1568
|
complete -c postman -n '__fish_seen_subcommand_from login' -l with-api-key -d 'Specify the API key directly.' -x
|
|
1549
1569
|
complete -c postman -n '__fish_seen_subcommand_from login' -l region -d 'Specify the region for authentication. Use "eu" for EU region.' -x -a 'us eu'
|
|
1570
|
+
complete -c postman -n '__fish_seen_subcommand_from login' -l migrate-guest-workspace -d 'Copy this repository\'s local work into a new workspace in the account you sign in to, even after the previous session has ended (for example after a logout).'
|
|
1571
|
+
complete -c postman -n '__fish_seen_subcommand_from login' -l no-migrate-guest-workspace -d 'Do not copy local work into the account you sign in to. By default local work is copied.'
|
|
1550
1572
|
complete -c postman -n '__fish_seen_subcommand_from login' -l verbose -d 'Show detailed error information'
|
|
1551
1573
|
complete -c postman -n '__fish_seen_subcommand_from login' -s h -l help -d 'display help for command'
|
|
1552
1574
|
|
|
@@ -1555,8 +1577,8 @@ complete -c postman -n '__fish_seen_subcommand_from logout' -l alias -d 'Specify
|
|
|
1555
1577
|
complete -c postman -n '__fish_seen_subcommand_from logout' -s h -l help -d 'display help for command'
|
|
1556
1578
|
|
|
1557
1579
|
# ---------- signup ----------
|
|
1558
|
-
complete -c postman -n '__fish_seen_subcommand_from signup' -l guest -d 'Start
|
|
1559
|
-
complete -c postman -n '__fish_seen_subcommand_from signup' -l no-push -d 'Do not push local work to your
|
|
1580
|
+
complete -c postman -n '__fish_seen_subcommand_from signup' -l guest -d 'Start a session without signing up — no account or browser needed, so it works anywhere. Your work is saved to a temporary workspace you can keep later by running `postman signup`.'
|
|
1581
|
+
complete -c postman -n '__fish_seen_subcommand_from signup' -l no-push -d 'Do not push local work to your workspace before signing up. By default, work saved under postman/ is pushed first, so the workspace you keep is not empty.'
|
|
1560
1582
|
complete -c postman -n '__fish_seen_subcommand_from signup' -l json -d 'Print the sign-up details as machine-readable JSON.'
|
|
1561
1583
|
complete -c postman -n '__fish_seen_subcommand_from signup' -s h -l help -d 'display help for command'
|
|
1562
1584
|
|
|
@@ -1673,6 +1695,7 @@ complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen
|
|
|
1673
1695
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l pass-if -d 'Pass condition in format: function(metric, value) (repeatable; all conditions must hold). Functions: less_than, greater_than, less_than_eq, greater_than_eq. Metrics: avg, p90, p95, p99, error_rate, rps. Example: less_than(p95, 500)' -x
|
|
1674
1696
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l use-mock -d 'Redirect a variable/host to a local code mock or cloud Mock Server (repeatable). Format: "<{{var}}|host> mock|mock-server:<path|id> [scenario]" (default: [])' -x
|
|
1675
1697
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l dataset -d 'Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to the handlers of the local mocks started by --use-mock as pm.datasets(<id>). Local runner only. (default: [])' -r
|
|
1698
|
+
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l workspace-id -d 'Workspace that owns the shared vault for the collection\'s v12 secret variables. Required on cloud runs to resolve those secrets; omit if the run uses no vault secrets.' -x
|
|
1676
1699
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
|
|
1677
1700
|
complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -r -k -a '(__fish_complete_suffix .json)'
|
|
1678
1701
|
# ---------- performance list ----------
|
|
@@ -1754,7 +1777,7 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
|
|
|
1754
1777
|
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
|
|
1755
1778
|
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.'
|
|
1756
1779
|
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.'
|
|
1757
|
-
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. Bound to 127.0.0.1, so point clients there rather than at "localhost" — a client that resolves localhost to ::1 first will not reach it.
|
|
1780
|
+
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy-port -d 'Port for the proxy server, or "auto" for a free one. Omitted, it prefers 7001 but falls back to a free port when that one is busy, so an omitted port is not guaranteed: pass one to pin it, or read the bound port from the startup banner. A port passed here exits 1 when it is busy. Distinct from --port, which is the one-port run\'s own port. Bound to 127.0.0.1, so point clients there rather than at "localhost" — a client that resolves localhost to ::1 first will not reach it.' -x
|
|
1758
1781
|
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. A member that defines no scenario by this name serves its default. (default: "default")' -x
|
|
1759
1782
|
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
|
|
1760
1783
|
complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l log-format -d 'Proxy request log format: text or json. Each line carries the method, host, path, destination (a routeKey, or "passthrough"), status and duration; json adds a timestamp, the scenario and the session. (default: "text")' -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.83.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
|
|
@@ -82,8 +82,8 @@ _postman_commands() {
|
|
|
82
82
|
'skills:Check and update the agent skills in this repository'
|
|
83
83
|
'login:Authenticate with Postman to access your resources'
|
|
84
84
|
'logout:Delete the stored Postman API key'
|
|
85
|
-
'signup:Sign up to keep
|
|
86
|
-
'whoami:Show the Postman account or
|
|
85
|
+
'signup:Sign up to keep your work'
|
|
86
|
+
'whoami:Show the Postman account or session this CLI is using'
|
|
87
87
|
'application:Application-level commands\: initialise config and run tests'
|
|
88
88
|
'app:Alias for application'
|
|
89
89
|
'dependency:Manage workspace dependencies reused from other workspaces'
|
|
@@ -193,9 +193,9 @@ _postman_collection_commands() {
|
|
|
193
193
|
'request:Add, get, update, or remove requests in a local v3 collection.'
|
|
194
194
|
'folder:Add, get, update, or remove folders in a local v3 collection.'
|
|
195
195
|
'example:Add, update, remove, get, or list examples (saved responses) under a request.'
|
|
196
|
-
'import:Import a cURL or
|
|
196
|
+
'import:Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or cloud with --workspace).'
|
|
197
197
|
'list:List collections\: your local project'\''s collections by default, or a Postman cloud workspace'\''s collections with --workspace.'
|
|
198
|
-
'run:
|
|
198
|
+
'run:Run a collection by ID or path, or a request file.'
|
|
199
199
|
)
|
|
200
200
|
_describe -t commands 'collection command' sub
|
|
201
201
|
}
|
|
@@ -621,7 +621,7 @@ _postman_collection_example_list() {
|
|
|
621
621
|
|
|
622
622
|
_postman_collection_import() {
|
|
623
623
|
_arguments \
|
|
624
|
-
'--type[Source format\: curl or
|
|
624
|
+
'--type[Source format\: curl, har, or jmeter. Auto-detected from the extension/content when omitted.]:format' \
|
|
625
625
|
'--name[Collection display name. Defaults to a per-format fallback.]:name' \
|
|
626
626
|
'(-o --output)'{-o,--output}'[Output directory for the local collection (default\: postman/collections/<name>).]:dir:_files -g "*.json"' \
|
|
627
627
|
'(-w --workspace)'{-w,--workspace}'[Create the collection in a Postman cloud workspace by id (cloud mode).]:id' \
|
|
@@ -1208,6 +1208,7 @@ _postman_flows() {
|
|
|
1208
1208
|
case $state in
|
|
1209
1209
|
args)
|
|
1210
1210
|
case $words[1] in
|
|
1211
|
+
create) _postman_flows_create ;;
|
|
1211
1212
|
list) _postman_flows_list ;;
|
|
1212
1213
|
trigger) _postman_flows_trigger ;;
|
|
1213
1214
|
deploy) _postman_flows_deploy ;;
|
|
@@ -1224,6 +1225,7 @@ _postman_flows() {
|
|
|
1224
1225
|
_postman_flows_commands() {
|
|
1225
1226
|
local -a sub
|
|
1226
1227
|
sub=(
|
|
1228
|
+
'create:Create a flow in the current repository, the same way "New flow" does in the Postman app. Run it from the root of a repository connected to a Postman workspace.'
|
|
1227
1229
|
'list:List all flows'
|
|
1228
1230
|
'trigger:Trigger a deployed flow'
|
|
1229
1231
|
'deploy:Deploy a flow (required to trigger it)'
|
|
@@ -1236,6 +1238,15 @@ _postman_flows_commands() {
|
|
|
1236
1238
|
_describe -t commands 'flows command' sub
|
|
1237
1239
|
}
|
|
1238
1240
|
|
|
1241
|
+
_postman_flows_create() {
|
|
1242
|
+
_arguments \
|
|
1243
|
+
'(-n --name)'{-n,--name}'[Specify the flow name (default\: "New flow")]:name' \
|
|
1244
|
+
'--verbose[Verbose output]' \
|
|
1245
|
+
'--debug[Debug output]' \
|
|
1246
|
+
'--json[JSON output]' \
|
|
1247
|
+
'(-h --help)'{-h,--help}'[display help for command]'
|
|
1248
|
+
}
|
|
1249
|
+
|
|
1239
1250
|
_postman_flows_list() {
|
|
1240
1251
|
_arguments \
|
|
1241
1252
|
'(-w --workspace)'{-w,--workspace}'[Specify the workspace ID to list flows from]:workspaceId' \
|
|
@@ -1640,7 +1651,7 @@ _postman_monitor_commands() {
|
|
|
1640
1651
|
|
|
1641
1652
|
_postman_monitor_run() {
|
|
1642
1653
|
_arguments \
|
|
1643
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1654
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1644
1655
|
'(-x --suppress-exit-code)'{-x,--suppress-exit-code}'[Always exit 0, whatever the run'\''s result or the failure]' \
|
|
1645
1656
|
'(-t --timeout)'{-t,--timeout}'[How long to wait for the run to finish, in milliseconds (default\: 900000)]:ms' \
|
|
1646
1657
|
'--async[Submit the run and print its job id and Postman URL without waiting for it to finish]' \
|
|
@@ -1673,7 +1684,7 @@ _postman_monitor_create() {
|
|
|
1673
1684
|
'--iteration-count[Number of iterations to run]:n' \
|
|
1674
1685
|
'--iteration-strategy[How iteration data is consumed, for example round_robin, repeat_last or stop_at_end (requires --iteration-count, --dataset-id and --dataset-view-id)]:strategy' \
|
|
1675
1686
|
'--no-run-now[Do not trigger an immediate run after creating the monitor]' \
|
|
1676
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1687
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1677
1688
|
'--json[Print the outcome, the created monitor'\''s id, uid, name and active state, and the job of its first run, as JSON]' \
|
|
1678
1689
|
'(-h --help)'{-h,--help}'[display help for command]'
|
|
1679
1690
|
}
|
|
@@ -1702,7 +1713,7 @@ _postman_monitor_update() {
|
|
|
1702
1713
|
'--dataset-view-id[Dataset view to iterate (used together with --dataset-id)]:id' \
|
|
1703
1714
|
'--iteration-count[Number of iterations to run]:n' \
|
|
1704
1715
|
'--iteration-strategy[How iteration data is consumed, for example round_robin, repeat_last or stop_at_end (requires --iteration-count, --dataset-id and --dataset-view-id)]:strategy' \
|
|
1705
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1716
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1706
1717
|
'--json[Print the outcome and the monitor'\''s id, uid, name and active state as JSON]' \
|
|
1707
1718
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1708
1719
|
'*:monitorId:'
|
|
@@ -1710,8 +1721,8 @@ _postman_monitor_update() {
|
|
|
1710
1721
|
|
|
1711
1722
|
_postman_monitor_delete() {
|
|
1712
1723
|
_arguments \
|
|
1713
|
-
'(-y --yes)'{-y,--yes}'[Skip the confirmation prompt; required when there is no interactive terminal
|
|
1714
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1724
|
+
'(-y --yes)'{-y,--yes}'[Skip the confirmation prompt; required when there is no interactive terminal]' \
|
|
1725
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1715
1726
|
'--json[Print the outcome (deleted or aborted) and the monitor id as JSON]' \
|
|
1716
1727
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1717
1728
|
'*:monitorId:'
|
|
@@ -1745,7 +1756,7 @@ _postman_monitor_jobs_commands() {
|
|
|
1745
1756
|
|
|
1746
1757
|
_postman_monitor_jobs_list() {
|
|
1747
1758
|
_arguments \
|
|
1748
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1759
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1749
1760
|
'--result[Only jobs that finished in this state\: success, failure, error or abort; any other value is rejected before any request]:state' \
|
|
1750
1761
|
'--trigger[Only jobs started by this trigger\: api, schedule, webhook or postman-cli; any other value is rejected before any request]:value' \
|
|
1751
1762
|
'--since[Only jobs that finished at or after this ISO 8601 date-time]:dateTime' \
|
|
@@ -1758,7 +1769,7 @@ _postman_monitor_jobs_list() {
|
|
|
1758
1769
|
|
|
1759
1770
|
_postman_monitor_jobs_get() {
|
|
1760
1771
|
_arguments \
|
|
1761
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1772
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1762
1773
|
'--json[Print the job as JSON, with each run'\''s state, runner, counts, duration and attempts]' \
|
|
1763
1774
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1764
1775
|
'*:jobId:'
|
|
@@ -1790,7 +1801,7 @@ _postman_monitor_runs_commands() {
|
|
|
1790
1801
|
|
|
1791
1802
|
_postman_monitor_runs_get() {
|
|
1792
1803
|
_arguments \
|
|
1793
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1804
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1794
1805
|
'--attempt[Which attempt to show, from 0 for the first (default\: the latest)]:n' \
|
|
1795
1806
|
'--failed-only[Show only requests with a failed assertion, an exception or a network error]' \
|
|
1796
1807
|
'--json[Print the run as JSON\: its state, attempt, assertion counts and every request with its entries]' \
|
|
@@ -1800,7 +1811,7 @@ _postman_monitor_runs_get() {
|
|
|
1800
1811
|
|
|
1801
1812
|
_postman_monitor_list() {
|
|
1802
1813
|
_arguments \
|
|
1803
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1814
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1804
1815
|
'(-w --workspace)'{-w,--workspace}'[Only monitors in this workspace (ids from `postman workspace list`)]:id' \
|
|
1805
1816
|
'(-c --collection)'{-c,--collection}'[Only monitors on this collection\: its id or uid]:id' \
|
|
1806
1817
|
'(-e --environment)'{-e,--environment}'[Only monitors on this environment\: its uid]:id' \
|
|
@@ -1819,7 +1830,7 @@ _postman_monitor_list() {
|
|
|
1819
1830
|
|
|
1820
1831
|
_postman_monitor_get() {
|
|
1821
1832
|
_arguments \
|
|
1822
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1833
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1823
1834
|
'--json[Print the monitor as JSON, every field present (null when unset)]' \
|
|
1824
1835
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1825
1836
|
'*:monitorId:'
|
|
@@ -1827,7 +1838,7 @@ _postman_monitor_get() {
|
|
|
1827
1838
|
|
|
1828
1839
|
_postman_monitor_metrics() {
|
|
1829
1840
|
_arguments \
|
|
1830
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1841
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1831
1842
|
'--since[Only executions at or after this ISO 8601 date-time (defaults to 7 days ago)]:dateTime' \
|
|
1832
1843
|
'--until[Only executions at or before this ISO 8601 date-time (defaults to now)]:dateTime' \
|
|
1833
1844
|
'(-f --filter)'{-f,--filter}'[Show only requests whose name contains this text (case-insensitive)]:text' \
|
|
@@ -1839,7 +1850,7 @@ _postman_monitor_metrics() {
|
|
|
1839
1850
|
|
|
1840
1851
|
_postman_monitor_pause() {
|
|
1841
1852
|
_arguments \
|
|
1842
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1853
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1843
1854
|
'--json[Print the outcome and the monitor'\''s id, uid, name and active state as JSON]' \
|
|
1844
1855
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1845
1856
|
'*:monitorId:'
|
|
@@ -1847,7 +1858,7 @@ _postman_monitor_pause() {
|
|
|
1847
1858
|
|
|
1848
1859
|
_postman_monitor_resume() {
|
|
1849
1860
|
_arguments \
|
|
1850
|
-
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a
|
|
1861
|
+
'--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
|
|
1851
1862
|
'--json[Print the outcome and the monitor'\''s id, uid, name and active state as JSON]' \
|
|
1852
1863
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
1853
1864
|
'*:monitorId:'
|
|
@@ -1921,7 +1932,7 @@ _postman_request() {
|
|
|
1921
1932
|
'--auth-apikey-key[Supply authentication parameters dynamically.]:value' \
|
|
1922
1933
|
'--auth-apikey-value[Supply authentication parameters dynamically.]:value' \
|
|
1923
1934
|
'--auth-apikey-in[Supply authentication parameters dynamically.]:value' \
|
|
1924
|
-
'*:URL:'
|
|
1935
|
+
'*:URL|request-file:_files -g "*.json"'
|
|
1925
1936
|
}
|
|
1926
1937
|
|
|
1927
1938
|
_postman_runner() {
|
|
@@ -2382,7 +2393,8 @@ _postman_workspace() {
|
|
|
2382
2393
|
push) _postman_workspace_push ;;
|
|
2383
2394
|
lint) _postman_workspace_lint ;;
|
|
2384
2395
|
get) _postman_workspace_get ;;
|
|
2385
|
-
context
|
|
2396
|
+
context) _postman_workspace_context ;;
|
|
2397
|
+
activity) _postman_workspace_activity ;;
|
|
2386
2398
|
create) _postman_workspace_create ;;
|
|
2387
2399
|
delete) _postman_workspace_delete ;;
|
|
2388
2400
|
share) _postman_workspace_share ;;
|
|
@@ -2403,8 +2415,8 @@ _postman_workspace_commands() {
|
|
|
2403
2415
|
'push:Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
|
|
2404
2416
|
'lint:Lint the current local Postman workspace\: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
|
|
2405
2417
|
'get:Read a workspace'\''s metadata, and optionally the ids of what it holds.'
|
|
2406
|
-
'context:
|
|
2407
|
-
'activity:
|
|
2418
|
+
'context:Everything about a workspace\: collections, environments, monitors, mocks, specs, flows and simulations, and how they relate (which monitor runs which collection). Add `--section activity` for the change feed. Prints JSON when piped.'
|
|
2419
|
+
'activity:Shorthand for `workspace context --section activity`\: who changed what, and the messages left on pushes.'
|
|
2408
2420
|
'create:Create a Postman workspace and bind it to this git repository.'
|
|
2409
2421
|
'delete:Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
|
|
2410
2422
|
'share:Grant a role on a workspace to one or more people.'
|
|
@@ -2467,6 +2479,22 @@ _postman_workspace_get() {
|
|
|
2467
2479
|
}
|
|
2468
2480
|
|
|
2469
2481
|
_postman_workspace_context() {
|
|
2482
|
+
_arguments \
|
|
2483
|
+
'--section[Comma-separated sections to show (collection, environment, monitor, mock, spec, flow, simulation, activity). Default\: everything but activity. Counts are always reported for every inventory section.]:names' \
|
|
2484
|
+
'--limit[Max items per section, or entries for activity (default 25 items). A cut section says how many were left out.]:n' \
|
|
2485
|
+
'--type[Activity only\: comma-separated element types, e.g. "api,collection". Use "workspacePush" for the messages left with `workspace push -m`.]:types' \
|
|
2486
|
+
'--contributor[Activity only\: comma-separated user ids.]:ids' \
|
|
2487
|
+
'--cursor[Activity only\: the page of entries that follows this cursor.]:cursor' \
|
|
2488
|
+
'--markdown[Activity only\: ask the API for a human-readable description of each entry.]' \
|
|
2489
|
+
'--brief[With only `--section activity`\: one plain line per entry (time, who, message).]' \
|
|
2490
|
+
'--json[Print JSON (schemaVersion 1.1). This is already the default when piped.]' \
|
|
2491
|
+
'--text[Print prose even when piped.]' \
|
|
2492
|
+
'--timeout[Milliseconds to wait for the API (default 30000).]:ms' \
|
|
2493
|
+
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
2494
|
+
'*:id:'
|
|
2495
|
+
}
|
|
2496
|
+
|
|
2497
|
+
_postman_workspace_activity() {
|
|
2470
2498
|
_arguments \
|
|
2471
2499
|
'--type[Comma-separated element types to filter on, e.g. "api,collection". Use "workspacePush" for the messages left with `workspace push -m`.]:types' \
|
|
2472
2500
|
'--contributor[Comma-separated user ids to filter on.]:ids' \
|
|
@@ -3046,6 +3074,8 @@ _postman_login() {
|
|
|
3046
3074
|
'--alias[Specify the alias of the API key to fetch your resources using it. (This option is discontinued and will be removed in a future release.)]:alias' \
|
|
3047
3075
|
'--with-api-key[Specify the API key directly.]:apikey' \
|
|
3048
3076
|
'--region[Specify the region for authentication. Use "eu" for EU region.]:region:(us eu)' \
|
|
3077
|
+
'--migrate-guest-workspace[Copy this repository'\''s local work into a new workspace in the account you sign in to, even after the previous session has ended (for example after a logout).]' \
|
|
3078
|
+
'--no-migrate-guest-workspace[Do not copy local work into the account you sign in to. By default local work is copied.]' \
|
|
3049
3079
|
'--verbose[Show detailed error information]' \
|
|
3050
3080
|
'(-h --help)'{-h,--help}'[display help for command]'
|
|
3051
3081
|
}
|
|
@@ -3058,8 +3088,8 @@ _postman_logout() {
|
|
|
3058
3088
|
|
|
3059
3089
|
_postman_signup() {
|
|
3060
3090
|
_arguments \
|
|
3061
|
-
'--guest[Start
|
|
3062
|
-
'--no-push[Do not push local work to your
|
|
3091
|
+
'--guest[Start a session without signing up — no account or browser needed, so it works anywhere. Your work is saved to a temporary workspace you can keep later by running `postman signup`.]' \
|
|
3092
|
+
'--no-push[Do not push local work to your workspace before signing up. By default, work saved under postman/ is pushed first, so the workspace you keep is not empty.]' \
|
|
3063
3093
|
'--json[Print the sign-up details as machine-readable JSON.]' \
|
|
3064
3094
|
'(-h --help)'{-h,--help}'[display help for command]'
|
|
3065
3095
|
}
|
|
@@ -3285,6 +3315,7 @@ _postman_performance_run() {
|
|
|
3285
3315
|
'--pass-if[Pass condition in format\: function(metric, value) (repeatable; all conditions must hold). Functions\: less_than, greater_than, less_than_eq, greater_than_eq. Metrics\: avg, p90, p95, p99, error_rate, rps. Example\: less_than(p95, 500)]:condition' \
|
|
3286
3316
|
'--use-mock[Redirect a variable/host to a local code mock or cloud Mock Server (repeatable). Format\: "<{{var}}|host> mock|mock-server\:<path|id> \[scenario\]" (default\: \[\])]:mapping' \
|
|
3287
3317
|
'--dataset[Pass --dataset multiple times to load several .dataset.yaml files (or directories containing them). Each is made available to the handlers of the local mocks started by --use-mock as pm.datasets(<id>). Local runner only. (default\: \[\])]:pathOrDir:_files -g "*.json"' \
|
|
3318
|
+
'--workspace-id[Workspace that owns the shared vault for the collection'\''s v12 secret variables. Required on cloud runs to resolve those secrets; omit if the run uses no vault secrets.]:id' \
|
|
3288
3319
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
3289
3320
|
'*:collectionId:_files -g "*.json"'
|
|
3290
3321
|
}
|
|
@@ -3442,7 +3473,7 @@ _postman_simulation_run() {
|
|
|
3442
3473
|
'--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' \
|
|
3443
3474
|
'--verbose[Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.]' \
|
|
3444
3475
|
'--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.]' \
|
|
3445
|
-
'--proxy-port[Port for the proxy server. Distinct from --port, which is the one-port run'\''s own port. Bound to 127.0.0.1, so point clients there rather than at "localhost" — a client that resolves localhost to \:\:1 first will not reach it.
|
|
3476
|
+
'--proxy-port[Port for the proxy server, or "auto" for a free one. Omitted, it prefers 7001 but falls back to a free port when that one is busy, so an omitted port is not guaranteed\: pass one to pin it, or read the bound port from the startup banner. A port passed here exits 1 when it is busy. Distinct from --port, which is the one-port run'\''s own port. Bound to 127.0.0.1, so point clients there rather than at "localhost" — a client that resolves localhost to \:\:1 first will not reach it.]:port' \
|
|
3446
3477
|
'--scenario[Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. A member that defines no scenario by this name serves its default. (default\: "default")]:name' \
|
|
3447
3478
|
'--session[Session id to select via the x-mock-session header (default\: a generated id).]:id' \
|
|
3448
3479
|
'--log-format[Proxy request log format\: text or json. Each line carries the method, host, path, destination (a routeKey, or "passthrough"), status and duration; json adds a timestamp, the scenario and the session. (default\: "text")]:format' \
|