postman-cli-completion 1.77.0 → 1.80.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.77.0)
1
+ # Bash completion for Postman CLI (postman v1.80.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
@@ -22,7 +22,7 @@ _postman() {
22
22
  cur="${COMP_WORDS[COMP_CWORD]}"
23
23
  prev="${COMP_WORDS[COMP_CWORD-1]}"
24
24
 
25
- local top_commands="api collection dataset environment flows fl globals mock monitor request runner sdk spec workspace ws context-graph describe init search skills login logout signup whoami application app dependency feedback performance secret simulation team update webhook"
25
+ local top_commands="api collection dataset environment flows fl globals mock monitor request runner sdk spec workspace ws context-graph describe init search skills login logout signup whoami application app dependency feedback performance secret simulation status team update webhook"
26
26
  local global_flags="--color -h --help --silent -v --version -h --help"
27
27
 
28
28
  local i cmd="" subcmd=""
@@ -74,6 +74,7 @@ _postman() {
74
74
  performance) _postman_performance ;;
75
75
  secret) _postman_secret ;;
76
76
  simulation) _postman_simulation ;;
77
+ status) _postman_status ;;
77
78
  team) _postman_team ;;
78
79
  update) _postman_update ;;
79
80
  webhook) _postman_webhook ;;
@@ -1225,13 +1226,16 @@ _postman_mock() {
1225
1226
 
1226
1227
  _postman_mock_generate() {
1227
1228
  if [[ "$cur" == -* ]]; then
1228
- COMPREPLY=( $(compgen -W "-o --output -n --name --port --stateful --force -u --update -w --workspace --deploy --public -s --slug --json --api-key -x --suppress-exit-code -h --help" -- "$cur") )
1229
+ COMPREPLY=( $(compgen -W "-o --output -n --name --port --mode --stateful --instructions --spec --collection --dataset --force -u --update -w --workspace --deploy --public -s --slug --timeout --api-key --json -x --suppress-exit-code -h --help" -- "$cur") )
1229
1230
  return 0
1230
1231
  fi
1231
1232
  case "$prev" in
1232
1233
  -o|--output)
1233
1234
  _postman_filematch '!*.@(json)' "$cur"
1234
1235
  return 0 ;;
1236
+ --collection)
1237
+ _postman_filematch '!*.@(json)' "$cur"
1238
+ return 0 ;;
1235
1239
  -u|--update)
1236
1240
  _postman_filematch '!*.@(json)' "$cur"
1237
1241
  return 0 ;;
@@ -1980,7 +1984,7 @@ _postman_workspace() {
1980
1984
  if [[ "$cur" == -* ]]; then
1981
1985
  COMPREPLY=( $(compgen -W "-h --help" -- "$cur") )
1982
1986
  else
1983
- COMPREPLY=( $(compgen -W "list prepare push lint get activity create delete share pull connect-git disconnect-git diff" -- "$cur") )
1987
+ COMPREPLY=( $(compgen -W "list prepare push lint get context activity create delete share pull connect-git disconnect-git diff" -- "$cur") )
1984
1988
  fi
1985
1989
  return 0
1986
1990
  fi
@@ -1990,7 +1994,7 @@ _postman_workspace() {
1990
1994
  push) _postman_workspace_push ;;
1991
1995
  lint) _postman_workspace_lint ;;
1992
1996
  get) _postman_workspace_get ;;
1993
- activity) _postman_workspace_activity ;;
1997
+ context|activity) _postman_workspace_context ;;
1994
1998
  create) _postman_workspace_create ;;
1995
1999
  delete) _postman_workspace_delete ;;
1996
2000
  share) _postman_workspace_share ;;
@@ -2019,7 +2023,7 @@ _postman_workspace_prepare() {
2019
2023
 
2020
2024
  _postman_workspace_push() {
2021
2025
  if [[ "$cur" == -* ]]; then
2022
- COMPREPLY=( $(compgen -W "--no-prepare -y --yes --push-strategy --json --verbose --report-events --no-report-events -h --help" -- "$cur") )
2026
+ COMPREPLY=( $(compgen -W "--no-prepare -y --yes --push-strategy -m --message --json --verbose --report-events --no-report-events -h --help" -- "$cur") )
2023
2027
  return 0
2024
2028
  fi
2025
2029
  case "$prev" in
@@ -2044,9 +2048,9 @@ _postman_workspace_get() {
2044
2048
  esac
2045
2049
  }
2046
2050
 
2047
- _postman_workspace_activity() {
2051
+ _postman_workspace_context() {
2048
2052
  if [[ "$cur" == -* ]]; then
2049
- COMPREPLY=( $(compgen -W "--type --contributor --cursor --limit --markdown --json --timeout -h --help" -- "$cur") )
2053
+ COMPREPLY=( $(compgen -W "--type --contributor --cursor --limit --markdown --json --brief --timeout -h --help" -- "$cur") )
2050
2054
  return 0
2051
2055
  fi
2052
2056
  case "$prev" in
@@ -2851,7 +2855,7 @@ _postman_simulation_get() {
2851
2855
 
2852
2856
  _postman_simulation_run() {
2853
2857
  if [[ "$cur" == -* ]]; then
2854
- COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --dataset -w --workspace --simulation --api-key --no-history --output --verbose --proxy --proxy-port --scenario --session --log-format --log-body --doctor -h --help" -- "$cur") )
2858
+ COMPREPLY=( $(compgen -W "-e --environment -g --globals -p --port --dataset -w --workspace --simulation --api-key --no-history --output --verbose --proxy --proxy-port --scenario --session --log-format --log-body --doctor --lift -h --help" -- "$cur") )
2855
2859
  return 0
2856
2860
  fi
2857
2861
  case "$prev" in
@@ -2937,6 +2941,14 @@ _postman_simulation_delete() {
2937
2941
  esac
2938
2942
  }
2939
2943
 
2944
+ _postman_status() {
2945
+ if [[ "$cur" == -* ]]; then
2946
+ COMPREPLY=( $(compgen -W "--json -h --help" -- "$cur") )
2947
+ return 0
2948
+ fi
2949
+ COMPREPLY=( $(compgen -d -- "$cur") )
2950
+ }
2951
+
2940
2952
  _postman_team() {
2941
2953
  if [[ -z "$subcmd" ]]; then
2942
2954
  if [[ "$cur" == -* ]]; then
@@ -1,10 +1,10 @@
1
- # Fish completion for Postman CLI (postman v1.77.0)
1
+ # Fish completion for Postman CLI (postman v1.80.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
5
5
 
6
6
  function __postman_no_subcommand
7
- not __fish_seen_subcommand_from api collection dataset environment flows fl globals mock monitor request runner sdk spec workspace ws context-graph describe init search skills login logout signup whoami application app dependency feedback performance secret simulation team update webhook
7
+ not __fish_seen_subcommand_from api collection dataset environment flows fl globals mock monitor request runner sdk spec workspace ws context-graph describe init search skills login logout signup whoami application app dependency feedback performance secret simulation status team update webhook
8
8
  end
9
9
 
10
10
  function __postman_using_subcommand
@@ -52,6 +52,7 @@ complete -c postman -n __postman_no_subcommand -a feedback -d 'Submit feedback a
52
52
  complete -c postman -n __postman_no_subcommand -a performance -d 'Manage performance tests on your collections'
53
53
  complete -c postman -n __postman_no_subcommand -a secret -d 'Create and manage Postman secrets in a team\'s shared vault'
54
54
  complete -c postman -n __postman_no_subcommand -a simulation -d 'Create, run and manage simulations'
55
+ complete -c postman -n __postman_no_subcommand -a status -d 'Show details about the Postman CLI and Postman resources and authentication relevant to a directory'
55
56
  complete -c postman -n __postman_no_subcommand -a team -d 'Work with the teams inside your organisation'
56
57
  complete -c postman -n __postman_no_subcommand -a update -d 'Update Postman CLI using the original installation method'
57
58
  complete -c postman -n __postman_no_subcommand -a webhook -d 'Create and manage Postman webhooks'
@@ -784,7 +785,7 @@ complete -c postman -n '__fish_seen_subcommand_from globals; and __fish_seen_sub
784
785
  complete -c postman -n '__fish_seen_subcommand_from globals; and __fish_seen_subcommand_from lint' -r -k -a '(__fish_complete_suffix .json)'
785
786
 
786
787
  # ---------- mock ----------
787
- complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a generate -d 'Generate a mock from a Postman collection or an OpenAPI file, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace. Add --deploy to also make it a live mock server.'
788
+ complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a generate -d 'Generate a mock from a Postman collection, an OpenAPI file or a dataset, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace. Add --deploy to also make it a live mock server.'
788
789
  complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a run -d 'Start a mock using its path if it lives in your repository, or its id if it lives in Postman cloud (fetched and run locally).'
789
790
  complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a push -d 'Upload a mock from your repository to Postman cloud (creates it the first time, updates it after).'
790
791
  complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a deploy -d 'Turn a mock in Postman cloud into a live mock server others can call over the internet.'
@@ -797,15 +798,21 @@ complete -c postman -n '__fish_seen_subcommand_from mock' -s h -l help -d 'displ
797
798
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s o -l output -d 'Folder to save the mock in. Relative or absolute, e.g. ./postman/mocks/orders. Defaults to postman/mocks/<name>.' -r
798
799
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s n -l name -d 'Name for the mock. Taken from the source when you provide one; required for the sample.' -x
799
800
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l port -d 'Port the mock runs on (e.g. 4010) (default: 4500)' -x
800
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l stateful -d 'Generate pm.state-backed CRUD handlers (create/read/list/update/delete) instead of static example responses. Endpoints that are not CRUD-shaped stay static. Applies to collection or spec sources.'
801
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l mode -d 'How the mock behaves: static (replays examples, the default), stateful (keeps records: create, read, list, update, delete), or ai (stateful, plus realistic data and business rules; generated by Postman, needs `postman login`).' -x
802
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l stateful -d 'Same as --mode stateful. Generated offline for a local file, by Postman with --workspace, --spec, --collection or --dataset (validated, with seed data). Endpoints that are not CRUD-shaped stay static.'
803
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l instructions -d 'With --mode ai: guidance for the AI, e.g. "Orders can only be cancelled before they ship".' -x
804
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l spec -d 'Generate from a spec in Postman (by id) instead of a local file. With --workspace, the mock stays linked to it and is regenerated when it changes.' -x
805
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l collection -d 'Generate from a collection in Postman (by id) instead of a local file. With --workspace, the mock stays linked to it and is regenerated when it changes.' -r
806
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l dataset -d 'Generate from a dataset: its tables become resources and their first 20 rows the records. A dataset in Postman (by id) or a local .dataset.yaml (CSV and JSON sources). Generated by Postman in stateful (the default) or ai mode; AI sees the column names and types, never the rows.' -x
801
807
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l force -d 'Overwrite the mock\'s files if the target folder already has one'
802
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s u -l update -d 'Update an existing mock from the source instead of creating a new one. Path to the mock, relative or absolute, e.g. ./postman/mocks/orders. Cannot be used with --output.' -r
808
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s u -l update -d 'Regenerate an existing mock in place, e.g. ./postman/mocks/orders. Without a source or --mode, it uses the ones the mock recorded. Cannot be used with --output.' -r
803
809
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s w -l workspace -d 'Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update, except with --deploy, where it only picks the workspace.' -x
804
810
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l deploy -d 'After generating, upload the mock to Postman cloud and deploy it to a live mock server (private by default). Uses --workspace, else the workspace linked to this project.'
805
811
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l public -d 'With --deploy, let anyone with the link reach the server (default: callers need an API key)'
806
812
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s s -l slug -d 'With --deploy, the short label used in the server\'s web address' -x
807
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l json -d 'Print the result (with --deploy, the live server details) as machine-readable data instead of a summary'
808
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l api-key -d 'Postman API key to use with --workspace or --deploy (defaults to your `postman login` session)' -r
813
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l timeout -d 'How long to wait for Postman to generate the mock, in milliseconds (default 75000).' -x
814
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l api-key -d 'Postman API key for anything Postman generates, saves or deploys (defaults to your `postman login` session)' -r
815
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l json -d 'Print the result as machine-readable data instead of a summary: the generated mock, or with --deploy the live server details'
809
816
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s x -l suppress-exit-code -d 'Always exit with code 0, even on failure'
810
817
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s h -l help -d 'display help for command'
811
818
  # ---------- mock run ----------
@@ -1207,7 +1214,7 @@ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcom
1207
1214
  complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from list' -r -k -a '(__fish_complete_suffix .json)'
1208
1215
  # ---------- spec get ----------
1209
1216
  complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key' -r
1210
- complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from get' -l json -d 'Output as JSON (full spec definition)'
1217
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from get' -l json -d 'Output as JSON; a local OpenAPI spec also includes its parsed, $ref-resolved definition'
1211
1218
  complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
1212
1219
  # ---------- spec file ----------
1213
1220
  complete -c postman -n '__postman_using_subcommand file get add update rm' -a get -d 'Show a file in a spec: its path, size and content.'
@@ -1270,19 +1277,20 @@ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcom
1270
1277
  complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
1271
1278
 
1272
1279
  # ---------- workspace ----------
1273
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a list -d 'List all available Postman Workspaces'
1274
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a prepare -d 'Prepare local collections and environments for push by validating and regenerating IDs if needed.'
1275
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
1276
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a lint -d 'Lint the current local Postman workspace: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
1277
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a get -d 'Read a workspace\'s metadata, and optionally the ids of what it holds.'
1278
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a activity -d 'Read a workspace\'s activity feed.'
1279
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a create -d 'Create a Postman workspace and bind it to this git repository.'
1280
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a delete -d 'Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
1281
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a share -d 'Grant a role on a workspace to one or more people.'
1282
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a pull -d 'Pull workspace entities from a Postman workspace into the local folder.'
1283
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a connect-git -d 'Connect a Postman workspace to a local git repository.'
1284
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a disconnect-git -d 'Disconnect a Postman workspace from its local git repository.'
1285
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get activity create delete share pull connect-git disconnect-git diff' -a diff -d 'Preview local-vs-cloud drift before pushing. Read-only: nothing is created, updated or deleted.'
1280
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a list -d 'List all available Postman Workspaces'
1281
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a prepare -d 'Prepare local collections and environments for push by validating and regenerating IDs if needed.'
1282
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
1283
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a lint -d 'Lint the current local Postman workspace: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
1284
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a get -d 'Read a workspace\'s metadata, and optionally the ids of what it holds.'
1285
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a context -d 'Read a workspace\'s recent activity: who changed what, and the messages left on pushes. Also available as `activity`.'
1286
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a activity -d 'Alias for context'
1287
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a create -d 'Create a Postman workspace and bind it to this git repository.'
1288
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a delete -d 'Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
1289
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a share -d 'Grant a role on a workspace to one or more people.'
1290
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a pull -d 'Pull workspace entities from a Postman workspace into the local folder.'
1291
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a connect-git -d 'Connect a Postman workspace to a local git repository.'
1292
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a disconnect-git -d 'Disconnect a Postman workspace from its local git repository.'
1293
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a diff -d 'Preview local-vs-cloud drift before pushing. Read-only: nothing is created, updated or deleted.'
1286
1294
  complete -c postman -n '__fish_seen_subcommand_from workspace' -s h -l help -d 'display help for command'
1287
1295
  # ---------- workspace list ----------
1288
1296
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from list' -s f -l filter -d 'Filter workspaces by name.' -x
@@ -1300,6 +1308,7 @@ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_s
1300
1308
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l no-prepare -d 'Skip ID validation and auto-fix before pushing'
1301
1309
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -s y -l yes -d 'Skip all confirmation prompts'
1302
1310
  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
1311
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -s m -l message -d 'Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Recorded only when the push changes something.' -x
1303
1312
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l json -d 'Print the outcome as machine-readable JSON. Implies non-interactive: use --yes to actually push.'
1304
1313
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l verbose -d 'Show detailed logging'
1305
1314
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from push' -l report-events -d 'Dispatch events to the API Catalog and Application Inventory ingestion pipelines (on by default)'
@@ -1317,15 +1326,16 @@ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_s
1317
1326
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -l json -d 'Print the workspace as machine-readable JSON.'
1318
1327
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
1319
1328
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
1320
- # ---------- workspace activity ----------
1321
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l type -d 'Comma-separated element types to filter on, e.g. "api,collection".' -x
1322
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l contributor -d 'Comma-separated user ids to filter on.' -x
1323
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l cursor -d 'Fetch the page of entries that follows this cursor.' -x
1324
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l limit -d 'Max entries to return.' -x
1325
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l markdown -d 'Ask the API for a human-readable description of each entry.'
1326
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l json -d 'Print the feed as machine-readable JSON.'
1327
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
1328
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from activity' -s h -l help -d 'display help for command'
1329
+ # ---------- workspace context ----------
1330
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l type -d 'Comma-separated element types to filter on, e.g. "api,collection". Use "workspacePush" for the messages left with `workspace push -m`.' -x
1331
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l contributor -d 'Comma-separated user ids to filter on.' -x
1332
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l cursor -d 'Fetch the page of entries that follows this cursor.' -x
1333
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l limit -d 'Max entries to return.' -x
1334
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l markdown -d 'Ask the API for a human-readable description of each entry.'
1335
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l json -d 'Print the feed as machine-readable JSON.'
1336
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l brief -d 'Print one plain line per entry (time, who, message), for a prompt or a log. Prints nothing when there are no entries.'
1337
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
1338
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -s h -l help -d 'display help for command'
1329
1339
  # ---------- workspace create ----------
1330
1340
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -l visibility -d 'Required. One of: personal, private, team, public, partner.' -x
1331
1341
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from create' -l name -d 'Workspace name (defaults to owner/repo from the git remote)' -x
@@ -1735,7 +1745,7 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
1735
1745
  # ---------- simulation run ----------
1736
1746
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -s e -l environment -d 'Path to a file of environment variables for the mocks (relative or absolute)' -r
1737
1747
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -s g -l globals -d 'Path to a file of global variables for the mocks (relative or absolute)' -r
1738
- complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -s p -l port -d 'Port to serve on (e.g. 4010), or "auto" for a free one (default 3000)' -x
1748
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -s p -l port -d 'Port to serve on (e.g. 4010), or "auto" for a free one. Omitted, it prefers 3000 but falls back to a free port when that one is busy, so an omitted port is not guaranteed: pass one to pin it, or read the bound port from --output ndjson\'s "listening" event. Binds 127.0.0.1 only, so a caller in a container or VM cannot reach it.' -x
1739
1749
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l dataset -d 'Dataset file or folder to load for pm.datasets (repeatable) (default: [])' -r
1740
1750
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -s w -l workspace -d 'Workspace for recording start history. Derived from a simulation id or the linked project; needed only for an unlinked .sim.yaml path.' -x
1741
1751
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l simulation -d 'Simulation id to record start history against for a .sim.yaml path (a local file has only a name). Not needed when running by simulation id, or when the file is linked to a cloud simulation (via workspace push).' -x
@@ -1744,12 +1754,13 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
1744
1754
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l output -d 'Live output format: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default: "auto")' -x
1745
1755
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l verbose -d 'Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.'
1746
1756
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy -d 'Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes. Each mock is reached on the hostnames its `origin:` declares; a request to any other host reaches the real host unchanged.'
1747
- complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy-port -d 'Port for the proxy server. Distinct from --port, which is the one-port run\'s own port. (default: 7001)' -x
1748
- complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l scenario -d 'Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. (default: "default")' -x
1757
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l proxy-port -d 'Port for the proxy server. Distinct from --port, which is the one-port run\'s own port. Bound to 127.0.0.1, so point clients there rather than at "localhost" — a client that resolves localhost to ::1 first will not reach it. A busy port exits 1. (default: 7001)' -x
1758
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l scenario -d 'Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. A member that defines no scenario by this name serves its default. (default: "default")' -x
1749
1759
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l session -d 'Session id to select via the x-mock-session header (default: a generated id).' -x
1750
- complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l log-format -d 'Proxy request log format: text or json. (default: "text")' -x
1760
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l log-format -d 'Proxy request log format: text or json. Each line carries the method, host, path, destination (a routeKey, or "passthrough"), status and duration; json adds a timestamp, the scenario and the session. (default: "text")' -x
1751
1761
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l log-body -d 'Also log each response body (truncated). Buffers full responses in memory; meant for temporary debugging, not left on by default.'
1752
1762
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l doctor -d 'Start the proxy, probe each available HTTP client (fetch/undici/axios/node-fetch) to confirm it honors HTTP_PROXY/HTTPS_PROXY, then exit.'
1763
+ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -l lift -d 'Start this command behind the proxy with HTTP_PROXY, HTTPS_PROXY and NODE_EXTRA_CA_CERTS already set in its environment, instead of printing them for you to export by hand. Runs as a child process, so the variables reach the code making the calls rather than the CLI. The proxy lives exactly as long as the command and exits with its exit code.' -x
1753
1764
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
1754
1765
  # ---------- simulation push ----------
1755
1766
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from push' -s w -l workspace -d 'Postman cloud workspace to upload to, by id (defaults to the workspace already linked to this project)' -x
@@ -1792,6 +1803,10 @@ complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_
1792
1803
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from delete' -l json -d 'Print the result as machine-readable data (requires --yes)'
1793
1804
  complete -c postman -n '__fish_seen_subcommand_from simulation; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
1794
1805
 
1806
+ # ---------- status ----------
1807
+ complete -c postman -n '__fish_seen_subcommand_from status' -l json -d 'Print status as machine-readable JSON.'
1808
+ complete -c postman -n '__fish_seen_subcommand_from status' -s h -l help -d 'display help for command'
1809
+
1795
1810
  # ---------- team ----------
1796
1811
  complete -c postman -n '__postman_using_subcommand team list' -a list -d 'List the teams inside your organisation.'
1797
1812
  complete -c postman -n '__fish_seen_subcommand_from team' -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.77.0)
3
+ # Zsh completion for Postman CLI (postman v1.80.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
@@ -48,6 +48,7 @@ _postman() {
48
48
  performance) _postman_performance ;;
49
49
  secret) _postman_secret ;;
50
50
  simulation) _postman_simulation ;;
51
+ status) _postman_status ;;
51
52
  team) _postman_team ;;
52
53
  update) _postman_update ;;
53
54
  webhook) _postman_webhook ;;
@@ -90,6 +91,7 @@ _postman_commands() {
90
91
  'performance:Manage performance tests on your collections'
91
92
  'secret:Create and manage Postman secrets in a team'\''s shared vault'
92
93
  'simulation:Create, run and manage simulations'
94
+ 'status:Show details about the Postman CLI and Postman resources and authentication relevant to a directory'
93
95
  'team:Work with the teams inside your organisation'
94
96
  'update:Update Postman CLI using the original installation method'
95
97
  'webhook:Create and manage Postman webhooks'
@@ -1475,7 +1477,7 @@ _postman_mock() {
1475
1477
  _postman_mock_commands() {
1476
1478
  local -a sub
1477
1479
  sub=(
1478
- 'generate:Generate a mock from a Postman collection or an OpenAPI file, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace. Add --deploy to also make it a live mock server.'
1480
+ 'generate:Generate a mock from a Postman collection, an OpenAPI file or a dataset, or from a built-in sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace. Add --deploy to also make it a live mock server.'
1479
1481
  'run:Start a mock using its path if it lives in your repository, or its id if it lives in Postman cloud (fetched and run locally).'
1480
1482
  'push:Upload a mock from your repository to Postman cloud (creates it the first time, updates it after).'
1481
1483
  'deploy:Turn a mock in Postman cloud into a live mock server others can call over the internet.'
@@ -1492,15 +1494,21 @@ _postman_mock_generate() {
1492
1494
  '(-o --output)'{-o,--output}'[Folder to save the mock in. Relative or absolute, e.g. ./postman/mocks/orders. Defaults to postman/mocks/<name>.]:dir:_files -g "*.json"' \
1493
1495
  '(-n --name)'{-n,--name}'[Name for the mock. Taken from the source when you provide one; required for the sample.]:name' \
1494
1496
  '--port[Port the mock runs on (e.g. 4010) (default\: 4500)]:port' \
1495
- '--stateful[Generate pm.state-backed CRUD handlers (create/read/list/update/delete) instead of static example responses. Endpoints that are not CRUD-shaped stay static. Applies to collection or spec sources.]' \
1497
+ '--mode[How the mock behaves\: static (replays examples, the default), stateful (keeps records\: create, read, list, update, delete), or ai (stateful, plus realistic data and business rules; generated by Postman, needs `postman login`).]:mode' \
1498
+ '--stateful[Same as --mode stateful. Generated offline for a local file, by Postman with --workspace, --spec, --collection or --dataset (validated, with seed data). Endpoints that are not CRUD-shaped stay static.]' \
1499
+ '--instructions[With --mode ai\: guidance for the AI, e.g. "Orders can only be cancelled before they ship".]:text' \
1500
+ '--spec[Generate from a spec in Postman (by id) instead of a local file. With --workspace, the mock stays linked to it and is regenerated when it changes.]:specId' \
1501
+ '--collection[Generate from a collection in Postman (by id) instead of a local file. With --workspace, the mock stays linked to it and is regenerated when it changes.]:collectionId:_files -g "*.json"' \
1502
+ '--dataset[Generate from a dataset\: its tables become resources and their first 20 rows the records. A dataset in Postman (by id) or a local .dataset.yaml (CSV and JSON sources). Generated by Postman in stateful (the default) or ai mode; AI sees the column names and types, never the rows.]:datasetIdOrPath' \
1496
1503
  '--force[Overwrite the mock'\''s files if the target folder already has one]' \
1497
- '(-u --update)'{-u,--update}'[Update an existing mock from the source instead of creating a new one. Path to the mock, relative or absolute, e.g. ./postman/mocks/orders. Cannot be used with --output.]:mockPath:_files -g "*.json"' \
1504
+ '(-u --update)'{-u,--update}'[Regenerate an existing mock in place, e.g. ./postman/mocks/orders. Without a source or --mode, it uses the ones the mock recorded. Cannot be used with --output.]:mockPath:_files -g "*.json"' \
1498
1505
  '(-w --workspace)'{-w,--workspace}'[Save the mock to this Postman cloud workspace (by id) instead of your repository. Cannot be used with --output, --force, or --update, except with --deploy, where it only picks the workspace.]:id' \
1499
1506
  '--deploy[After generating, upload the mock to Postman cloud and deploy it to a live mock server (private by default). Uses --workspace, else the workspace linked to this project.]' \
1500
1507
  '--public[With --deploy, let anyone with the link reach the server (default\: callers need an API key)]' \
1501
1508
  '(-s --slug)'{-s,--slug}'[With --deploy, the short label used in the server'\''s web address]:slug' \
1502
- '--json[Print the result (with --deploy, the live server details) as machine-readable data instead of a summary]' \
1503
- '--api-key[Postman API key to use with --workspace or --deploy (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
1509
+ '--timeout[How long to wait for Postman to generate the mock, in milliseconds (default 75000).]:ms' \
1510
+ '--api-key[Postman API key for anything Postman generates, saves or deploys (defaults to your `postman login` session)]:key:_files -g "*.(pem|crt|key)"' \
1511
+ '--json[Print the result as machine-readable data instead of a summary\: the generated mock, or with --deploy the live server details]' \
1504
1512
  '(-x --suppress-exit-code)'{-x,--suppress-exit-code}'[Always exit with code 0, even on failure]' \
1505
1513
  '(-h --help)'{-h,--help}'[display help for command]' \
1506
1514
  '*:sourcePath:'
@@ -2202,7 +2210,7 @@ _postman_spec_list() {
2202
2210
  _postman_spec_get() {
2203
2211
  _arguments \
2204
2212
  '--api-key[Postman API key]:key:_files -g "*.(pem|crt|key)"' \
2205
- '--json[Output as JSON (full spec definition)]' \
2213
+ '--json[Output as JSON; a local OpenAPI spec also includes its parsed, $ref-resolved definition]' \
2206
2214
  '(-h --help)'{-h,--help}'[display help for command]' \
2207
2215
  '*:spec...:'
2208
2216
  }
@@ -2374,7 +2382,7 @@ _postman_workspace() {
2374
2382
  push) _postman_workspace_push ;;
2375
2383
  lint) _postman_workspace_lint ;;
2376
2384
  get) _postman_workspace_get ;;
2377
- activity) _postman_workspace_activity ;;
2385
+ context|activity) _postman_workspace_context ;;
2378
2386
  create) _postman_workspace_create ;;
2379
2387
  delete) _postman_workspace_delete ;;
2380
2388
  share) _postman_workspace_share ;;
@@ -2395,7 +2403,8 @@ _postman_workspace_commands() {
2395
2403
  'push:Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
2396
2404
  'lint:Lint the current local Postman workspace\: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
2397
2405
  'get:Read a workspace'\''s metadata, and optionally the ids of what it holds.'
2398
- 'activity:Read a workspace'\''s activity feed.'
2406
+ 'context:Read a workspace'\''s recent activity\: who changed what, and the messages left on pushes. Also available as `activity`.'
2407
+ 'activity:Alias for context'
2399
2408
  'create:Create a Postman workspace and bind it to this git repository.'
2400
2409
  'delete:Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
2401
2410
  'share:Grant a role on a workspace to one or more people.'
@@ -2430,6 +2439,7 @@ _postman_workspace_push() {
2430
2439
  '--no-prepare[Skip ID validation and auto-fix before pushing]' \
2431
2440
  '(-y --yes)'{-y,--yes}'[Skip all confirmation prompts]' \
2432
2441
  '--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' \
2442
+ '(-m --message)'{-m,--message}'[Short note on what changed, like a commit message (max 500 characters). Shown on the workspace activity feed. Recorded only when the push changes something.]:text' \
2433
2443
  '--json[Print the outcome as machine-readable JSON. Implies non-interactive\: use --yes to actually push.]' \
2434
2444
  '--verbose[Show detailed logging]' \
2435
2445
  '--report-events[Dispatch events to the API Catalog and Application Inventory ingestion pipelines (on by default)]' \
@@ -2456,14 +2466,15 @@ _postman_workspace_get() {
2456
2466
  '*:id:'
2457
2467
  }
2458
2468
 
2459
- _postman_workspace_activity() {
2469
+ _postman_workspace_context() {
2460
2470
  _arguments \
2461
- '--type[Comma-separated element types to filter on, e.g. "api,collection".]:types' \
2471
+ '--type[Comma-separated element types to filter on, e.g. "api,collection". Use "workspacePush" for the messages left with `workspace push -m`.]:types' \
2462
2472
  '--contributor[Comma-separated user ids to filter on.]:ids' \
2463
2473
  '--cursor[Fetch the page of entries that follows this cursor.]:cursor' \
2464
2474
  '--limit[Max entries to return.]:n' \
2465
2475
  '--markdown[Ask the API for a human-readable description of each entry.]' \
2466
2476
  '--json[Print the feed as machine-readable JSON.]' \
2477
+ '--brief[Print one plain line per entry (time, who, message), for a prompt or a log. Prints nothing when there are no entries.]' \
2467
2478
  '--timeout[Milliseconds to wait for the API (default 30000).]:ms' \
2468
2479
  '(-h --help)'{-h,--help}'[display help for command]' \
2469
2480
  '*:id:'
@@ -3422,7 +3433,7 @@ _postman_simulation_run() {
3422
3433
  _arguments \
3423
3434
  '(-e --environment)'{-e,--environment}'[Path to a file of environment variables for the mocks (relative or absolute)]:path:_files -g "*.json"' \
3424
3435
  '(-g --globals)'{-g,--globals}'[Path to a file of global variables for the mocks (relative or absolute)]:path:_files -g "*.json"' \
3425
- '(-p --port)'{-p,--port}'[Port to serve on (e.g. 4010), or "auto" for a free one (default 3000)]:port' \
3436
+ '(-p --port)'{-p,--port}'[Port to serve on (e.g. 4010), or "auto" for a free one. Omitted, it prefers 3000 but falls back to a free port when that one is busy, so an omitted port is not guaranteed\: pass one to pin it, or read the bound port from --output ndjson'\''s "listening" event. Binds 127.0.0.1 only, so a caller in a container or VM cannot reach it.]:port' \
3426
3437
  '--dataset[Dataset file or folder to load for pm.datasets (repeatable) (default\: \[\])]:pathOrDir:_files -g "*.json"' \
3427
3438
  '(-w --workspace)'{-w,--workspace}'[Workspace for recording start history. Derived from a simulation id or the linked project; needed only for an unlinked .sim.yaml path.]:id' \
3428
3439
  '--simulation[Simulation id to record start history against for a .sim.yaml path (a local file has only a name). Not needed when running by simulation id, or when the file is linked to a cloud simulation (via workspace push).]:id' \
@@ -3431,12 +3442,13 @@ _postman_simulation_run() {
3431
3442
  '--output[Live output format\: auto (default, human-readable logs) or ndjson (one JSON event per line on stdout, ending with a "summary" event — for CI or other non-interactive use) (default\: "auto")]:format' \
3432
3443
  '--verbose[Show request and response headers and bodies for each request. By default each request prints one line, plus any applied scenario or error.]' \
3433
3444
  '--proxy[Serve the mocks behind a local HTTP(S) forward proxy instead of one routed port, so a repo under test can point HTTP_PROXY/HTTPS_PROXY at it and reach each mock by hostname without code changes. Each mock is reached on the hostnames its `origin\:` declares; a request to any other host reaches the real host unchanged.]' \
3434
- '--proxy-port[Port for the proxy server. Distinct from --port, which is the one-port run'\''s own port. (default\: 7001)]:n' \
3435
- '--scenario[Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. (default\: "default")]:name' \
3445
+ '--proxy-port[Port for the proxy server. Distinct from --port, which is the one-port run'\''s own port. Bound to 127.0.0.1, so point clients there rather than at "localhost" — a client that resolves localhost to \:\:1 first will not reach it. A busy port exits 1. (default\: 7001)]:n' \
3446
+ '--scenario[Scenario each mock serves, sent as both pm-mock-scenario and x-mock-scenario. A member that defines no scenario by this name serves its default. (default\: "default")]:name' \
3436
3447
  '--session[Session id to select via the x-mock-session header (default\: a generated id).]:id' \
3437
- '--log-format[Proxy request log format\: text or json. (default\: "text")]:format' \
3448
+ '--log-format[Proxy request log format\: text or json. Each line carries the method, host, path, destination (a routeKey, or "passthrough"), status and duration; json adds a timestamp, the scenario and the session. (default\: "text")]:format' \
3438
3449
  '--log-body[Also log each response body (truncated). Buffers full responses in memory; meant for temporary debugging, not left on by default.]' \
3439
3450
  '--doctor[Start the proxy, probe each available HTTP client (fetch/undici/axios/node-fetch) to confirm it honors HTTP_PROXY/HTTPS_PROXY, then exit.]' \
3451
+ '--lift[Start this command behind the proxy with HTTP_PROXY, HTTPS_PROXY and NODE_EXTRA_CA_CERTS already set in its environment, instead of printing them for you to export by hand. Runs as a child process, so the variables reach the code making the calls rather than the CLI. The proxy lives exactly as long as the command and exits with its exit code.]:cmd' \
3440
3452
  '(-h --help)'{-h,--help}'[display help for command]' \
3441
3453
  '*:simIdOrPath:'
3442
3454
  }
@@ -3500,6 +3512,13 @@ _postman_simulation_delete() {
3500
3512
  '*:simIdOrPath:'
3501
3513
  }
3502
3514
 
3515
+ _postman_status() {
3516
+ _arguments \
3517
+ '--json[Print status as machine-readable JSON.]' \
3518
+ '(-h --help)'{-h,--help}'[display help for command]' \
3519
+ '*:dir-path:_files -/'
3520
+ }
3521
+
3503
3522
  _postman_team() {
3504
3523
  local context state state_descr line
3505
3524
  typeset -A opt_args
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli-completion",
3
- "version": "1.77.0",
3
+ "version": "1.80.0",
4
4
  "description": "Shell completions for the Postman CLI (zsh, bash, fish)",
5
5
  "type": "module",
6
6
  "bin": {