postman-cli-completion 1.51.0 → 1.52.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Bash completion for Postman CLI (postman v1.
|
|
1
|
+
# Bash completion for Postman CLI (postman v1.52.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
|
|
@@ -143,7 +143,7 @@ _postman_collection_ai_readiness() {
|
|
|
143
143
|
|
|
144
144
|
_postman_collection_run() {
|
|
145
145
|
if [[ "$cur" == -* ]]; then
|
|
146
|
-
COMPREPLY=( $(compgen -W "-e --environment -g --globals -r --reporters --output --reporter-json-structure -n --iteration-count -d --iteration-data --iteration-data-dataset --iteration-data-view --dataset -i --global-var --env-var --integration-id --postman-api-key --alias --bail --ignore-redirects -x --suppress-exit-code --silent --disable-unicode --delay-request --timeout --timeout-request --timeout-script --working-dir --no-insecure-file-read -k --insecure --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase --ssl-extra-ca-certs --cookie-jar --export-cookie-jar --verbose --mock --port --simulate --report-events -h --help --reporter-json-export --reporter-junit-export --reporter-html-export --reporter-json-omitRequestBodies --reporter-html-omitRequestBodies --reporter-json-omitResponseBodies --reporter-html-omitResponseBodies --reporter-json-omitHeaders --reporter-html-omitHeaders --reporter-json-omitAllHeadersAndBody --reporter-html-omitAllHeadersAndBody" -- "$cur") )
|
|
146
|
+
COMPREPLY=( $(compgen -W "-e --environment -g --globals -r --reporters --output --reporter-json-structure -n --iteration-count -d --iteration-data --iteration-data-dataset --iteration-data-view --dataset -i --global-var --env-var --integration-id --postman-api-key --alias --bail --ignore-redirects -x --suppress-exit-code --silent --disable-unicode --delay-request --timeout --timeout-request --timeout-script --working-dir --no-insecure-file-read -k --insecure --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase --ssl-extra-ca-certs --cookie-jar --export-cookie-jar --verbose --mock --port --use-mock --simulate --report-events --no-report-events -h --help --reporter-json-export --reporter-junit-export --reporter-html-export --reporter-json-omitRequestBodies --reporter-html-omitRequestBodies --reporter-json-omitResponseBodies --reporter-html-omitResponseBodies --reporter-json-omitHeaders --reporter-html-omitHeaders --reporter-json-omitAllHeadersAndBody --reporter-html-omitAllHeadersAndBody" -- "$cur") )
|
|
147
147
|
return 0
|
|
148
148
|
fi
|
|
149
149
|
case "$prev" in
|
|
@@ -308,7 +308,7 @@ _postman_runner() {
|
|
|
308
308
|
|
|
309
309
|
_postman_runner_start() {
|
|
310
310
|
if [[ "$cur" == -* ]]; then
|
|
311
|
-
COMPREPLY=( $(compgen -W "--id --key --region --proxy --egress-proxy --egress-proxy-authz-url --ssl-extra-ca-certs --metrics --metrics-port --report-events -h --help" -- "$cur") )
|
|
311
|
+
COMPREPLY=( $(compgen -W "--id --key --region --proxy --egress-proxy --egress-proxy-authz-url --ssl-extra-ca-certs --metrics --metrics-port --report-events --no-report-events -h --help" -- "$cur") )
|
|
312
312
|
return 0
|
|
313
313
|
fi
|
|
314
314
|
case "$prev" in
|
|
@@ -338,7 +338,7 @@ _postman_spec() {
|
|
|
338
338
|
|
|
339
339
|
_postman_spec_lint() {
|
|
340
340
|
if [[ "$cur" == -* ]]; then
|
|
341
|
-
COMPREPLY=( $(compgen -W "-f --fail-severity -o --output --workspace-id --report-events -h --help" -- "$cur") )
|
|
341
|
+
COMPREPLY=( $(compgen -W "-f --fail-severity -o --output --workspace-id --report-events --no-report-events -h --help" -- "$cur") )
|
|
342
342
|
return 0
|
|
343
343
|
fi
|
|
344
344
|
case "$prev" in
|
|
@@ -414,7 +414,7 @@ _postman_workspace_prepare() {
|
|
|
414
414
|
|
|
415
415
|
_postman_workspace_push() {
|
|
416
416
|
if [[ "$cur" == -* ]]; then
|
|
417
|
-
COMPREPLY=( $(compgen -W "--no-prepare -y --yes --push-strategy --verbose --report-events -h --help" -- "$cur") )
|
|
417
|
+
COMPREPLY=( $(compgen -W "--no-prepare -y --yes --push-strategy --verbose --report-events --no-report-events -h --help" -- "$cur") )
|
|
418
418
|
return 0
|
|
419
419
|
fi
|
|
420
420
|
case "$prev" in
|
|
@@ -538,7 +538,7 @@ _postman_flows_deploy() {
|
|
|
538
538
|
|
|
539
539
|
_postman_flows_run() {
|
|
540
540
|
if [[ "$cur" == -* ]]; then
|
|
541
|
-
COMPREPLY=( $(compgen -W "-i --input -f --input-file -s --scenario --iteration-data-dataset --iteration-data-view -m --map-column -e --environment --working-dir --no-insecure-file-read --verbose --no-truncate --output --reporters -x --suppress-exit-code --workspace --verbose --debug --json -h --help" -- "$cur") )
|
|
541
|
+
COMPREPLY=( $(compgen -W "-i --input -f --input-file -s --scenario --iteration-data-dataset --iteration-data-view -m --map-column -e --environment --working-dir --no-insecure-file-read --verbose --no-truncate --output --reporters -x --suppress-exit-code --workspace --report-events --no-report-events --verbose --debug --json -h --help" -- "$cur") )
|
|
542
542
|
return 0
|
|
543
543
|
fi
|
|
544
544
|
case "$prev" in
|
|
@@ -590,7 +590,7 @@ _postman_flows_get_run() {
|
|
|
590
590
|
|
|
591
591
|
_postman_request() {
|
|
592
592
|
if [[ "$cur" == -* ]]; then
|
|
593
|
-
COMPREPLY=( $(compgen -W "-H --header -d --body -f --form -e --environment --timeout --redirects-ignore --redirects-max --redirects-follow-method --redirects-remove-referrer --retry --retry-delay --script-pre-request --script-post-request --dataset -o --output --verbose --response-only --debug -h --help --auth-basic-username --auth-basic-password --auth-bearer-token --auth-digest-username --auth-digest-password --auth-oauth1-consumerKey --auth-oauth1-consumerSecret --auth-oauth1-token --auth-oauth1-tokenSecret --auth-oauth2-accessToken --auth-oauth2-tokenType --auth-hawk-authId --auth-hawk-authKey --auth-hawk-algorithm --auth-aws-accessKey --auth-aws-secretKey --auth-aws-region --auth-aws-service --auth-aws-sessionToken --auth-ntlm-username --auth-ntlm-password --auth-ntlm-domain --auth-ntlm-workstation --auth-apikey-key --auth-apikey-value --auth-apikey-in" -- "$cur") )
|
|
593
|
+
COMPREPLY=( $(compgen -W "-H --header -d --body -f --form -e --environment --timeout --redirects-ignore --redirects-max --redirects-follow-method --redirects-remove-referrer --retry --retry-delay --script-pre-request --script-post-request --dataset -o --output --verbose --response-only --debug --report-events --no-report-events -h --help --auth-basic-username --auth-basic-password --auth-bearer-token --auth-digest-username --auth-digest-password --auth-oauth1-consumerKey --auth-oauth1-consumerSecret --auth-oauth1-token --auth-oauth1-tokenSecret --auth-oauth2-accessToken --auth-oauth2-tokenType --auth-hawk-authId --auth-hawk-authKey --auth-hawk-algorithm --auth-aws-accessKey --auth-aws-secretKey --auth-aws-region --auth-aws-service --auth-aws-sessionToken --auth-ntlm-username --auth-ntlm-password --auth-ntlm-domain --auth-ntlm-workstation --auth-apikey-key --auth-apikey-value --auth-apikey-in" -- "$cur") )
|
|
594
594
|
return 0
|
|
595
595
|
fi
|
|
596
596
|
case "$prev" in
|
|
@@ -819,7 +819,7 @@ _postman_application_init() {
|
|
|
819
819
|
|
|
820
820
|
_postman_application_test() {
|
|
821
821
|
if [[ "$cur" == -* ]]; then
|
|
822
|
-
COMPREPLY=( $(compgen -W "--target --target-collection --target-environment --command --deployed-version --network-log --capture-only --output --force --report-events --verbose -h --help" -- "$cur") )
|
|
822
|
+
COMPREPLY=( $(compgen -W "--target --target-collection --target-environment --command --deployed-version --network-log --capture-only --output --force --report-events --no-report-events --verbose -h --help" -- "$cur") )
|
|
823
823
|
return 0
|
|
824
824
|
fi
|
|
825
825
|
case "$prev" in
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
# Fish completion for Postman CLI (postman v1.
|
|
1
|
+
# Fish completion for Postman CLI (postman v1.52.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
|
|
@@ -44,7 +44,7 @@ complete -c postman -n __postman_no_subcommand -a simulate -d 'Start mock server
|
|
|
44
44
|
complete -c postman -n __postman_no_subcommand -a context -d '[Beta] Get API context for AI coding agents directly from the command line.'
|
|
45
45
|
complete -c postman -n __postman_no_subcommand -a search -d 'Search for Postman element types (requests, collections, workspaces, and more).'
|
|
46
46
|
complete -c postman -n __postman_no_subcommand -a webhook -d 'Create and manage Postman webhooks.'
|
|
47
|
-
complete -c postman -n __postman_no_subcommand -a dataset -d '
|
|
47
|
+
complete -c postman -n __postman_no_subcommand -a dataset -d 'Work with Postman datasets in local YAML files or the cloud.'
|
|
48
48
|
|
|
49
49
|
# ---------- login ----------
|
|
50
50
|
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
|
|
@@ -116,8 +116,10 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
|
|
|
116
116
|
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'
|
|
117
117
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l mock -d 'Start a mock server from manifest (.json, .yaml or .yml) file' -r
|
|
118
118
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l port -d 'Port for the --mock server; pass "auto" for an OS-assigned ephemeral port (default: configured port, falls back to an ephemeral one if busy). Only valid with --mock.' -x
|
|
119
|
+
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 multiple URLs (one --use-mock per mock). Use "mock:<path>" for a local mock manifest (.json/.yaml/.yml), "mock:<id>" for a local mock by id (fetched from the cloud then run locally), or "mock-server:<id>" to redirect to a deployed mock server\'s URL. Id-based references require `postman login` (or --postman-api-key). The optional third field selects a scenario (defaults to "default"). (default: [])' -x
|
|
119
120
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l simulate -d 'Start mock servers with fault-injection scenarios from a .sim.yaml file' -r
|
|
120
|
-
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l report-events -d '
|
|
121
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l report-events -d 'Upload results for git-native v3 collection runs. Analytics are sent by default'
|
|
122
|
+
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l no-report-events -d 'Do not send analytics to Postman'
|
|
121
123
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
|
|
122
124
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l reporter-json-export -d 'Path to save the report for the given reporter.' -r
|
|
123
125
|
complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l reporter-junit-export -d 'Path to save the report for the given reporter.' -r
|
|
@@ -181,7 +183,8 @@ complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subc
|
|
|
181
183
|
complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -l ssl-extra-ca-certs -d 'Additional trusted CA certificates (PEM file, can contain multiple certs)' -r
|
|
182
184
|
complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -l metrics -d 'Enable the metrics server for health checks'
|
|
183
185
|
complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -l metrics-port -d 'Port for the metrics server (default: "9090")' -x
|
|
184
|
-
complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -l report-events -d '
|
|
186
|
+
complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -l report-events -d 'Accepted for compatibility; analytics are sent by default'
|
|
187
|
+
complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -l no-report-events -d 'Do not send analytics to Postman'
|
|
185
188
|
complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -s h -l help -d 'display help for command'
|
|
186
189
|
|
|
187
190
|
# ---------- spec ----------
|
|
@@ -192,7 +195,8 @@ complete -c postman -n '__fish_seen_subcommand_from spec' -s h -l help -d 'displ
|
|
|
192
195
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from lint' -s f -l fail-severity -d 'Results of this level or above will trigger a failure exit code. [choices: "error", "warning", "info", "hint"] (default: "ERROR")' -x
|
|
193
196
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from lint' -s o -l output -d 'Output format for the results. [choices: "json", "csv"]' -x
|
|
194
197
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from lint' -l workspace-id -d 'The workspace ID to use for fetching governance rulesets.' -x
|
|
195
|
-
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from lint' -l report-events -d '
|
|
198
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from lint' -l report-events -d 'Accepted for compatibility; analytics are sent by default'
|
|
199
|
+
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from lint' -l no-report-events -d 'Do not send analytics to Postman'
|
|
196
200
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from lint' -s h -l help -d 'display help for command'
|
|
197
201
|
# ---------- spec ai-readiness ----------
|
|
198
202
|
complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from ai-readiness' -s o -l output -d 'Output format for the results. [choices: "cli", "json", "html"]' -x
|
|
@@ -230,7 +234,8 @@ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_s
|
|
|
230
234
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -s y -l yes -d 'Skip all confirmation prompts'
|
|
231
235
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l push-strategy -d 'Push strategy. "force-sync": mirror the whole workspace — also DELETE cloud entities that have no local counterpart (destructive). Defaults to "default" (create/update only).' -x
|
|
232
236
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l verbose -d 'Show detailed logging'
|
|
233
|
-
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l report-events -d '
|
|
237
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l report-events -d 'Accepted for compatibility; analytics are sent by default'
|
|
238
|
+
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l no-report-events -d 'Do not send analytics to Postman'
|
|
234
239
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -s h -l help -d 'display help for command'
|
|
235
240
|
# ---------- workspace lint ----------
|
|
236
241
|
complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from lint' -s f -l fail-severity -d 'Exit with failure if diagnostics at this level or above are present. [choices: "error", "warning", "info", "hint"] (default: "error")' -x
|
|
@@ -323,6 +328,8 @@ complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subco
|
|
|
323
328
|
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l reporters -d 'Save a test results report to a file (supported: html)' -x
|
|
324
329
|
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -s x -l suppress-exit-code -d 'Specify whether or not to override the default exit code for the current run'
|
|
325
330
|
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l workspace -d 'Workspace ID required for flows that contain connector blocks. Find it in the Postman app URL: https://postman.com/workspace/<workspaceId>' -x
|
|
331
|
+
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l report-events -d 'Accepted for compatibility; analytics are sent by default'
|
|
332
|
+
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l no-report-events -d 'Do not send analytics to Postman'
|
|
326
333
|
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l verbose -d 'Verbose output'
|
|
327
334
|
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l debug -d 'Debug output'
|
|
328
335
|
complete -c postman -n '__fish_seen_subcommand_from flows; and __fish_seen_subcommand_from run' -l json -d 'JSON output'
|
|
@@ -371,6 +378,8 @@ complete -c postman -n '__fish_seen_subcommand_from request' -s o -l output -d '
|
|
|
371
378
|
complete -c postman -n '__fish_seen_subcommand_from request' -l verbose -d 'Show detailed request and response information including headers, body, and metadata.'
|
|
372
379
|
complete -c postman -n '__fish_seen_subcommand_from request' -l response-only -d 'suppress all output except response body. Useful for piping to other commands.'
|
|
373
380
|
complete -c postman -n '__fish_seen_subcommand_from request' -l debug -d 'Debug mode: show detailed execution information including retry attempts, redirects, and timing breakdowns.'
|
|
381
|
+
complete -c postman -n '__fish_seen_subcommand_from request' -l report-events -d 'Accepted for compatibility; analytics are sent by default'
|
|
382
|
+
complete -c postman -n '__fish_seen_subcommand_from request' -l no-report-events -d 'Do not send analytics to Postman'
|
|
374
383
|
complete -c postman -n '__fish_seen_subcommand_from request' -s h -l help -d 'display help for command'
|
|
375
384
|
complete -c postman -n '__fish_seen_subcommand_from request' -l auth-basic-username -d 'Supply authentication parameters dynamically.' -x
|
|
376
385
|
complete -c postman -n '__fish_seen_subcommand_from request' -l auth-basic-password -d 'Supply authentication parameters dynamically.' -x
|
|
@@ -530,7 +539,8 @@ complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen
|
|
|
530
539
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l capture-only -d 'Skip collection matching and tests; capture traffic and save a V3 collection organised by host'
|
|
531
540
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l output -d 'Output directory for captured collection (default: pm-results/captured/; used with --capture-only)' -r
|
|
532
541
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l force -d 'Overwrite the output directory if it exists and is not empty (used with --capture-only)'
|
|
533
|
-
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l report-events -d 'Send application test run results
|
|
542
|
+
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l report-events -d 'Send application test run results to Postman (default: true)' -x
|
|
543
|
+
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l no-report-events -d 'Do not send run results or analytics to Postman'
|
|
534
544
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -l verbose -d 'Show detailed per-request matching, sandbox errors, and debug information'
|
|
535
545
|
complete -c postman -n '__fish_seen_subcommand_from application; and __fish_seen_subcommand_from test' -s h -l help -d 'display help for command'
|
|
536
546
|
# ---------- application setup-capture ----------
|
|
@@ -703,13 +713,13 @@ complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_sub
|
|
|
703
713
|
complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from forward' -s h -l help -d 'display help for command'
|
|
704
714
|
|
|
705
715
|
# ---------- dataset ----------
|
|
706
|
-
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a list -d '
|
|
707
|
-
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a get -d '
|
|
708
|
-
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a query -d '
|
|
709
|
-
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a create -d '
|
|
710
|
-
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a delete -d '
|
|
711
|
-
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a source -d '
|
|
712
|
-
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a view -d '
|
|
716
|
+
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a list -d 'List local dataset YAMLs under a path, or (no path) a workspace\'s cloud datasets.'
|
|
717
|
+
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a get -d 'Print a dataset\'s metadata and structure summary (local YAML path or cloud id).'
|
|
718
|
+
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a query -d 'Run an ad-hoc SQL query against a dataset (local YAML path or cloud id).'
|
|
719
|
+
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a create -d 'Scaffold a new .dataset.yaml at <path>, or (no path, with -w) create a cloud dataset.'
|
|
720
|
+
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a delete -d 'Permanently remove a dataset: a local .dataset.yaml or a cloud dataset id.'
|
|
721
|
+
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a source -d 'Inspect and manage a dataset\'s datasources.'
|
|
722
|
+
complete -c postman -n '__postman_using_subcommand dataset list get query create delete source view' -a view -d 'Inspect and manage saved views on a dataset.'
|
|
713
723
|
complete -c postman -n '__fish_seen_subcommand_from dataset' -s h -l help -d 'display help for command'
|
|
714
724
|
# ---------- dataset list ----------
|
|
715
725
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from list' -s w -l workspace -d 'Postman workspace ID (cloud list)' -x
|
|
@@ -744,10 +754,10 @@ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_sub
|
|
|
744
754
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from delete' -l api-key -d 'Postman API key (defaults to the `postman login` session)' -r
|
|
745
755
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
|
|
746
756
|
# ---------- dataset source ----------
|
|
747
|
-
complete -c postman -n '__postman_using_subcommand source list add remove update' -a list -d '
|
|
748
|
-
complete -c postman -n '__postman_using_subcommand source list add remove update' -a add -d '
|
|
749
|
-
complete -c postman -n '__postman_using_subcommand source list add remove update' -a remove -d '
|
|
750
|
-
complete -c postman -n '__postman_using_subcommand source list add remove update' -a update -d '
|
|
757
|
+
complete -c postman -n '__postman_using_subcommand source list add remove update' -a list -d 'List the datasources defined on a dataset (local YAML path or cloud id).'
|
|
758
|
+
complete -c postman -n '__postman_using_subcommand source list add remove update' -a add -d 'Add a datasource to a dataset.'
|
|
759
|
+
complete -c postman -n '__postman_using_subcommand source list add remove update' -a remove -d 'Remove a datasource from a dataset (local YAML path or cloud id).'
|
|
760
|
+
complete -c postman -n '__postman_using_subcommand source list add remove update' -a update -d 'Update fields on an existing datasource. Only the flags you provide are changed.'
|
|
751
761
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source' -s h -l help -d 'display help for command'
|
|
752
762
|
# ---------- dataset source list ----------
|
|
753
763
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from list' -s d -l dataset -d 'Dataset whose sources to list — a local .dataset.yaml path or a cloud dataset id' -x
|
|
@@ -820,11 +830,11 @@ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_sub
|
|
|
820
830
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -l api-key -d 'Postman API key (defaults to the `postman login` session)' -r
|
|
821
831
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from source; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
|
|
822
832
|
# ---------- dataset view ----------
|
|
823
|
-
complete -c postman -n '__postman_using_subcommand view list run create delete update' -a list -d '
|
|
824
|
-
complete -c postman -n '__postman_using_subcommand view list run create delete update' -a run -d '
|
|
825
|
-
complete -c postman -n '__postman_using_subcommand view list run create delete update' -a create -d '
|
|
826
|
-
complete -c postman -n '__postman_using_subcommand view list run create delete update' -a delete -d '
|
|
827
|
-
complete -c postman -n '__postman_using_subcommand view list run create delete update' -a update -d '
|
|
833
|
+
complete -c postman -n '__postman_using_subcommand view list run create delete update' -a list -d 'List the saved views defined on a dataset (local YAML path or cloud id).'
|
|
834
|
+
complete -c postman -n '__postman_using_subcommand view list run create delete update' -a run -d 'Execute a saved view against a dataset and print the rows.'
|
|
835
|
+
complete -c postman -n '__postman_using_subcommand view list run create delete update' -a create -d 'Add a saved view to a dataset (local YAML path or cloud id).'
|
|
836
|
+
complete -c postman -n '__postman_using_subcommand view list run create delete update' -a delete -d 'Remove a saved view from a dataset (local YAML path or cloud id).'
|
|
837
|
+
complete -c postman -n '__postman_using_subcommand view list run create delete update' -a update -d 'Update name and/or query on an existing view (local YAML path or cloud id).'
|
|
828
838
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from view' -s h -l help -d 'display help for command'
|
|
829
839
|
# ---------- dataset view list ----------
|
|
830
840
|
complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from view; and __fish_seen_subcommand_from list' -s d -l dataset -d 'Dataset whose views to list — a local .dataset.yaml path or a cloud dataset id' -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.52.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
|
|
@@ -72,7 +72,7 @@ _postman_commands() {
|
|
|
72
72
|
'context:\[Beta\] Get API context for AI coding agents directly from the command line.'
|
|
73
73
|
'search:Search for Postman element types (requests, collections, workspaces, and more).'
|
|
74
74
|
'webhook:Create and manage Postman webhooks.'
|
|
75
|
-
'dataset
|
|
75
|
+
'dataset:Work with Postman datasets in local YAML files or the cloud.'
|
|
76
76
|
)
|
|
77
77
|
_describe -t commands 'postman command' commands
|
|
78
78
|
}
|
|
@@ -185,8 +185,10 @@ _postman_collection_run() {
|
|
|
185
185
|
'--verbose[Show detailed information of collection run and each request sent]' \
|
|
186
186
|
'--mock[Start a mock server from manifest (.json, .yaml or .yml) file]:path:_files -g "*.json"' \
|
|
187
187
|
'--port[Port for the --mock server; pass "auto" for an OS-assigned ephemeral port (default\: configured port, falls back to an ephemeral one if busy). Only valid with --mock.]:port' \
|
|
188
|
+
'--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 multiple URLs (one --use-mock per mock). Use "mock\:<path>" for a local mock manifest (.json/.yaml/.yml), "mock\:<id>" for a local mock by id (fetched from the cloud then run locally), or "mock-server\:<id>" to redirect to a deployed mock server'\''s URL. Id-based references require `postman login` (or --postman-api-key). The optional third field selects a scenario (defaults to "default"). (default\: \[\])]:mapping' \
|
|
188
189
|
'--simulate[Start mock servers with fault-injection scenarios from a .sim.yaml file]:path:_files -g "*.(sim.yaml|yaml|yml)"' \
|
|
189
|
-
'--report-events[
|
|
190
|
+
'--report-events[Upload results for git-native v3 collection runs. Analytics are sent by default]' \
|
|
191
|
+
'--no-report-events[Do not send analytics to Postman]' \
|
|
190
192
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
191
193
|
'--reporter-json-export[Path to save the report for the given reporter.]:value:_files -g "*.(json|xml|html)"' \
|
|
192
194
|
'--reporter-junit-export[Path to save the report for the given reporter.]:value:_files -g "*.(json|xml|html)"' \
|
|
@@ -348,7 +350,8 @@ _postman_runner_start() {
|
|
|
348
350
|
'--ssl-extra-ca-certs[Additional trusted CA certificates (PEM file, can contain multiple certs)]:path:_files -g "*.(pem|crt|key)"' \
|
|
349
351
|
'--metrics[Enable the metrics server for health checks]' \
|
|
350
352
|
'--metrics-port[Port for the metrics server (default\: "9090")]:port' \
|
|
351
|
-
'--report-events[
|
|
353
|
+
'--report-events[Accepted for compatibility; analytics are sent by default]' \
|
|
354
|
+
'--no-report-events[Do not send analytics to Postman]' \
|
|
352
355
|
'(-h --help)'{-h,--help}'[display help for command]'
|
|
353
356
|
}
|
|
354
357
|
|
|
@@ -383,7 +386,8 @@ _postman_spec_lint() {
|
|
|
383
386
|
'(-f --fail-severity)'{-f,--fail-severity}'[Results of this level or above will trigger a failure exit code. \[choices\: "error", "warning", "info", "hint"\] (default\: "ERROR")]:value' \
|
|
384
387
|
'(-o --output)'{-o,--output}'[Output format for the results. \[choices\: "json", "csv"\]]:value' \
|
|
385
388
|
'--workspace-id[The workspace ID to use for fetching governance rulesets.]:value' \
|
|
386
|
-
'--report-events[
|
|
389
|
+
'--report-events[Accepted for compatibility; analytics are sent by default]' \
|
|
390
|
+
'--no-report-events[Do not send analytics to Postman]' \
|
|
387
391
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
388
392
|
'*:spec:'
|
|
389
393
|
}
|
|
@@ -484,7 +488,8 @@ _postman_workspace_push() {
|
|
|
484
488
|
'(-y --yes)'{-y,--yes}'[Skip all confirmation prompts]' \
|
|
485
489
|
'--push-strategy[Push strategy. "force-sync"\: mirror the whole workspace — also DELETE cloud entities that have no local counterpart (destructive). Defaults to "default" (create/update only).]:strategy' \
|
|
486
490
|
'--verbose[Show detailed logging]' \
|
|
487
|
-
'--report-events[
|
|
491
|
+
'--report-events[Accepted for compatibility; analytics are sent by default]' \
|
|
492
|
+
'--no-report-events[Do not send analytics to Postman]' \
|
|
488
493
|
'(-h --help)'{-h,--help}'[display help for command]'
|
|
489
494
|
}
|
|
490
495
|
|
|
@@ -650,6 +655,8 @@ _postman_flows_run() {
|
|
|
650
655
|
'--reporters[Save a test results report to a file (supported\: html)]:format' \
|
|
651
656
|
'(-x --suppress-exit-code)'{-x,--suppress-exit-code}'[Specify whether or not to override the default exit code for the current run]' \
|
|
652
657
|
'--workspace[Workspace ID required for flows that contain connector blocks. Find it in the Postman app URL\: https\://postman.com/workspace/<workspaceId>]:workspaceId' \
|
|
658
|
+
'--report-events[Accepted for compatibility; analytics are sent by default]' \
|
|
659
|
+
'--no-report-events[Do not send analytics to Postman]' \
|
|
653
660
|
'--verbose[Verbose output]' \
|
|
654
661
|
'--debug[Debug output]' \
|
|
655
662
|
'--json[JSON output]' \
|
|
@@ -710,6 +717,8 @@ _postman_request() {
|
|
|
710
717
|
'--verbose[Show detailed request and response information including headers, body, and metadata.]' \
|
|
711
718
|
'--response-only[suppress all output except response body. Useful for piping to other commands.]' \
|
|
712
719
|
'--debug[Debug mode\: show detailed execution information including retry attempts, redirects, and timing breakdowns.]' \
|
|
720
|
+
'--report-events[Accepted for compatibility; analytics are sent by default]' \
|
|
721
|
+
'--no-report-events[Do not send analytics to Postman]' \
|
|
713
722
|
'(-h --help)'{-h,--help}'[display help for command]' \
|
|
714
723
|
'--auth-basic-username[Supply authentication parameters dynamically.]:value' \
|
|
715
724
|
'--auth-basic-password[Supply authentication parameters dynamically.]:value' \
|
|
@@ -1016,7 +1025,8 @@ _postman_application_test() {
|
|
|
1016
1025
|
'--capture-only[Skip collection matching and tests; capture traffic and save a V3 collection organised by host]' \
|
|
1017
1026
|
'--output[Output directory for captured collection (default\: pm-results/captured/; used with --capture-only)]:path:_files -g "*.json"' \
|
|
1018
1027
|
'--force[Overwrite the output directory if it exists and is not empty (used with --capture-only)]' \
|
|
1019
|
-
'--report-events[Send application test run results
|
|
1028
|
+
'--report-events[Send application test run results to Postman (default\: true)]:boolean' \
|
|
1029
|
+
'--no-report-events[Do not send run results or analytics to Postman]' \
|
|
1020
1030
|
'--verbose[Show detailed per-request matching, sandbox errors, and debug information]' \
|
|
1021
1031
|
'(-h --help)'{-h,--help}'[display help for command]'
|
|
1022
1032
|
}
|
|
@@ -1591,13 +1601,13 @@ _postman_dataset() {
|
|
|
1591
1601
|
_postman_dataset_commands() {
|
|
1592
1602
|
local -a sub
|
|
1593
1603
|
sub=(
|
|
1594
|
-
'list
|
|
1595
|
-
'get
|
|
1596
|
-
'query
|
|
1597
|
-
'create
|
|
1598
|
-
'delete
|
|
1599
|
-
'source
|
|
1600
|
-
'view
|
|
1604
|
+
'list:List local dataset YAMLs under a path, or (no path) a workspace'\''s cloud datasets.'
|
|
1605
|
+
'get:Print a dataset'\''s metadata and structure summary (local YAML path or cloud id).'
|
|
1606
|
+
'query:Run an ad-hoc SQL query against a dataset (local YAML path or cloud id).'
|
|
1607
|
+
'create:Scaffold a new .dataset.yaml at <path>, or (no path, with -w) create a cloud dataset.'
|
|
1608
|
+
'delete:Permanently remove a dataset\: a local .dataset.yaml or a cloud dataset id.'
|
|
1609
|
+
'source:Inspect and manage a dataset'\''s datasources.'
|
|
1610
|
+
'view:Inspect and manage saved views on a dataset.'
|
|
1601
1611
|
)
|
|
1602
1612
|
_describe -t commands 'dataset command' sub
|
|
1603
1613
|
}
|
|
@@ -1674,10 +1684,10 @@ _postman_dataset_source() {
|
|
|
1674
1684
|
_postman_dataset_source_commands() {
|
|
1675
1685
|
local -a sub
|
|
1676
1686
|
sub=(
|
|
1677
|
-
'list
|
|
1678
|
-
'add
|
|
1679
|
-
'remove
|
|
1680
|
-
'update
|
|
1687
|
+
'list:List the datasources defined on a dataset (local YAML path or cloud id).'
|
|
1688
|
+
'add:Add a datasource to a dataset.'
|
|
1689
|
+
'remove:Remove a datasource from a dataset (local YAML path or cloud id).'
|
|
1690
|
+
'update:Update fields on an existing datasource. Only the flags you provide are changed.'
|
|
1681
1691
|
)
|
|
1682
1692
|
_describe -t commands 'source command' sub
|
|
1683
1693
|
}
|
|
@@ -1790,11 +1800,11 @@ _postman_dataset_view() {
|
|
|
1790
1800
|
_postman_dataset_view_commands() {
|
|
1791
1801
|
local -a sub
|
|
1792
1802
|
sub=(
|
|
1793
|
-
'list
|
|
1794
|
-
'run
|
|
1795
|
-
'create
|
|
1796
|
-
'delete
|
|
1797
|
-
'update
|
|
1803
|
+
'list:List the saved views defined on a dataset (local YAML path or cloud id).'
|
|
1804
|
+
'run:Execute a saved view against a dataset and print the rows.'
|
|
1805
|
+
'create:Add a saved view to a dataset (local YAML path or cloud id).'
|
|
1806
|
+
'delete:Remove a saved view from a dataset (local YAML path or cloud id).'
|
|
1807
|
+
'update:Update name and/or query on an existing view (local YAML path or cloud id).'
|
|
1798
1808
|
)
|
|
1799
1809
|
_describe -t commands 'view command' sub
|
|
1800
1810
|
}
|