postman-cli-completion 1.88.0 → 1.91.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.88.0)
1
+ # Bash completion for Postman CLI (postman v1.91.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
@@ -172,7 +172,7 @@ _postman_collection_migrate() {
172
172
 
173
173
  _postman_collection_lint() {
174
174
  if [[ "$cur" == -* ]]; then
175
- COMPREPLY=( $(compgen -W "-f --fail-severity -r --reporter -h --help" -- "$cur") )
175
+ COMPREPLY=( $(compgen -W "-f --fail-severity -r --reporter --readyapi --allow-pending -h --help" -- "$cur") )
176
176
  return 0
177
177
  fi
178
178
  case "$prev" in
@@ -510,7 +510,7 @@ _postman_collection_list() {
510
510
 
511
511
  _postman_collection_run() {
512
512
  if [[ "$cur" == -* ]]; then
513
- COMPREPLY=( $(compgen -W "-e --environment -g --globals --output -n --iteration-count -d --iteration-data --iteration-data-dataset --iteration-data-view --dataset -i --global-var --env-var --integration-id --postman-api-key --alias --bail --ignore-redirects -x --suppress-exit-code --silent --disable-unicode --delay-request --timeout --timeout-request --timeout-script --working-dir --no-insecure-file-read -k --insecure --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase --ssl-extra-ca-certs --cookie-jar --export-cookie-jar --verbose --port --use-mock --simulation -w --workspace --report-events --no-report-events -h --help" -- "$cur") )
513
+ COMPREPLY=( $(compgen -W "-e --environment -g --globals --output -n --iteration-count -d --iteration-data --iteration-data-dataset --iteration-data-view --dataset -i --global-var --env-var --integration-id --postman-api-key --alias --bail --ignore-redirects -x --suppress-exit-code --silent --disable-unicode --delay-request --timeout --timeout-request --timeout-script --working-dir --no-insecure-file-read -k --insecure --allow-stdio --ssl-client-cert-list --ssl-client-cert --ssl-client-key --ssl-client-passphrase --ssl-extra-ca-certs --cookie-jar --export-cookie-jar --verbose --port --use-mock --simulation -w --workspace --report-events --no-report-events -h --help" -- "$cur") )
514
514
  return 0
515
515
  fi
516
516
  case "$prev" in
@@ -2507,7 +2507,7 @@ _postman_search() {
2507
2507
  if [[ "$cur" == -* ]]; then
2508
2508
  COMPREPLY=( $(compgen -W "--ownership -n --limit --cursor -o --output --filter --filter-json -h --help" -- "$cur") )
2509
2509
  else
2510
- COMPREPLY=( $(compgen -W "requests collections workspaces flows specs mocks environments documents" -- "$cur") )
2510
+ COMPREPLY=( $(compgen -W "requests collections workspaces flows specs mocks environments documents datasets" -- "$cur") )
2511
2511
  fi
2512
2512
  return 0
2513
2513
  fi
@@ -2520,6 +2520,7 @@ _postman_search() {
2520
2520
  mocks) _postman_search_mocks ;;
2521
2521
  environments) _postman_search_environments ;;
2522
2522
  documents) _postman_search_documents ;;
2523
+ datasets) _postman_search_datasets ;;
2523
2524
  esac
2524
2525
  }
2525
2526
 
@@ -2579,6 +2580,13 @@ _postman_search_documents() {
2579
2580
  fi
2580
2581
  }
2581
2582
 
2583
+ _postman_search_datasets() {
2584
+ if [[ "$cur" == -* ]]; then
2585
+ COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
2586
+ return 0
2587
+ fi
2588
+ }
2589
+
2582
2590
  _postman_skills() {
2583
2591
  if [[ -z "$subcmd" ]]; then
2584
2592
  if [[ "$cur" == -* ]]; then
@@ -2612,7 +2620,7 @@ _postman_skills_update() {
2612
2620
 
2613
2621
  _postman_login() {
2614
2622
  if [[ "$cur" == -* ]]; then
2615
- COMPREPLY=( $(compgen -W "--alias --with-api-key --region --migrate-guest-workspace --no-migrate-guest-workspace --verbose -h --help" -- "$cur") )
2623
+ COMPREPLY=( $(compgen -W "--alias --with-api-key --region --claim --no-claim --verbose -h --help" -- "$cur") )
2616
2624
  return 0
2617
2625
  fi
2618
2626
  case "$prev" in
@@ -2790,7 +2798,7 @@ _postman_mcp() {
2790
2798
  if [[ "$cur" == -* ]]; then
2791
2799
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
2792
2800
  else
2793
- COMPREPLY=( $(compgen -W "inspect tools resources prompts" -- "$cur") )
2801
+ COMPREPLY=( $(compgen -W "inspect tools resources prompts login logout credentials" -- "$cur") )
2794
2802
  fi
2795
2803
  return 0
2796
2804
  fi
@@ -2799,12 +2807,15 @@ _postman_mcp() {
2799
2807
  tools) _postman_mcp_tools ;;
2800
2808
  resources) _postman_mcp_resources ;;
2801
2809
  prompts) _postman_mcp_prompts ;;
2810
+ login) _postman_mcp_login ;;
2811
+ logout) _postman_mcp_logout ;;
2812
+ credentials) _postman_mcp_credentials ;;
2802
2813
  esac
2803
2814
  }
2804
2815
 
2805
2816
  _postman_mcp_inspect() {
2806
2817
  if [[ "$cur" == -* ]]; then
2807
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2818
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2808
2819
  return 0
2809
2820
  fi
2810
2821
  case "$prev" in
@@ -2843,7 +2854,7 @@ _postman_mcp_tools() {
2843
2854
 
2844
2855
  _postman_mcp_tools_list() {
2845
2856
  if [[ "$cur" == -* ]]; then
2846
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2857
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2847
2858
  return 0
2848
2859
  fi
2849
2860
  case "$prev" in
@@ -2867,7 +2878,7 @@ _postman_mcp_tools_list() {
2867
2878
 
2868
2879
  _postman_mcp_tools_call() {
2869
2880
  if [[ "$cur" == -* ]]; then
2870
- COMPREPLY=( $(compgen -W "--args --arg --json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2881
+ COMPREPLY=( $(compgen -W "--args --arg --json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2871
2882
  return 0
2872
2883
  fi
2873
2884
  case "$prev" in
@@ -2910,7 +2921,7 @@ _postman_mcp_resources() {
2910
2921
 
2911
2922
  _postman_mcp_resources_list() {
2912
2923
  if [[ "$cur" == -* ]]; then
2913
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2924
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2914
2925
  return 0
2915
2926
  fi
2916
2927
  case "$prev" in
@@ -2948,7 +2959,7 @@ _postman_mcp_resources_templates() {
2948
2959
 
2949
2960
  _postman_mcp_resources_templates_list() {
2950
2961
  if [[ "$cur" == -* ]]; then
2951
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2962
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2952
2963
  return 0
2953
2964
  fi
2954
2965
  case "$prev" in
@@ -2972,7 +2983,7 @@ _postman_mcp_resources_templates_list() {
2972
2983
 
2973
2984
  _postman_mcp_resources_read() {
2974
2985
  if [[ "$cur" == -* ]]; then
2975
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
2986
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
2976
2987
  return 0
2977
2988
  fi
2978
2989
  case "$prev" in
@@ -3011,7 +3022,7 @@ _postman_mcp_prompts() {
3011
3022
 
3012
3023
  _postman_mcp_prompts_list() {
3013
3024
  if [[ "$cur" == -* ]]; then
3014
- COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
3025
+ COMPREPLY=( $(compgen -W "--json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
3015
3026
  return 0
3016
3027
  fi
3017
3028
  case "$prev" in
@@ -3035,7 +3046,7 @@ _postman_mcp_prompts_list() {
3035
3046
 
3036
3047
  _postman_mcp_prompts_get() {
3037
3048
  if [[ "$cur" == -* ]]; then
3038
- COMPREPLY=( $(compgen -W "--args --arg --json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var -h --help" -- "$cur") )
3049
+ COMPREPLY=( $(compgen -W "--args --arg --json --debug --request --url -H --header --transport --command --command-env --allow-stdio -k --insecure --timeout-request --protocol-version -e --environment --env-var --login --no-login -h --help" -- "$cur") )
3039
3050
  return 0
3040
3051
  fi
3041
3052
  case "$prev" in
@@ -3060,6 +3071,52 @@ _postman_mcp_prompts_get() {
3060
3071
  esac
3061
3072
  }
3062
3073
 
3074
+ _postman_mcp_login() {
3075
+ if [[ "$cur" == -* ]]; then
3076
+ COMPREPLY=( $(compgen -W "--scope --client-id --client-secret --callback-port --no-browser -H --header -k --insecure --timeout-request --debug --request --url -e --environment --env-var --json -h --help" -- "$cur") )
3077
+ return 0
3078
+ fi
3079
+ case "$prev" in
3080
+ -H|--header)
3081
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3082
+ return 0 ;;
3083
+ --request)
3084
+ _postman_filematch '!*.@(json)' "$cur"
3085
+ return 0 ;;
3086
+ -e|--environment)
3087
+ _postman_filematch '!*.@(json)' "$cur"
3088
+ return 0 ;;
3089
+ --env-var)
3090
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3091
+ return 0 ;;
3092
+ esac
3093
+ }
3094
+
3095
+ _postman_mcp_logout() {
3096
+ if [[ "$cur" == -* ]]; then
3097
+ COMPREPLY=( $(compgen -W "--all -y --yes --no-revoke -k --insecure --timeout-request --debug --request --url -e --environment --env-var --json -h --help" -- "$cur") )
3098
+ return 0
3099
+ fi
3100
+ case "$prev" in
3101
+ --request)
3102
+ _postman_filematch '!*.@(json)' "$cur"
3103
+ return 0 ;;
3104
+ -e|--environment)
3105
+ _postman_filematch '!*.@(json)' "$cur"
3106
+ return 0 ;;
3107
+ --env-var)
3108
+ _postman_filematch '!*.@(pem|crt|key)' "$cur"
3109
+ return 0 ;;
3110
+ esac
3111
+ }
3112
+
3113
+ _postman_mcp_credentials() {
3114
+ if [[ "$cur" == -* ]]; then
3115
+ COMPREPLY=( $(compgen -W "--json -h --help" -- "$cur") )
3116
+ return 0
3117
+ fi
3118
+ }
3119
+
3063
3120
  _postman_performance() {
3064
3121
  if [[ -z "$subcmd" ]]; then
3065
3122
  if [[ "$cur" == -* ]]; then
@@ -3541,7 +3598,7 @@ _postman_webhook_scripts_set() {
3541
3598
 
3542
3599
  _postman_webhook_forward() {
3543
3600
  if [[ "$cur" == -* ]]; then
3544
- COMPREPLY=( $(compgen -W "-w --workspace --api-key -h --help" -- "$cur") )
3601
+ COMPREPLY=( $(compgen -W "--https -w --workspace --api-key -h --help" -- "$cur") )
3545
3602
  return 0
3546
3603
  fi
3547
3604
  case "$prev" in
@@ -1,4 +1,4 @@
1
- # Fish completion for Postman CLI (postman v1.88.0)
1
+ # Fish completion for Postman CLI (postman v1.91.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
@@ -50,7 +50,7 @@ complete -c postman -n __postman_no_subcommand -a application -d 'Application-le
50
50
  complete -c postman -n __postman_no_subcommand -a app -d 'Alias for application'
51
51
  complete -c postman -n __postman_no_subcommand -a dependency -d 'Manage workspace dependencies reused from other workspaces'
52
52
  complete -c postman -n __postman_no_subcommand -a feedback -d 'Submit feedback about CLI usability, gaps, and improvements'
53
- complete -c postman -n __postman_no_subcommand -a mcp -d 'Explore MCP servers: inspect them, list and call tools, read resources, and get prompts'
53
+ complete -c postman -n __postman_no_subcommand -a mcp -d 'Explore MCP servers: inspect them, list and call tools, read resources, get prompts, and sign in to servers that use OAuth'
54
54
  complete -c postman -n __postman_no_subcommand -a performance -d 'Manage performance tests on your collections'
55
55
  complete -c postman -n __postman_no_subcommand -a secret -d 'Create and manage Postman secrets in a team\'s shared vault'
56
56
  complete -c postman -n __postman_no_subcommand -a simulation -d 'Create, run and manage simulations'
@@ -91,7 +91,7 @@ complete -c postman -n '__postman_using_subcommand collection new migrate lint a
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 request -d 'Add, get, update, or remove requests in a local v3 collection.'
92
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 folder -d 'Add, get, update, or remove folders in a local v3 collection.'
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 example -d 'Add, update, remove, get, or list examples (saved responses) under a request.'
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 import -d 'Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or cloud 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 import -d 'Import a cURL, HAR, JMeter (.jmx), or ReadyAPI/SoapUI (.xml) source into a v3 collection (local, or cloud with --workspace).'
95
95
  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.'
96
96
  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.'
97
97
  complete -c postman -n '__fish_seen_subcommand_from collection' -s h -l help -d 'display help for command'
@@ -109,6 +109,8 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
109
109
  # ---------- collection lint ----------
110
110
  complete -c postman -n '__fish_seen_subcommand_from collection; 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"] (default: "error")' -x
111
111
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -s r -l reporter -d 'Output format: cli (human-readable) or json. (default: "cli")' -x
112
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -l readyapi -d 'Lint a ReadyAPI-imported collection: every script parses as JavaScript, uses only real pm.* APIs, and has no unresolved Groovy placeholder.'
113
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -l allow-pending -d 'With --readyapi, treat un-translated Groovy placeholders as warnings, not errors.'
112
114
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -s h -l help -d 'display help for command'
113
115
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from lint' -r -k -a '(__fish_complete_suffix .json)'
114
116
  # ---------- collection ai-readiness ----------
@@ -318,7 +320,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
318
320
  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.'
319
321
  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'
320
322
  # ---------- collection import ----------
321
- 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
323
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from import' -l type -d 'Source format: curl, har, jmeter, or readyapi. Auto-detected from the extension/content when omitted.' -x
322
324
  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
323
325
  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
324
326
  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
@@ -361,6 +363,7 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
361
363
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l working-dir -d 'Specify the path to the working directory' -x
362
364
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l no-insecure-file-read -d 'Prevents reading the files situated outside of the working directory'
363
365
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s k -l insecure -d 'Disables SSL validations'
366
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l allow-stdio -d 'Allow MCP requests on the stdio transport to start their local server process'
364
367
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l ssl-client-cert-list -d 'Specify the path to a client certificates configurations (JSON)' -r
365
368
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l ssl-client-cert -d 'Specify the path to a client certificate (PEM)' -r
366
369
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l ssl-client-key -d 'Specify the path to a client certificate private key' -r
@@ -1574,14 +1577,15 @@ complete -c postman -n '__fish_seen_subcommand_from init' -s h -l help -d 'displ
1574
1577
  complete -c postman -n '__fish_seen_subcommand_from init' -r -k -a '(__fish_complete_suffix .json)'
1575
1578
 
1576
1579
  # ---------- search ----------
1577
- complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a requests -d 'Search for requests by name or keyword.'
1578
- complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a collections -d 'Search for collections by name or keyword.'
1579
- complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a workspaces -d 'Search for workspaces by name or keyword.'
1580
- complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a flows -d 'Search for flows by name or keyword.'
1581
- complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a specs -d 'Search for API specs by name or keyword.'
1582
- complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a mocks -d 'Search for mocks by name or keyword.'
1583
- complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a environments -d 'Search for environments by name or keyword.'
1584
- complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents' -a documents -d 'Search for documents by name or keyword.'
1580
+ complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents datasets' -a requests -d 'Search for requests by name or keyword.'
1581
+ complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents datasets' -a collections -d 'Search for collections by name or keyword.'
1582
+ complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents datasets' -a workspaces -d 'Search for workspaces by name or keyword.'
1583
+ complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents datasets' -a flows -d 'Search for flows by name or keyword.'
1584
+ complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents datasets' -a specs -d 'Search for API specs by name or keyword.'
1585
+ complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents datasets' -a mocks -d 'Search for mocks by name or keyword.'
1586
+ complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents datasets' -a environments -d 'Search for environments by name or keyword.'
1587
+ complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents datasets' -a documents -d 'Search for documents by name or keyword.'
1588
+ complete -c postman -n '__postman_using_subcommand search requests collections workspaces flows specs mocks environments documents datasets' -a datasets -d 'Search for datasets by name or keyword.'
1585
1589
  complete -c postman -n '__fish_seen_subcommand_from search' -l ownership -d 'Ownership: organization (or org), external, all (default: "organization")' -x
1586
1590
  complete -c postman -n '__fish_seen_subcommand_from search' -s n -l limit -d 'Max results per page. Max allowed limit: 25 (default: 10)' -x
1587
1591
  complete -c postman -n '__fish_seen_subcommand_from search' -l cursor -d 'Cursor for pagination' -x
@@ -1605,6 +1609,8 @@ complete -c postman -n '__fish_seen_subcommand_from search; and __fish_seen_subc
1605
1609
  complete -c postman -n '__fish_seen_subcommand_from search; and __fish_seen_subcommand_from environments' -s h -l help -d 'display help for command'
1606
1610
  # ---------- search documents ----------
1607
1611
  complete -c postman -n '__fish_seen_subcommand_from search; and __fish_seen_subcommand_from documents' -s h -l help -d 'display help for command'
1612
+ # ---------- search datasets ----------
1613
+ complete -c postman -n '__fish_seen_subcommand_from search; and __fish_seen_subcommand_from datasets' -s h -l help -d 'display help for command'
1608
1614
 
1609
1615
  # ---------- skills ----------
1610
1616
  complete -c postman -n '__postman_using_subcommand skills status update' -a status -d 'Report whether this repository\'s skills are up to date.'
@@ -1626,8 +1632,8 @@ complete -c postman -n '__fish_seen_subcommand_from skills; and __fish_seen_subc
1626
1632
  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
1627
1633
  complete -c postman -n '__fish_seen_subcommand_from login' -l with-api-key -d 'Specify the API key directly.' -x
1628
1634
  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'
1629
- 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).'
1630
- 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.'
1635
+ complete -c postman -n '__fish_seen_subcommand_from login' -l claim -d 'Move the work from your temporary session on this machine into the team you sign in to, without asking. Needed to move it when there is no terminal to ask in (an agent, CI, a pipe).'
1636
+ complete -c postman -n '__fish_seen_subcommand_from login' -l no-claim -d 'Don\'t move the work from your temporary session on this machine, and don\'t ask. By default you are asked once you have signed in.'
1631
1637
  complete -c postman -n '__fish_seen_subcommand_from login' -l verbose -d 'Show detailed error information'
1632
1638
  complete -c postman -n '__fish_seen_subcommand_from login' -s h -l help -d 'display help for command'
1633
1639
 
@@ -1722,10 +1728,13 @@ complete -c postman -n '__fish_seen_subcommand_from feedback' -l json -d 'Print
1722
1728
  complete -c postman -n '__fish_seen_subcommand_from feedback' -s h -l help -d 'display help for command'
1723
1729
 
1724
1730
  # ---------- mcp ----------
1725
- complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a inspect -d 'Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates and prompts (initialize, then every */list)'
1726
- complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a tools -d 'List and call the tools an MCP server offers'
1727
- complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a resources -d 'List and read the resources an MCP server offers'
1728
- complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts' -a prompts -d 'List and get the prompts an MCP server offers'
1731
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a inspect -d 'Show what an MCP server reports at initialize: capabilities and counts of tools, resources, resource templates and prompts (initialize, then every */list)'
1732
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a tools -d 'List and call the tools an MCP server offers'
1733
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a resources -d 'List and read the resources an MCP server offers'
1734
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a prompts -d 'List and get the prompts an MCP server offers'
1735
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a login -d 'Sign in to an MCP server that uses OAuth, in a browser, and store the token every postman mcp command then sends to it'
1736
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a logout -d 'Remove the credentials postman mcp login stored for an MCP server, and revoke them at its authorization server'
1737
+ complete -c postman -n '__postman_using_subcommand mcp inspect tools resources prompts login logout credentials' -a credentials -d 'List the sign-ins postman mcp login stored: server, issuer, client, scopes, expiry and whether they refresh. Never shows a token or secret'
1729
1738
  complete -c postman -n '__fish_seen_subcommand_from mcp' -s h -l help -d 'display help for command'
1730
1739
  # ---------- mcp inspect ----------
1731
1740
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l json -d 'Print the report as JSON'
@@ -1742,6 +1751,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1742
1751
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1743
1752
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1744
1753
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1754
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1755
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1745
1756
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from inspect' -s h -l help -d 'display help for command'
1746
1757
  # ---------- mcp tools ----------
1747
1758
  complete -c postman -n '__postman_using_subcommand tools list call' -a list -d 'List the tools an MCP server offers (tools/list)'
@@ -1762,6 +1773,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1762
1773
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1763
1774
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1764
1775
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1776
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1777
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1765
1778
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1766
1779
  # ---------- mcp tools call ----------
1767
1780
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l args -d 'Tool arguments as a JSON object, @path to a JSON file, or - for stdin. Defaults to the --request message\'s saved arguments for the same tool' -x
@@ -1780,6 +1793,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1780
1793
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1781
1794
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1782
1795
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1796
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1797
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1783
1798
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from tools; and __fish_seen_subcommand_from call' -s h -l help -d 'display help for command'
1784
1799
  # ---------- mcp resources ----------
1785
1800
  complete -c postman -n '__postman_using_subcommand resources list templates read' -a list -d 'List the resources an MCP server offers (resources/list)'
@@ -1801,6 +1816,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1801
1816
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1802
1817
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1803
1818
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1819
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1820
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1804
1821
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1805
1822
  # ---------- mcp resources templates ----------
1806
1823
  complete -c postman -n '__postman_using_subcommand templates list' -a list -d 'List the resource templates an MCP server offers (resources/templates/list)'
@@ -1820,6 +1837,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1820
1837
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1821
1838
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1822
1839
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1840
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1841
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1823
1842
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from templates; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1824
1843
  # ---------- mcp resources read ----------
1825
1844
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l json -d 'Print the ReadResourceResult as JSON (blob contents stay base64)'
@@ -1836,6 +1855,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1836
1855
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1837
1856
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1838
1857
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1858
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1859
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1839
1860
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from resources; and __fish_seen_subcommand_from read' -s h -l help -d 'display help for command'
1840
1861
  # ---------- mcp prompts ----------
1841
1862
  complete -c postman -n '__postman_using_subcommand prompts list get' -a list -d 'List the prompts an MCP server offers (prompts/list)'
@@ -1856,6 +1877,8 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1856
1877
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1857
1878
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1858
1879
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1880
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1881
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1859
1882
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1860
1883
  # ---------- mcp prompts get ----------
1861
1884
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l args -d 'Prompt arguments as a JSON object of strings, @path, or - for stdin' -x
@@ -1874,7 +1897,41 @@ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcomm
1874
1897
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l protocol-version -d 'Protocol version negotiation (default: auto) (choices: "auto", "legacy", "2026-07-28")' -x
1875
1898
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1876
1899
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1900
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l login -d 'When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)'
1901
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -l no-login -d 'Never ask to sign in; exit 3 when an HTTP server needs one'
1877
1902
  complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from prompts; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
1903
+ # ---------- mcp login ----------
1904
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l scope -d 'Space-separated scopes to request (default: what the server asks for)' -x
1905
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l client-id -d 'Use a client registered with the authorization server, instead of registering one dynamically' -x
1906
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l client-secret -d 'The --client-id client\'s secret, if it has one' -x
1907
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l callback-port -d 'Receive the sign-in on this port of 127.0.0.1, to match a registered redirect URI http://127.0.0.1:<port>/callback' -x
1908
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l no-browser -d 'Print the sign-in link to stderr instead of opening a browser. In a terminal, also accepts the URL the browser was redirected to, pasted, for a browser on another machine'
1909
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -s H -l header -d 'Add an HTTP header to the sign-in\'s first request to the server, in key:value format. Repeatable. (default: [])' -r
1910
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -s k -l insecure -d 'Disable TLS certificate verification'
1911
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l timeout-request -d 'Time limit for each request in ms (default: 60000, 0 for none)' -x
1912
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l debug -d 'Print each OAuth request\'s method, URL without its query, and status to stderr'
1913
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l request -d 'A saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1914
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l url -d 'The MCP server URL' -x
1915
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1916
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1917
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -l json -d 'Print the result as JSON'
1918
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from login' -s h -l help -d 'display help for command'
1919
+ # ---------- mcp logout ----------
1920
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l all -d 'Remove every stored sign-in'
1921
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -s y -l yes -d 'With --all, skip the confirmation; required when there is no terminal'
1922
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l no-revoke -d 'Only remove the credentials from this machine; do not revoke them'
1923
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -s k -l insecure -d 'Disable TLS certificate verification for the revocation'
1924
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l timeout-request -d 'Time limit for each revocation request in ms (default: 60000, 0 for none)' -x
1925
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l debug -d 'Print each revocation request\'s method, URL without its query, and status to stderr'
1926
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l request -d 'A saved local-mode MCP request ($kind: mcp-request): a .request.yaml path, or the id of an MCP request in postman/collections/' -r
1927
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l url -d 'The MCP server URL' -x
1928
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -s e -l environment -d 'Resolve {{variables}} from a local environment file' -r
1929
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l env-var -d 'Set an environment variable for {{variable}} resolution. Repeatable. (default: [])' -r
1930
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -l json -d 'Print the result as JSON'
1931
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from logout' -s h -l help -d 'display help for command'
1932
+ # ---------- mcp credentials ----------
1933
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from credentials' -l json -d 'Print the sign-ins as JSON'
1934
+ complete -c postman -n '__fish_seen_subcommand_from mcp; and __fish_seen_subcommand_from credentials' -s h -l help -d 'display help for command'
1878
1935
 
1879
1936
  # ---------- performance ----------
1880
1937
  complete -c postman -n '__postman_using_subcommand performance run list get' -a run -d 'Run a performance test on a collection (cloud collection UID or local collection path)'
@@ -2129,6 +2186,7 @@ complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_sub
2129
2186
  complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from scripts; and __fish_seen_subcommand_from set' -l api-key -d 'Postman API key' -r
2130
2187
  complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from scripts; and __fish_seen_subcommand_from set' -s h -l help -d 'display help for command'
2131
2188
  # ---------- webhook forward ----------
2189
+ complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from forward' -l https -d 'Use HTTPS for the local listener; accepts self-signed certificates.'
2132
2190
  complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from forward' -s w -l workspace -d 'Postman workspace ID' -x
2133
2191
  complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from forward' -l api-key -d 'Postman API key' -r
2134
2192
  complete -c postman -n '__fish_seen_subcommand_from webhook; and __fish_seen_subcommand_from forward' -s h -l help -d 'display help for command'
@@ -1,6 +1,6 @@
1
1
  #compdef postman
2
2
  compdef _postman postman
3
- # Zsh completion for Postman CLI (postman v1.88.0)
3
+ # Zsh completion for Postman CLI (postman v1.91.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
@@ -91,7 +91,7 @@ _postman_commands() {
91
91
  'app:Alias for application'
92
92
  'dependency:Manage workspace dependencies reused from other workspaces'
93
93
  'feedback:Submit feedback about CLI usability, gaps, and improvements'
94
- 'mcp:Explore MCP servers\: inspect them, list and call tools, read resources, and get prompts'
94
+ 'mcp:Explore MCP servers\: inspect them, list and call tools, read resources, get prompts, and sign in to servers that use OAuth'
95
95
  'performance:Manage performance tests on your collections'
96
96
  'secret:Create and manage Postman secrets in a team'\''s shared vault'
97
97
  'simulation:Create, run and manage simulations'
@@ -197,7 +197,7 @@ _postman_collection_commands() {
197
197
  'request:Add, get, update, or remove requests in a local v3 collection.'
198
198
  'folder:Add, get, update, or remove folders in a local v3 collection.'
199
199
  'example:Add, update, remove, get, or list examples (saved responses) under a request.'
200
- 'import:Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or cloud with --workspace).'
200
+ 'import:Import a cURL, HAR, JMeter (.jmx), or ReadyAPI/SoapUI (.xml) source into a v3 collection (local, or cloud with --workspace).'
201
201
  'list:List collections\: your local project'\''s collections by default, or a Postman cloud workspace'\''s collections with --workspace.'
202
202
  'run:Run a collection by ID or path, or a request file.'
203
203
  )
@@ -226,6 +226,8 @@ _postman_collection_lint() {
226
226
  _arguments \
227
227
  '(-f --fail-severity)'{-f,--fail-severity}'[Exit with failure if diagnostics at this level or above are present. \[choices\: "error", "warning"\] (default\: "error")]:value' \
228
228
  '(-r --reporter)'{-r,--reporter}'[Output format\: cli (human-readable) or json. (default\: "cli")]:value' \
229
+ '--readyapi[Lint a ReadyAPI-imported collection\: every script parses as JavaScript, uses only real pm.* APIs, and has no unresolved Groovy placeholder.]' \
230
+ '--allow-pending[With --readyapi, treat un-translated Groovy placeholders as warnings, not errors.]' \
229
231
  '(-h --help)'{-h,--help}'[display help for command]' \
230
232
  '*:path:_files -g "*.json"'
231
233
  }
@@ -627,7 +629,7 @@ _postman_collection_example_list() {
627
629
 
628
630
  _postman_collection_import() {
629
631
  _arguments \
630
- '--type[Source format\: curl, har, or jmeter. Auto-detected from the extension/content when omitted.]:format' \
632
+ '--type[Source format\: curl, har, jmeter, or readyapi. Auto-detected from the extension/content when omitted.]:format' \
631
633
  '--name[Collection display name. Defaults to a per-format fallback.]:name' \
632
634
  '(-o --output)'{-o,--output}'[Output directory for the local collection (default\: postman/collections/<name>).]:dir:_files -g "*.json"' \
633
635
  '(-w --workspace)'{-w,--workspace}'[Create the collection in a Postman cloud workspace by id (cloud mode).]:id' \
@@ -677,6 +679,7 @@ _postman_collection_run() {
677
679
  '--working-dir[Specify the path to the working directory]:path:_files -/' \
678
680
  '--no-insecure-file-read[Prevents reading the files situated outside of the working directory]' \
679
681
  '(-k --insecure)'{-k,--insecure}'[Disables SSL validations]' \
682
+ '--allow-stdio[Allow MCP requests on the stdio transport to start their local server process]' \
680
683
  '--ssl-client-cert-list[Specify the path to a client certificates configurations (JSON)]:path:_files -g "*.(pem|crt|key)"' \
681
684
  '--ssl-client-cert[Specify the path to a client certificate (PEM)]:path:_files -g "*.(pem|crt|key)"' \
682
685
  '--ssl-client-key[Specify the path to a client certificate private key]:path:_files -g "*.(pem|crt|key)"' \
@@ -3081,6 +3084,7 @@ _postman_search() {
3081
3084
  mocks) _postman_search_mocks ;;
3082
3085
  environments) _postman_search_environments ;;
3083
3086
  documents) _postman_search_documents ;;
3087
+ datasets) _postman_search_datasets ;;
3084
3088
  esac
3085
3089
  ;;
3086
3090
  esac
@@ -3097,6 +3101,7 @@ _postman_search_commands() {
3097
3101
  'mocks:Search for mocks by name or keyword.'
3098
3102
  'environments:Search for environments by name or keyword.'
3099
3103
  'documents:Search for documents by name or keyword.'
3104
+ 'datasets:Search for datasets by name or keyword.'
3100
3105
  )
3101
3106
  _describe -t commands 'search command' sub
3102
3107
  }
@@ -3149,6 +3154,12 @@ _postman_search_documents() {
3149
3154
  '*:query:'
3150
3155
  }
3151
3156
 
3157
+ _postman_search_datasets() {
3158
+ _arguments \
3159
+ '(-h --help)'{-h,--help}'[display help for command]' \
3160
+ '*:query:'
3161
+ }
3162
+
3152
3163
  _postman_skills() {
3153
3164
  local context state state_descr line
3154
3165
  typeset -A opt_args
@@ -3197,8 +3208,8 @@ _postman_login() {
3197
3208
  '--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' \
3198
3209
  '--with-api-key[Specify the API key directly.]:apikey' \
3199
3210
  '--region[Specify the region for authentication. Use "eu" for EU region.]:region:(us eu)' \
3200
- '--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).]' \
3201
- '--no-migrate-guest-workspace[Do not copy local work into the account you sign in to. By default local work is copied.]' \
3211
+ '--claim[Move the work from your temporary session on this machine into the team you sign in to, without asking. Needed to move it when there is no terminal to ask in (an agent, CI, a pipe).]' \
3212
+ '--no-claim[Don'\''t move the work from your temporary session on this machine, and don'\''t ask. By default you are asked once you have signed in.]' \
3202
3213
  '--verbose[Show detailed error information]' \
3203
3214
  '(-h --help)'{-h,--help}'[display help for command]'
3204
3215
  }
@@ -3395,6 +3406,9 @@ _postman_mcp() {
3395
3406
  tools) _postman_mcp_tools ;;
3396
3407
  resources) _postman_mcp_resources ;;
3397
3408
  prompts) _postman_mcp_prompts ;;
3409
+ login) _postman_mcp_login ;;
3410
+ logout) _postman_mcp_logout ;;
3411
+ credentials) _postman_mcp_credentials ;;
3398
3412
  esac
3399
3413
  ;;
3400
3414
  esac
@@ -3407,6 +3421,9 @@ _postman_mcp_commands() {
3407
3421
  'tools:List and call the tools an MCP server offers'
3408
3422
  'resources:List and read the resources an MCP server offers'
3409
3423
  'prompts:List and get the prompts an MCP server offers'
3424
+ 'login:Sign in to an MCP server that uses OAuth, in a browser, and store the token every postman mcp command then sends to it'
3425
+ 'logout:Remove the credentials postman mcp login stored for an MCP server, and revoke them at its authorization server'
3426
+ 'credentials:List the sign-ins postman mcp login stored\: server, issuer, client, scopes, expiry and whether they refresh. Never shows a token or secret'
3410
3427
  )
3411
3428
  _describe -t commands 'mcp command' sub
3412
3429
  }
@@ -3427,6 +3444,8 @@ _postman_mcp_inspect() {
3427
3444
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3428
3445
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3429
3446
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3447
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3448
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3430
3449
  '(-h --help)'{-h,--help}'[display help for command]'
3431
3450
  }
3432
3451
 
@@ -3472,6 +3491,8 @@ _postman_mcp_tools_list() {
3472
3491
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3473
3492
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3474
3493
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3494
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3495
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3475
3496
  '(-h --help)'{-h,--help}'[display help for command]'
3476
3497
  }
3477
3498
 
@@ -3493,6 +3514,8 @@ _postman_mcp_tools_call() {
3493
3514
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3494
3515
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3495
3516
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3517
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3518
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3496
3519
  '(-h --help)'{-h,--help}'[display help for command]' \
3497
3520
  '*:tool:'
3498
3521
  }
@@ -3541,6 +3564,8 @@ _postman_mcp_resources_list() {
3541
3564
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3542
3565
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3543
3566
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3567
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3568
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3544
3569
  '(-h --help)'{-h,--help}'[display help for command]'
3545
3570
  }
3546
3571
 
@@ -3584,6 +3609,8 @@ _postman_mcp_resources_templates_list() {
3584
3609
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3585
3610
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3586
3611
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3612
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3613
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3587
3614
  '(-h --help)'{-h,--help}'[display help for command]'
3588
3615
  }
3589
3616
 
@@ -3603,6 +3630,8 @@ _postman_mcp_resources_read() {
3603
3630
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3604
3631
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3605
3632
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3633
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3634
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3606
3635
  '(-h --help)'{-h,--help}'[display help for command]' \
3607
3636
  '*:uri:'
3608
3637
  }
@@ -3649,6 +3678,8 @@ _postman_mcp_prompts_list() {
3649
3678
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3650
3679
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3651
3680
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3681
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3682
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3652
3683
  '(-h --help)'{-h,--help}'[display help for command]'
3653
3684
  }
3654
3685
 
@@ -3670,10 +3701,53 @@ _postman_mcp_prompts_get() {
3670
3701
  '--protocol-version[Protocol version negotiation (default\: auto) (choices\: "auto", "legacy", "2026-07-28")]:version' \
3671
3702
  '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3672
3703
  '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3704
+ '--login[When an HTTP server needs an OAuth sign-in, sign in without asking (opens a browser)]' \
3705
+ '--no-login[Never ask to sign in; exit 3 when an HTTP server needs one]' \
3673
3706
  '(-h --help)'{-h,--help}'[display help for command]' \
3674
3707
  '*:name:'
3675
3708
  }
3676
3709
 
3710
+ _postman_mcp_login() {
3711
+ _arguments \
3712
+ '--scope[Space-separated scopes to request (default\: what the server asks for)]:scopes' \
3713
+ '--client-id[Use a client registered with the authorization server, instead of registering one dynamically]:id' \
3714
+ '--client-secret[The --client-id client'\''s secret, if it has one]:secret' \
3715
+ '--callback-port[Receive the sign-in on this port of 127.0.0.1, to match a registered redirect URI http\://127.0.0.1\:<port>/callback]:port' \
3716
+ '--no-browser[Print the sign-in link to stderr instead of opening a browser. In a terminal, also accepts the URL the browser was redirected to, pasted, for a browser on another machine]' \
3717
+ '(-H --header)'{-H,--header}'[Add an HTTP header to the sign-in'\''s first request to the server, in key\:value format. Repeatable. (default\: \[\])]:key\:value:_files -g "*.(pem|crt|key)"' \
3718
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification]' \
3719
+ '--timeout-request[Time limit for each request in ms (default\: 60000, 0 for none)]:ms' \
3720
+ '--debug[Print each OAuth request'\''s method, URL without its query, and status to stderr]' \
3721
+ '--request[A saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3722
+ '--url[The MCP server URL]:url' \
3723
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3724
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3725
+ '--json[Print the result as JSON]' \
3726
+ '(-h --help)'{-h,--help}'[display help for command]'
3727
+ }
3728
+
3729
+ _postman_mcp_logout() {
3730
+ _arguments \
3731
+ '--all[Remove every stored sign-in]' \
3732
+ '(-y --yes)'{-y,--yes}'[With --all, skip the confirmation; required when there is no terminal]' \
3733
+ '--no-revoke[Only remove the credentials from this machine; do not revoke them]' \
3734
+ '(-k --insecure)'{-k,--insecure}'[Disable TLS certificate verification for the revocation]' \
3735
+ '--timeout-request[Time limit for each revocation request in ms (default\: 60000, 0 for none)]:ms' \
3736
+ '--debug[Print each revocation request'\''s method, URL without its query, and status to stderr]' \
3737
+ '--request[A saved local-mode MCP request ($kind\: mcp-request)\: a .request.yaml path, or the id of an MCP request in postman/collections/]:path|id:_files -g "*.json"' \
3738
+ '--url[The MCP server URL]:url' \
3739
+ '(-e --environment)'{-e,--environment}'[Resolve {{variables}} from a local environment file]:path:_files -g "*.json"' \
3740
+ '--env-var[Set an environment variable for {{variable}} resolution. Repeatable. (default\: \[\])]:key=value:_files -g "*.(pem|crt|key)"' \
3741
+ '--json[Print the result as JSON]' \
3742
+ '(-h --help)'{-h,--help}'[display help for command]'
3743
+ }
3744
+
3745
+ _postman_mcp_credentials() {
3746
+ _arguments \
3747
+ '--json[Print the sign-ins as JSON]' \
3748
+ '(-h --help)'{-h,--help}'[display help for command]'
3749
+ }
3750
+
3677
3751
  _postman_performance() {
3678
3752
  local context state state_descr line
3679
3753
  typeset -A opt_args
@@ -4195,6 +4269,7 @@ _postman_webhook_scripts_set() {
4195
4269
 
4196
4270
  _postman_webhook_forward() {
4197
4271
  _arguments \
4272
+ '--https[Use HTTPS for the local listener; accepts self-signed certificates.]' \
4198
4273
  '(-w --workspace)'{-w,--workspace}'[Postman workspace ID]:workspaceId' \
4199
4274
  '--api-key[Postman API key]:key:_files -g "*.(pem|crt|key)"' \
4200
4275
  '(-h --help)'{-h,--help}'[display help for command]' \
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli-completion",
3
- "version": "1.88.0",
3
+ "version": "1.91.0",
4
4
  "description": "Shell completions for the Postman CLI (zsh, bash, fish)",
5
5
  "type": "module",
6
6
  "bin": {