postman-cli-completion 1.82.0 → 1.84.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.82.0)
1
+ # Bash completion for Postman CLI (postman v1.84.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
@@ -1599,6 +1599,7 @@ _postman_request() {
1599
1599
  _postman_filematch '!*.@(json)' "$cur"
1600
1600
  return 0 ;;
1601
1601
  esac
1602
+ _postman_filematch '!*.@(json)' "$cur"
1602
1603
  }
1603
1604
 
1604
1605
  _postman_runner() {
@@ -1,4 +1,4 @@
1
- # Fish completion for Postman CLI (postman v1.82.0)
1
+ # Fish completion for Postman CLI (postman v1.84.0)
2
2
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
3
3
  # Source: spec/commands.json
4
4
  # https://github.com/yokawasa/postman-cli-completion
@@ -43,8 +43,8 @@ complete -c postman -n __postman_no_subcommand -a search -d 'Search for Postman
43
43
  complete -c postman -n __postman_no_subcommand -a skills -d 'Check and update the agent skills in this repository'
44
44
  complete -c postman -n __postman_no_subcommand -a login -d 'Authenticate with Postman to access your resources'
45
45
  complete -c postman -n __postman_no_subcommand -a logout -d 'Delete the stored Postman API key'
46
- complete -c postman -n __postman_no_subcommand -a signup -d 'Sign up to keep the work you created as a guest'
47
- complete -c postman -n __postman_no_subcommand -a whoami -d 'Show the Postman account or guest session this CLI session is using'
46
+ complete -c postman -n __postman_no_subcommand -a signup -d 'Sign up to keep your work'
47
+ complete -c postman -n __postman_no_subcommand -a whoami -d 'Show the Postman account or session this CLI is using'
48
48
  complete -c postman -n __postman_no_subcommand -a application -d 'Application-level commands: initialise config and run tests'
49
49
  complete -c postman -n __postman_no_subcommand -a app -d 'Alias for application'
50
50
  complete -c postman -n __postman_no_subcommand -a dependency -d 'Manage workspace dependencies reused from other workspaces'
@@ -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 example -d 'Add, update, remove, get, or list examples (saved responses) under a request.'
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 import -d 'Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or cloud with --workspace).'
93
93
  complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a list -d 'List collections: your local project\'s collections by default, or a Postman cloud workspace\'s collections with --workspace.'
94
- complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a run -d 'Initiate a Postman collection run from a given ID or path.'
94
+ complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get delete publish generate sync share request folder example import list run' -a run -d 'Run a collection by ID or path, or a request file.'
95
95
  complete -c postman -n '__fish_seen_subcommand_from collection' -s h -l help -d 'display help for command'
96
96
  # ---------- collection new ----------
97
97
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -s w -l workspace -d 'Create the collection in a cloud Postman workspace instead of scaffolding it locally. Required when the current directory is not a local Postman workspace.' -x
@@ -895,7 +895,7 @@ complete -c postman -n '__postman_using_subcommand monitor run create update del
895
895
  complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume share' -a share -d 'Grant a role on a monitor to one or more people.'
896
896
  complete -c postman -n '__fish_seen_subcommand_from monitor' -s h -l help -d 'display help for command'
897
897
  # ---------- monitor run ----------
898
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
898
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
899
899
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -s x -l suppress-exit-code -d 'Always exit 0, whatever the run\'s result or the failure'
900
900
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -s t -l timeout -d 'How long to wait for the run to finish, in milliseconds (default: 900000)' -x
901
901
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -l async -d 'Submit the run and print its job id and Postman URL without waiting for it to finish'
@@ -924,7 +924,7 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
924
924
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l iteration-count -d 'Number of iterations to run' -x
925
925
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l iteration-strategy -d 'How iteration data is consumed, for example round_robin, repeat_last or stop_at_end (requires --iteration-count, --dataset-id and --dataset-view-id)' -x
926
926
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l no-run-now -d 'Do not trigger an immediate run after creating the monitor'
927
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
927
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
928
928
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l json -d 'Print the outcome, the created monitor\'s id, uid, name and active state, and the job of its first run, as JSON'
929
929
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -s h -l help -d 'display help for command'
930
930
  # ---------- monitor update ----------
@@ -950,12 +950,12 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
950
950
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l dataset-view-id -d 'Dataset view to iterate (used together with --dataset-id)' -x
951
951
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l iteration-count -d 'Number of iterations to run' -x
952
952
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l iteration-strategy -d 'How iteration data is consumed, for example round_robin, repeat_last or stop_at_end (requires --iteration-count, --dataset-id and --dataset-view-id)' -x
953
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
953
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
954
954
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l json -d 'Print the outcome and the monitor\'s id, uid, name and active state as JSON'
955
955
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
956
956
  # ---------- monitor delete ----------
957
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Skip the confirmation prompt; required when there is no interactive terminal or with --silent'
958
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
957
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Skip the confirmation prompt; required when there is no interactive terminal'
958
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
959
959
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -l json -d 'Print the outcome (deleted or aborted) and the monitor id as JSON'
960
960
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
961
961
  # ---------- monitor jobs ----------
@@ -963,7 +963,7 @@ complete -c postman -n '__postman_using_subcommand jobs list get' -a list -d 'Li
963
963
  complete -c postman -n '__postman_using_subcommand jobs list get' -a get -d 'Show one job (also called an execution) and the state, runner and duration of each of its runs. A run\'s duration covers every attempt, including retries.'
964
964
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs' -s h -l help -d 'display help for command'
965
965
  # ---------- monitor jobs list ----------
966
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
966
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
967
967
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l result -d 'Only jobs that finished in this state: success, failure, error or abort; any other value is rejected before any request' -x
968
968
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l trigger -d 'Only jobs started by this trigger: api, schedule, webhook or postman-cli; any other value is rejected before any request' -x
969
969
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l since -d 'Only jobs that finished at or after this ISO 8601 date-time' -x
@@ -972,20 +972,20 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
972
972
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l json -d 'Print { monitorId, jobs, nextCursor } as JSON, each job with its runs'
973
973
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
974
974
  # ---------- monitor jobs get ----------
975
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
975
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
976
976
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from get' -l json -d 'Print the job as JSON, with each run\'s state, runner, counts, duration and attempts'
977
977
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
978
978
  # ---------- monitor runs ----------
979
979
  complete -c postman -n '__postman_using_subcommand runs get' -a get -d 'Show one attempt of a run: each request with its response or error, and its assertions, console lines and exceptions. A retried run has several attempts, numbered from 0; the latest is shown unless --attempt names another. Console, assertion and exception messages are the collection\'s own output, printed as the run recorded them.'
980
980
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs' -s h -l help -d 'display help for command'
981
981
  # ---------- monitor runs get ----------
982
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
982
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
983
983
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l attempt -d 'Which attempt to show, from 0 for the first (default: the latest)' -x
984
984
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l failed-only -d 'Show only requests with a failed assertion, an exception or a network error'
985
985
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l json -d 'Print the run as JSON: its state, attempt, assertion counts and every request with its entries'
986
986
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
987
987
  # ---------- monitor list ----------
988
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
988
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
989
989
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s w -l workspace -d 'Only monitors in this workspace (ids from `postman workspace list`)' -x
990
990
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s c -l collection -d 'Only monitors on this collection: its id or uid' -x
991
991
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s e -l environment -d 'Only monitors on this environment: its uid' -x
@@ -1001,11 +1001,11 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
1001
1001
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l json -d 'Print { monitors, nextCursor } as JSON, every monitor field except lastRun present (null when unset); monitor get carries lastRun'
1002
1002
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1003
1003
  # ---------- monitor get ----------
1004
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
1004
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
1005
1005
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from get' -l json -d 'Print the monitor as JSON, every field present (null when unset)'
1006
1006
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
1007
1007
  # ---------- monitor metrics ----------
1008
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
1008
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
1009
1009
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l since -d 'Only executions at or after this ISO 8601 date-time (defaults to 7 days ago)' -x
1010
1010
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l until -d 'Only executions at or before this ISO 8601 date-time (defaults to now)' -x
1011
1011
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -s f -l filter -d 'Show only requests whose name contains this text (case-insensitive)' -x
@@ -1013,11 +1013,11 @@ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_sub
1013
1013
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l json -d 'Print { monitorId, window, metricsAvailable, executions } as JSON, one entry per request per job per runner'
1014
1014
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -s h -l help -d 'display help for command'
1015
1015
  # ---------- monitor pause ----------
1016
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from pause' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
1016
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from pause' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
1017
1017
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from pause' -l json -d 'Print the outcome and the monitor\'s id, uid, name and active state as JSON'
1018
1018
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from pause' -s h -l help -d 'display help for command'
1019
1019
  # ---------- monitor resume ----------
1020
- complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)' -r
1020
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)' -r
1021
1021
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -l json -d 'Print the outcome and the monitor\'s id, uid, name and active state as JSON'
1022
1022
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -s h -l help -d 'display help for command'
1023
1023
  # ---------- monitor share ----------
@@ -1084,6 +1084,7 @@ complete -c postman -n '__fish_seen_subcommand_from request' -l auth-ntlm-workst
1084
1084
  complete -c postman -n '__fish_seen_subcommand_from request' -l auth-apikey-key -d 'Supply authentication parameters dynamically.' -x
1085
1085
  complete -c postman -n '__fish_seen_subcommand_from request' -l auth-apikey-value -d 'Supply authentication parameters dynamically.' -x
1086
1086
  complete -c postman -n '__fish_seen_subcommand_from request' -l auth-apikey-in -d 'Supply authentication parameters dynamically.' -x
1087
+ complete -c postman -n '__fish_seen_subcommand_from request' -r -k -a '(__fish_complete_suffix .json)'
1087
1088
 
1088
1089
  # ---------- runner ----------
1089
1090
  complete -c postman -n '__postman_using_subcommand runner start list regions' -a start -d 'Start a self-hosted runner in your own network.'
@@ -1289,7 +1290,7 @@ complete -c postman -n '__postman_using_subcommand workspace list prepare push l
1289
1290
  complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
1290
1291
  complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a lint -d 'Lint the current local Postman workspace: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
1291
1292
  complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a get -d 'Read a workspace\'s metadata, and optionally the ids of what it holds.'
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 context -d 'Everything about a workspace: collections, environments, monitors, mocks, specs and flows, and how they relate (which monitor runs which collection). Add `--section activity` for the change feed. Prints JSON when piped.'
1293
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a context -d 'Everything about a workspace: collections, environments, monitors, mocks, specs, flows and simulations, and how they relate (which monitor runs which collection). Add `--section activity` for the change feed. Prints JSON when piped.'
1293
1294
  complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a activity -d 'Shorthand for `workspace context --section activity`: who changed what, and the messages left on pushes.'
1294
1295
  complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a create -d 'Create a Postman workspace and bind it to this git repository.'
1295
1296
  complete -c postman -n '__postman_using_subcommand workspace list prepare push lint get context activity create delete share pull connect-git disconnect-git diff' -a delete -d 'Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
@@ -1334,14 +1335,14 @@ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_s
1334
1335
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
1335
1336
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
1336
1337
  # ---------- workspace context ----------
1337
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l section -d 'Comma-separated sections to show (collection, environment, monitor, mock, spec, flow, activity). Default: everything but activity. Counts are always reported for every inventory section.' -x
1338
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l section -d 'Comma-separated sections to show (collection, environment, monitor, mock, spec, flow, simulation, activity). Default: everything but activity. Counts are always reported for every inventory section.' -x
1338
1339
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l limit -d 'Max items per section, or entries for activity (default 25 items). A cut section says how many were left out.' -x
1339
1340
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l type -d 'Activity only: comma-separated element types, e.g. "api,collection". Use "workspacePush" for the messages left with `workspace push -m`.' -x
1340
1341
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l contributor -d 'Activity only: comma-separated user ids.' -x
1341
1342
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l cursor -d 'Activity only: the page of entries that follows this cursor.' -x
1342
1343
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l markdown -d 'Activity only: ask the API for a human-readable description of each entry.'
1343
1344
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l brief -d 'With only `--section activity`: one plain line per entry (time, who, message).'
1344
- complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l json -d 'Print JSON (schemaVersion 1.0). This is already the default when piped.'
1345
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l json -d 'Print JSON (schemaVersion 1.1). This is already the default when piped.'
1345
1346
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l text -d 'Print prose even when piped.'
1346
1347
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -l timeout -d 'Milliseconds to wait for the API (default 30000).' -x
1347
1348
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from context' -s h -l help -d 'display help for command'
@@ -1566,8 +1567,8 @@ complete -c postman -n '__fish_seen_subcommand_from skills; and __fish_seen_subc
1566
1567
  complete -c postman -n '__fish_seen_subcommand_from login' -l alias -d 'Specify the alias of the API key to fetch your resources using it. (This option is discontinued and will be removed in a future release.)' -x
1567
1568
  complete -c postman -n '__fish_seen_subcommand_from login' -l with-api-key -d 'Specify the API key directly.' -x
1568
1569
  complete -c postman -n '__fish_seen_subcommand_from login' -l region -d 'Specify the region for authentication. Use "eu" for EU region.' -x -a 'us eu'
1569
- 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 when this session is no longer a guest (for example after a logout).'
1570
- complete -c postman -n '__fish_seen_subcommand_from login' -l no-migrate-guest-workspace -d 'Do not copy a guest\'s local work into the account you sign in to. By default a guest\'s local work is copied.'
1570
+ complete -c postman -n '__fish_seen_subcommand_from login' -l migrate-guest-workspace -d 'Copy this repository\'s local work into a new workspace in the account you sign in to, even after the previous session has ended (for example after a logout).'
1571
+ complete -c postman -n '__fish_seen_subcommand_from login' -l no-migrate-guest-workspace -d 'Do not copy local work into the account you sign in to. By default local work is copied.'
1571
1572
  complete -c postman -n '__fish_seen_subcommand_from login' -l verbose -d 'Show detailed error information'
1572
1573
  complete -c postman -n '__fish_seen_subcommand_from login' -s h -l help -d 'display help for command'
1573
1574
 
@@ -1576,8 +1577,8 @@ complete -c postman -n '__fish_seen_subcommand_from logout' -l alias -d 'Specify
1576
1577
  complete -c postman -n '__fish_seen_subcommand_from logout' -s h -l help -d 'display help for command'
1577
1578
 
1578
1579
  # ---------- signup ----------
1579
- complete -c postman -n '__fish_seen_subcommand_from signup' -l guest -d 'Start working as an anonymous guest instead of signing up — no account or browser needed, so it works anywhere. Your work is saved to a temporary workspace you can keep later by running `postman signup`.'
1580
- complete -c postman -n '__fish_seen_subcommand_from signup' -l no-push -d 'Do not push local work to your guest workspace before signing up. By default, work saved under postman/ is pushed first, so the workspace you keep is not empty.'
1580
+ complete -c postman -n '__fish_seen_subcommand_from signup' -l guest -d 'Start a session without signing up — no account or browser needed, so it works anywhere. Your work is saved to a temporary workspace you can keep later by running `postman signup`.'
1581
+ complete -c postman -n '__fish_seen_subcommand_from signup' -l no-push -d 'Do not push local work to your workspace before signing up. By default, work saved under postman/ is pushed first, so the workspace you keep is not empty.'
1581
1582
  complete -c postman -n '__fish_seen_subcommand_from signup' -l json -d 'Print the sign-up details as machine-readable JSON.'
1582
1583
  complete -c postman -n '__fish_seen_subcommand_from signup' -s h -l help -d 'display help for command'
1583
1584
 
@@ -1,6 +1,6 @@
1
1
  #compdef postman
2
2
  compdef _postman postman
3
- # Zsh completion for Postman CLI (postman v1.82.0)
3
+ # Zsh completion for Postman CLI (postman v1.84.0)
4
4
  # Auto-generated by scripts/generate.mjs — DO NOT EDIT
5
5
  # Source: spec/commands.json
6
6
  # https://github.com/yokawasa/postman-cli-completion
@@ -82,8 +82,8 @@ _postman_commands() {
82
82
  'skills:Check and update the agent skills in this repository'
83
83
  'login:Authenticate with Postman to access your resources'
84
84
  'logout:Delete the stored Postman API key'
85
- 'signup:Sign up to keep the work you created as a guest'
86
- 'whoami:Show the Postman account or guest session this CLI session is using'
85
+ 'signup:Sign up to keep your work'
86
+ 'whoami:Show the Postman account or session this CLI is using'
87
87
  'application:Application-level commands\: initialise config and run tests'
88
88
  'app:Alias for application'
89
89
  'dependency:Manage workspace dependencies reused from other workspaces'
@@ -195,7 +195,7 @@ _postman_collection_commands() {
195
195
  'example:Add, update, remove, get, or list examples (saved responses) under a request.'
196
196
  'import:Import a cURL, HAR, or JMeter (.jmx) source into a v3 collection (local, or cloud with --workspace).'
197
197
  'list:List collections\: your local project'\''s collections by default, or a Postman cloud workspace'\''s collections with --workspace.'
198
- 'run:Initiate a Postman collection run from a given ID or path.'
198
+ 'run:Run a collection by ID or path, or a request file.'
199
199
  )
200
200
  _describe -t commands 'collection command' sub
201
201
  }
@@ -1651,7 +1651,7 @@ _postman_monitor_commands() {
1651
1651
 
1652
1652
  _postman_monitor_run() {
1653
1653
  _arguments \
1654
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1654
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1655
1655
  '(-x --suppress-exit-code)'{-x,--suppress-exit-code}'[Always exit 0, whatever the run'\''s result or the failure]' \
1656
1656
  '(-t --timeout)'{-t,--timeout}'[How long to wait for the run to finish, in milliseconds (default\: 900000)]:ms' \
1657
1657
  '--async[Submit the run and print its job id and Postman URL without waiting for it to finish]' \
@@ -1684,7 +1684,7 @@ _postman_monitor_create() {
1684
1684
  '--iteration-count[Number of iterations to run]:n' \
1685
1685
  '--iteration-strategy[How iteration data is consumed, for example round_robin, repeat_last or stop_at_end (requires --iteration-count, --dataset-id and --dataset-view-id)]:strategy' \
1686
1686
  '--no-run-now[Do not trigger an immediate run after creating the monitor]' \
1687
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1687
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1688
1688
  '--json[Print the outcome, the created monitor'\''s id, uid, name and active state, and the job of its first run, as JSON]' \
1689
1689
  '(-h --help)'{-h,--help}'[display help for command]'
1690
1690
  }
@@ -1713,7 +1713,7 @@ _postman_monitor_update() {
1713
1713
  '--dataset-view-id[Dataset view to iterate (used together with --dataset-id)]:id' \
1714
1714
  '--iteration-count[Number of iterations to run]:n' \
1715
1715
  '--iteration-strategy[How iteration data is consumed, for example round_robin, repeat_last or stop_at_end (requires --iteration-count, --dataset-id and --dataset-view-id)]:strategy' \
1716
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1716
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1717
1717
  '--json[Print the outcome and the monitor'\''s id, uid, name and active state as JSON]' \
1718
1718
  '(-h --help)'{-h,--help}'[display help for command]' \
1719
1719
  '*:monitorId:'
@@ -1721,8 +1721,8 @@ _postman_monitor_update() {
1721
1721
 
1722
1722
  _postman_monitor_delete() {
1723
1723
  _arguments \
1724
- '(-y --yes)'{-y,--yes}'[Skip the confirmation prompt; required when there is no interactive terminal or with --silent]' \
1725
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1724
+ '(-y --yes)'{-y,--yes}'[Skip the confirmation prompt; required when there is no interactive terminal]' \
1725
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1726
1726
  '--json[Print the outcome (deleted or aborted) and the monitor id as JSON]' \
1727
1727
  '(-h --help)'{-h,--help}'[display help for command]' \
1728
1728
  '*:monitorId:'
@@ -1756,7 +1756,7 @@ _postman_monitor_jobs_commands() {
1756
1756
 
1757
1757
  _postman_monitor_jobs_list() {
1758
1758
  _arguments \
1759
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1759
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1760
1760
  '--result[Only jobs that finished in this state\: success, failure, error or abort; any other value is rejected before any request]:state' \
1761
1761
  '--trigger[Only jobs started by this trigger\: api, schedule, webhook or postman-cli; any other value is rejected before any request]:value' \
1762
1762
  '--since[Only jobs that finished at or after this ISO 8601 date-time]:dateTime' \
@@ -1769,7 +1769,7 @@ _postman_monitor_jobs_list() {
1769
1769
 
1770
1770
  _postman_monitor_jobs_get() {
1771
1771
  _arguments \
1772
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1772
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1773
1773
  '--json[Print the job as JSON, with each run'\''s state, runner, counts, duration and attempts]' \
1774
1774
  '(-h --help)'{-h,--help}'[display help for command]' \
1775
1775
  '*:jobId:'
@@ -1801,7 +1801,7 @@ _postman_monitor_runs_commands() {
1801
1801
 
1802
1802
  _postman_monitor_runs_get() {
1803
1803
  _arguments \
1804
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1804
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1805
1805
  '--attempt[Which attempt to show, from 0 for the first (default\: the latest)]:n' \
1806
1806
  '--failed-only[Show only requests with a failed assertion, an exception or a network error]' \
1807
1807
  '--json[Print the run as JSON\: its state, attempt, assertion counts and every request with its entries]' \
@@ -1811,7 +1811,7 @@ _postman_monitor_runs_get() {
1811
1811
 
1812
1812
  _postman_monitor_list() {
1813
1813
  _arguments \
1814
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1814
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1815
1815
  '(-w --workspace)'{-w,--workspace}'[Only monitors in this workspace (ids from `postman workspace list`)]:id' \
1816
1816
  '(-c --collection)'{-c,--collection}'[Only monitors on this collection\: its id or uid]:id' \
1817
1817
  '(-e --environment)'{-e,--environment}'[Only monitors on this environment\: its uid]:id' \
@@ -1830,7 +1830,7 @@ _postman_monitor_list() {
1830
1830
 
1831
1831
  _postman_monitor_get() {
1832
1832
  _arguments \
1833
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1833
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1834
1834
  '--json[Print the monitor as JSON, every field present (null when unset)]' \
1835
1835
  '(-h --help)'{-h,--help}'[display help for command]' \
1836
1836
  '*:monitorId:'
@@ -1838,7 +1838,7 @@ _postman_monitor_get() {
1838
1838
 
1839
1839
  _postman_monitor_metrics() {
1840
1840
  _arguments \
1841
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1841
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1842
1842
  '--since[Only executions at or after this ISO 8601 date-time (defaults to 7 days ago)]:dateTime' \
1843
1843
  '--until[Only executions at or before this ISO 8601 date-time (defaults to now)]:dateTime' \
1844
1844
  '(-f --filter)'{-f,--filter}'[Show only requests whose name contains this text (case-insensitive)]:text' \
@@ -1850,7 +1850,7 @@ _postman_monitor_metrics() {
1850
1850
 
1851
1851
  _postman_monitor_pause() {
1852
1852
  _arguments \
1853
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1853
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1854
1854
  '--json[Print the outcome and the monitor'\''s id, uid, name and active state as JSON]' \
1855
1855
  '(-h --help)'{-h,--help}'[display help for command]' \
1856
1856
  '*:monitorId:'
@@ -1858,7 +1858,7 @@ _postman_monitor_pause() {
1858
1858
 
1859
1859
  _postman_monitor_resume() {
1860
1860
  _arguments \
1861
- '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a guest session)]:key:_files -g "*.(pem|crt|key)"' \
1861
+ '--api-key[Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session, then a session started by `postman init`)]:key:_files -g "*.(pem|crt|key)"' \
1862
1862
  '--json[Print the outcome and the monitor'\''s id, uid, name and active state as JSON]' \
1863
1863
  '(-h --help)'{-h,--help}'[display help for command]' \
1864
1864
  '*:monitorId:'
@@ -1932,7 +1932,7 @@ _postman_request() {
1932
1932
  '--auth-apikey-key[Supply authentication parameters dynamically.]:value' \
1933
1933
  '--auth-apikey-value[Supply authentication parameters dynamically.]:value' \
1934
1934
  '--auth-apikey-in[Supply authentication parameters dynamically.]:value' \
1935
- '*:URL:'
1935
+ '*:URL|request-file:_files -g "*.json"'
1936
1936
  }
1937
1937
 
1938
1938
  _postman_runner() {
@@ -2415,7 +2415,7 @@ _postman_workspace_commands() {
2415
2415
  'push:Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
2416
2416
  'lint:Lint the current local Postman workspace\: its configuration (.postman/resources.yaml) plus every discovered entity. Use --meta to lint only the configuration.'
2417
2417
  'get:Read a workspace'\''s metadata, and optionally the ids of what it holds.'
2418
- 'context:Everything about a workspace\: collections, environments, monitors, mocks, specs and flows, and how they relate (which monitor runs which collection). Add `--section activity` for the change feed. Prints JSON when piped.'
2418
+ 'context:Everything about a workspace\: collections, environments, monitors, mocks, specs, flows and simulations, and how they relate (which monitor runs which collection). Add `--section activity` for the change feed. Prints JSON when piped.'
2419
2419
  'activity:Shorthand for `workspace context --section activity`\: who changed what, and the messages left on pushes.'
2420
2420
  'create:Create a Postman workspace and bind it to this git repository.'
2421
2421
  'delete:Permanently delete a workspace and everything in it. Prompts for confirmation unless --yes is passed.'
@@ -2480,14 +2480,14 @@ _postman_workspace_get() {
2480
2480
 
2481
2481
  _postman_workspace_context() {
2482
2482
  _arguments \
2483
- '--section[Comma-separated sections to show (collection, environment, monitor, mock, spec, flow, activity). Default\: everything but activity. Counts are always reported for every inventory section.]:names' \
2483
+ '--section[Comma-separated sections to show (collection, environment, monitor, mock, spec, flow, simulation, activity). Default\: everything but activity. Counts are always reported for every inventory section.]:names' \
2484
2484
  '--limit[Max items per section, or entries for activity (default 25 items). A cut section says how many were left out.]:n' \
2485
2485
  '--type[Activity only\: comma-separated element types, e.g. "api,collection". Use "workspacePush" for the messages left with `workspace push -m`.]:types' \
2486
2486
  '--contributor[Activity only\: comma-separated user ids.]:ids' \
2487
2487
  '--cursor[Activity only\: the page of entries that follows this cursor.]:cursor' \
2488
2488
  '--markdown[Activity only\: ask the API for a human-readable description of each entry.]' \
2489
2489
  '--brief[With only `--section activity`\: one plain line per entry (time, who, message).]' \
2490
- '--json[Print JSON (schemaVersion 1.0). This is already the default when piped.]' \
2490
+ '--json[Print JSON (schemaVersion 1.1). This is already the default when piped.]' \
2491
2491
  '--text[Print prose even when piped.]' \
2492
2492
  '--timeout[Milliseconds to wait for the API (default 30000).]:ms' \
2493
2493
  '(-h --help)'{-h,--help}'[display help for command]' \
@@ -3074,8 +3074,8 @@ _postman_login() {
3074
3074
  '--alias[Specify the alias of the API key to fetch your resources using it. (This option is discontinued and will be removed in a future release.)]:alias' \
3075
3075
  '--with-api-key[Specify the API key directly.]:apikey' \
3076
3076
  '--region[Specify the region for authentication. Use "eu" for EU region.]:region:(us eu)' \
3077
- '--migrate-guest-workspace[Copy this repository'\''s local work into a new workspace in the account you sign in to, even when this session is no longer a guest (for example after a logout).]' \
3078
- '--no-migrate-guest-workspace[Do not copy a guest'\''s local work into the account you sign in to. By default a guest'\''s local work is copied.]' \
3077
+ '--migrate-guest-workspace[Copy this repository'\''s local work into a new workspace in the account you sign in to, even after the previous session has ended (for example after a logout).]' \
3078
+ '--no-migrate-guest-workspace[Do not copy local work into the account you sign in to. By default local work is copied.]' \
3079
3079
  '--verbose[Show detailed error information]' \
3080
3080
  '(-h --help)'{-h,--help}'[display help for command]'
3081
3081
  }
@@ -3088,8 +3088,8 @@ _postman_logout() {
3088
3088
 
3089
3089
  _postman_signup() {
3090
3090
  _arguments \
3091
- '--guest[Start working as an anonymous guest instead of signing up — no account or browser needed, so it works anywhere. Your work is saved to a temporary workspace you can keep later by running `postman signup`.]' \
3092
- '--no-push[Do not push local work to your guest workspace before signing up. By default, work saved under postman/ is pushed first, so the workspace you keep is not empty.]' \
3091
+ '--guest[Start a session without signing up — no account or browser needed, so it works anywhere. Your work is saved to a temporary workspace you can keep later by running `postman signup`.]' \
3092
+ '--no-push[Do not push local work to your workspace before signing up. By default, work saved under postman/ is pushed first, so the workspace you keep is not empty.]' \
3093
3093
  '--json[Print the sign-up details as machine-readable JSON.]' \
3094
3094
  '(-h --help)'{-h,--help}'[display help for command]'
3095
3095
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "postman-cli-completion",
3
- "version": "1.82.0",
3
+ "version": "1.84.0",
4
4
  "description": "Shell completions for the Postman CLI (zsh, bash, fish)",
5
5
  "type": "module",
6
6
  "bin": {