postman-cli-completion 1.57.0 → 1.59.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,10 +1,10 @@
1
- # Fish completion for Postman CLI (postman v1.57.0)
1
+ # Fish completion for Postman CLI (postman v1.59.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 login signup logout init skills collection environment globals api runner spec monitor workspace ws performance flows fl request sdk mock application app simulate context context-graph search webhook dataset dependency
7
+ not __fish_seen_subcommand_from login signup logout init whoami update skills collection environment globals api runner spec monitor workspace ws performance flows fl request sdk mock application app simulate context context-graph search webhook dataset dependency
8
8
  end
9
9
 
10
10
  function __postman_using_subcommand
@@ -22,17 +22,19 @@ complete -c postman -n __postman_no_subcommand -s h -l help -d 'display help for
22
22
 
23
23
  # ---------- Top-level commands ----------
24
24
  complete -c postman -n __postman_no_subcommand -a login -d 'Authenticate with Postman to access your resources.'
25
- complete -c postman -n __postman_no_subcommand -a signup -d 'Sign up to keep the work you created as a guest (claims your guest workspace). By default prints a single-use sign-up URL to open in a browser; --browser signs up in a browser and signs this CLI in.'
25
+ complete -c postman -n __postman_no_subcommand -a signup -d 'Sign up to keep the work you created as a guest (claims your guest workspace). Waits and signs this CLI in once the sign-up is completed in a browser — opening that browser here on a terminal, or printing the URL to hand over when output is piped.'
26
26
  complete -c postman -n __postman_no_subcommand -a logout -d 'Delete the stored Postman API key.'
27
27
  complete -c postman -n __postman_no_subcommand -a init -d 'Set up Postman artifacts and agent instructions in a repository.'
28
+ complete -c postman -n __postman_no_subcommand -a whoami -d 'Show the Postman account or guest session this CLI session is using.'
29
+ complete -c postman -n __postman_no_subcommand -a update -d 'Update Postman CLI using the original installation method.'
28
30
  complete -c postman -n __postman_no_subcommand -a skills -d 'Check and update the agent skills in this repository.'
29
31
  complete -c postman -n __postman_no_subcommand -a collection -d 'Run and test your Postman collections directly from the command line.'
30
32
  complete -c postman -n __postman_no_subcommand -a environment -d 'Work with local Postman environments from the command line. Also read cloud environments by ID.'
31
33
  complete -c postman -n __postman_no_subcommand -a globals -d 'Work with local Postman globals from the command line.'
32
34
  complete -c postman -n __postman_no_subcommand -a api -d 'Publish and test your APIs directly from the command line'
33
- complete -c postman -n __postman_no_subcommand -a runner -d 'Run runners on your own environments for monitoring your APIs'
35
+ complete -c postman -n __postman_no_subcommand -a runner -d 'Where your monitors execute: run and inspect your own self-hosted runners, and list the Postman-operated regions available to your team'
34
36
  complete -c postman -n __postman_no_subcommand -a spec -d 'Lint and validate Specifications from the command line'
35
- complete -c postman -n __postman_no_subcommand -a monitor -d 'Invoke a monitor run and display results'
37
+ complete -c postman -n __postman_no_subcommand -a monitor -d 'Run and manage Postman monitors.'
36
38
  complete -c postman -n __postman_no_subcommand -a workspace -d 'Manage workspace resources.'
37
39
  complete -c postman -n __postman_no_subcommand -a ws -d 'Alias for workspace'
38
40
  complete -c postman -n __postman_no_subcommand -a performance -d 'Manage performance tests on your collections.'
@@ -40,7 +42,7 @@ complete -c postman -n __postman_no_subcommand -a flows -d 'Manage and interact
40
42
  complete -c postman -n __postman_no_subcommand -a fl -d 'Alias for flows'
41
43
  complete -c postman -n __postman_no_subcommand -a request -d 'Send HTTP requests from the command line with full Postman capabilities including authentication, environment variables, assertions, retries, and detailed output control.'
42
44
  complete -c postman -n __postman_no_subcommand -a sdk -d 'Generate and manage your SDKs directly from the command line.'
43
- complete -c postman -n __postman_no_subcommand -a mock -d 'Run and manage Postman mocks, locally and in the cloud.'
45
+ complete -c postman -n __postman_no_subcommand -a mock -d 'Create, run, and manage Postman mocks — in your repository or in Postman cloud.'
44
46
  complete -c postman -n __postman_no_subcommand -a application -d 'Application-level commands: initialise config and run tests.'
45
47
  complete -c postman -n __postman_no_subcommand -a app -d 'Alias for application'
46
48
  complete -c postman -n __postman_no_subcommand -a simulate -d 'Start mock servers with simulated failure scenarios.'
@@ -59,7 +61,9 @@ complete -c postman -n '__fish_seen_subcommand_from login' -l verbose -d 'Show d
59
61
  complete -c postman -n '__fish_seen_subcommand_from login' -s h -l help -d 'display help for command'
60
62
 
61
63
  # ---------- signup ----------
62
- complete -c postman -n '__fish_seen_subcommand_from signup' -l browser -d 'Open a browser to sign up and sign this CLI in, instead of printing a URL.'
64
+ complete -c postman -n '__fish_seen_subcommand_from signup' -l browser -d 'Always open the sign-up URL in a browser here, rather than printing it.'
65
+ complete -c postman -n '__fish_seen_subcommand_from signup' -l wait -d 'Wait for the sign-up to complete even if no local browser is detected.'
66
+ complete -c postman -n '__fish_seen_subcommand_from signup' -l no-wait -d 'Print the sign-up URL and exit without waiting. Leaves this CLI a guest.'
63
67
  complete -c postman -n '__fish_seen_subcommand_from signup' -l json -d 'Print the sign-up details as machine-readable JSON.'
64
68
  complete -c postman -n '__fish_seen_subcommand_from signup' -s h -l help -d 'display help for command'
65
69
 
@@ -78,6 +82,13 @@ complete -c postman -n '__fish_seen_subcommand_from init' -l report-events -d 'S
78
82
  complete -c postman -n '__fish_seen_subcommand_from init' -s h -l help -d 'display help for command'
79
83
  complete -c postman -n '__fish_seen_subcommand_from init' -r -k -a '(__fish_complete_suffix .json)'
80
84
 
85
+ # ---------- whoami ----------
86
+ complete -c postman -n '__fish_seen_subcommand_from whoami' -l json -d 'Print current identity as machine-readable JSON.'
87
+ complete -c postman -n '__fish_seen_subcommand_from whoami' -s h -l help -d 'display help for command'
88
+
89
+ # ---------- update ----------
90
+ complete -c postman -n '__fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
91
+
81
92
  # ---------- skills ----------
82
93
  complete -c postman -n '__postman_using_subcommand skills status update' -a status -d 'Report whether this repository\'s skills are up to date.'
83
94
  complete -c postman -n '__postman_using_subcommand skills status update' -a update -d 'Fetch the latest skills into this repository.'
@@ -95,11 +106,20 @@ complete -c postman -n '__fish_seen_subcommand_from skills; and __fish_seen_subc
95
106
  complete -c postman -n '__fish_seen_subcommand_from skills; and __fish_seen_subcommand_from update' -r -k -a '(__fish_complete_suffix .json)'
96
107
 
97
108
  # ---------- collection ----------
98
- complete -c postman -n '__postman_using_subcommand collection migrate lint ai-readiness run' -a migrate -d 'Migrate a v2.1 collection to the v3 format'
99
- complete -c postman -n '__postman_using_subcommand collection migrate lint ai-readiness run' -a lint -d 'Run linting on a local v3 collection at the given file or directory path.'
100
- complete -c postman -n '__postman_using_subcommand collection migrate lint ai-readiness run' -a ai-readiness -d 'Score a Postman collection for AI readiness by ID, local file path, or local-mode directory.'
101
- complete -c postman -n '__postman_using_subcommand collection migrate lint ai-readiness run' -a run -d 'Initiate a Postman collection run from a given ID or path.'
109
+ complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get list run' -a new -d 'Scaffold a v3 collection on disk, or create one in a cloud Postman workspace with --workspace.'
110
+ complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get list run' -a migrate -d 'Migrate a v2.1 collection to the v3 format'
111
+ complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get list run' -a lint -d 'Run linting on a local v3 collection at the given file or directory path.'
112
+ complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get list run' -a ai-readiness -d 'Score a Postman collection for AI readiness by ID, local file path, or local-mode directory.'
113
+ complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get list run' -a get -d 'Fetch a Postman collection in the V3 format and print it.'
114
+ complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get list run' -a list -d 'List collections: your local project\'s collections by default, or a Postman cloud workspace\'s collections with --workspace.'
115
+ complete -c postman -n '__postman_using_subcommand collection new migrate lint ai-readiness get list run' -a run -d 'Initiate a Postman collection run from a given ID or path.'
102
116
  complete -c postman -n '__fish_seen_subcommand_from collection' -s h -l help -d 'display help for command'
117
+ # ---------- collection new ----------
118
+ 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
119
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -l force -d 'Rewrite the definition of an existing local collection. Existing request files are left alone.'
120
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -l verbose -d 'Verbose output'
121
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -l json -d 'JSON output'
122
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from new' -s h -l help -d 'display help for command'
103
123
  # ---------- collection migrate ----------
104
124
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from migrate' -s o -l output -d 'Output directory (default: ./<collection-name>)' -r
105
125
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from migrate' -s h -l help -d 'display help for command'
@@ -114,6 +134,17 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
114
134
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from ai-readiness' -l min-score -d 'Exit with a non-zero code if the overall score is below this threshold (0-100).' -x
115
135
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from ai-readiness' -s h -l help -d 'display help for command'
116
136
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from ai-readiness' -r -k -a '(__fish_complete_suffix .json)'
137
+ # ---------- collection get ----------
138
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
139
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from get' -l json -d 'Print the collection as machine-readable V3 JSON instead of a table'
140
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
141
+ # ---------- collection list ----------
142
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from list' -s w -l workspace -d 'List a Postman cloud workspace\'s collections by id. Omit to list the local project\'s collections.' -x
143
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from list' -s f -l filter -d 'Filter collections by name.' -x
144
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from list' -l verbose -d 'Verbose output'
145
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from list' -l debug -d 'Debug output'
146
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from list' -l json -d 'JSON output'
147
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
117
148
  # ---------- collection run ----------
118
149
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s e -l environment -d 'Specify an Id or path to a Postman Environment' -r
119
150
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -s g -l globals -d 'Specify an Id or path to a file containing Postman Globals' -r
@@ -151,9 +182,9 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
151
182
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l cookie-jar -d 'Specify the path to a custom cookie jar (serialized tough-cookie JSON)' -r
152
183
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l export-cookie-jar -d 'Exports the cookie jar to a file after completing the run' -r
153
184
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l verbose -d 'Show detailed information of collection run and each request sent'
154
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l mock -d 'Start a mock server from manifest (.json, .yaml or .yml) file' -r
155
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l port -d 'Port for the --mock server; pass "auto" for an OS-assigned ephemeral port (default: configured port, falls back to an ephemeral one if busy). Only valid with --mock.' -x
156
- complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l use-mock -d 'Redirect requests for a URL or {{variable}} to a mock during the run. Format: "<url> mock|mock-server:<path|id> [scenario]". Repeat the flag to redirect multiple URLs (one --use-mock per mock). Use "mock:<path>" for a local mock manifest (.json/.yaml/.yml), "mock:<id>" for a local mock by id (fetched from the cloud then run locally), or "mock-server:<id>" to redirect to a deployed mock server\'s URL. Id-based references require `postman login` (or --postman-api-key). The optional third field selects a scenario (defaults to "default"). (default: [])' -x
185
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l mock -d 'Start a mock server for the run, its path if it lives in your repository (relative or absolute, e.g. ./postman/mocks/orders) or its id if it lives in Postman cloud (fetched then run locally). An id needs `postman login` (or --postman-api-key).' -r
186
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l port -d 'Port for the --mock server (e.g. 4010), or "auto" for a free one. Defaults to the mock\'s configured port. Only valid with --mock.' -x
187
+ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l use-mock -d 'Redirect requests for a URL or {{variable}} to a mock during the run. Format: "<url> mock|mock-server:<path|id> [scenario]". Repeat the flag to redirect several URLs (one --use-mock each). Use "mock:<path>" for a mock in your repository (path relative or absolute, e.g. ./postman/mocks/orders), "mock:<id>" for a mock in Postman cloud (fetched then run locally), or "mock-server:<id>" to send requests to a deployed mock server. An id needs `postman login` (or --postman-api-key). The optional third field picks a scenario (defaults to "default"). (default: [])' -x
157
188
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l simulate -d 'Start mock servers with fault-injection scenarios from a .sim.yaml file' -r
158
189
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l report-events -d 'Upload results for git-native v3 collection runs. Analytics are sent by default'
159
190
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -l no-report-events -d 'Do not send analytics to Postman'
@@ -172,11 +203,18 @@ complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_
172
203
  complete -c postman -n '__fish_seen_subcommand_from collection; and __fish_seen_subcommand_from run' -r -k -a '(__fish_complete_suffix .json)'
173
204
 
174
205
  # ---------- environment ----------
175
- complete -c postman -n '__postman_using_subcommand environment list get var lint' -a list -d 'List environments in a Postman workspace.'
176
- complete -c postman -n '__postman_using_subcommand environment list get var lint' -a get -d 'Read an environment by ID or local environment file path.'
177
- complete -c postman -n '__postman_using_subcommand environment list get var lint' -a var -d 'Read and update environment variables.'
178
- complete -c postman -n '__postman_using_subcommand environment list get var lint' -a lint -d 'Run linting on a local Postman environment at the given file or directory path.'
206
+ complete -c postman -n '__postman_using_subcommand environment new list get var lint' -a new -d 'Scaffold a local environment file, or create one in a Postman workspace with --workspace.'
207
+ complete -c postman -n '__postman_using_subcommand environment new list get var lint' -a list -d 'List environments in a Postman workspace.'
208
+ complete -c postman -n '__postman_using_subcommand environment new list get var lint' -a get -d 'Read an environment by ID or local environment file path.'
209
+ complete -c postman -n '__postman_using_subcommand environment new list get var lint' -a var -d 'Read and update environment variables.'
210
+ complete -c postman -n '__postman_using_subcommand environment new list get var lint' -a lint -d 'Run linting on a local Postman environment at the given file or directory path.'
179
211
  complete -c postman -n '__fish_seen_subcommand_from environment' -s h -l help -d 'display help for command'
212
+ # ---------- environment new ----------
213
+ complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from new' -s w -l workspace -d 'Create the environment in a cloud Postman workspace instead of scaffolding it locally. Required when the current directory is not a local Postman workspace.' -x
214
+ complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from new' -l force -d 'Overwrite an existing local environment file.'
215
+ complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from new' -l verbose -d 'Verbose output'
216
+ complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from new' -l json -d 'JSON output'
217
+ complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from new' -s h -l help -d 'display help for command'
180
218
  # ---------- environment list ----------
181
219
  complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from list' -s w -l workspace -d 'Workspace ID to list environments from.' -x
182
220
  complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from list' -s f -l filter -d 'Filter environments by name.' -x
@@ -203,6 +241,7 @@ complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen
203
241
  complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from var; and __fish_seen_subcommand_from get' -s e -l environment -d 'Cloud Environment ID or local environment file path.' -r
204
242
  complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from var; and __fish_seen_subcommand_from get' -l verbose -d 'Verbose output'
205
243
  complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from var; and __fish_seen_subcommand_from get' -l json -d 'JSON output'
244
+ complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from var; and __fish_seen_subcommand_from get' -l show-secrets -d 'Show secret variable values in output'
206
245
  complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from var; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
207
246
  complete -c postman -n '__fish_seen_subcommand_from environment; and __fish_seen_subcommand_from var; and __fish_seen_subcommand_from get' -r -k -a '(__fish_complete_suffix .json)'
208
247
  # ---------- environment var unset ----------
@@ -245,7 +284,9 @@ complete -c postman -n '__fish_seen_subcommand_from api; and __fish_seen_subcomm
245
284
  complete -c postman -n '__fish_seen_subcommand_from api; and __fish_seen_subcommand_from publish' -s h -l help -d 'display help for command'
246
285
 
247
286
  # ---------- runner ----------
248
- complete -c postman -n '__postman_using_subcommand runner start' -a start -d 'Start a runner'
287
+ complete -c postman -n '__postman_using_subcommand runner start list regions' -a start -d 'Start a runner'
288
+ complete -c postman -n '__postman_using_subcommand runner start list regions' -a list -d 'List the team\'s registered self-hosted runners'
289
+ complete -c postman -n '__postman_using_subcommand runner start list regions' -a regions -d 'List the region and private-runner values valid for monitor create/update --runner, including a static IP where configured'
249
290
  complete -c postman -n '__fish_seen_subcommand_from runner' -s h -l help -d 'display help for command'
250
291
  # ---------- runner start ----------
251
292
  complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -l id -d 'The ID of the runner to execute' -x
@@ -260,12 +301,24 @@ complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subc
260
301
  complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -l report-events -d 'Accepted for compatibility; analytics are sent by default'
261
302
  complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -l no-report-events -d 'Do not send analytics to Postman'
262
303
  complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from start' -s h -l help -d 'display help for command'
304
+ # ---------- runner list ----------
305
+ complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session)' -r
306
+ complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from list' -s w -l workspace -d 'Filter to runners in this workspace' -x
307
+ complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from list' -l json -d 'Output the runner list as JSON instead of a table'
308
+ complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
309
+ # ---------- runner regions ----------
310
+ complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from regions' -l api-key -d 'Postman API key (defaults to POSTMAN_API_KEY, then the `postman login` session)' -r
311
+ complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from regions' -l json -d 'Output the region list as JSON instead of a table'
312
+ complete -c postman -n '__fish_seen_subcommand_from runner; and __fish_seen_subcommand_from regions' -s h -l help -d 'display help for command'
263
313
 
264
314
  # ---------- spec ----------
265
- complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get' -a lint -d 'Run linting on the given specification by ID or local file path.'
266
- complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get' -a ai-readiness -d 'Score an OpenAPI specification for AI readiness by ID or local file path.'
267
- complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get' -a list -d 'List local spec files under a path, or (no path) a workspace\'s cloud specs.'
268
- complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get' -a get -d 'Read a spec definition, including every file of a multi-file spec.'
315
+ complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a lint -d 'Run linting on the given specification by ID or local file path.'
316
+ complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a ai-readiness -d 'Score an OpenAPI specification for AI readiness by ID or local file path.'
317
+ complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a list -d 'List local spec files under a path, or (no path) a workspace\'s cloud specs.'
318
+ complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a get -d 'Read a spec definition, including every file of a multi-file spec.'
319
+ complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a file -d 'Add, update, or remove files in a spec (cloud ID or local directory).'
320
+ complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a create -d 'Create a new spec in a workspace, or (with path) scaffold a local spec file.'
321
+ complete -c postman -n '__postman_using_subcommand spec lint ai-readiness list get file create generate' -a generate -d 'Generate artifacts from a specification.'
269
322
  complete -c postman -n '__fish_seen_subcommand_from spec' -s h -l help -d 'display help for command'
270
323
  # ---------- spec lint ----------
271
324
  complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from lint' -s f -l fail-severity -d 'Results of this level or above will trigger a failure exit code. [choices: "error", "warning", "info", "hint"] (default: "ERROR")' -x
@@ -288,23 +341,192 @@ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcom
288
341
  complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key' -r
289
342
  complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from get' -l json -d 'Output as JSON (full spec definition)'
290
343
  complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
344
+ # ---------- spec file ----------
345
+ complete -c postman -n '__postman_using_subcommand file add update rm' -a add -d 'Add a new file to a spec.'
346
+ complete -c postman -n '__postman_using_subcommand file add update rm' -a update -d 'Update an existing file in a spec.'
347
+ complete -c postman -n '__postman_using_subcommand file add update rm' -a rm -d 'Remove a file from a spec.'
348
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file' -s h -l help -d 'display help for command'
349
+ # ---------- spec file add ----------
350
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from add' -s c -l content -d 'File content (reads from stdin if omitted)' -x
351
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from add' -l api-key -d 'Postman API key' -r
352
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from add' -s h -l help -d 'display help for command'
353
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from add' -r -k -a '(__fish_complete_suffix .json)'
354
+ # ---------- spec file update ----------
355
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from update' -s c -l content -d 'New file content (reads from stdin if omitted)' -x
356
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from update' -l api-key -d 'Postman API key' -r
357
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
358
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from update' -r -k -a '(__fish_complete_suffix .json)'
359
+ # ---------- spec file rm ----------
360
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from rm' -s y -l yes -d 'Skip confirmation prompt'
361
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from rm' -l api-key -d 'Postman API key' -r
362
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from rm' -s h -l help -d 'display help for command'
363
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from file; and __fish_seen_subcommand_from rm' -r -k -a '(__fish_complete_suffix .json)'
364
+ # ---------- spec create ----------
365
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from create' -s n -l name -d 'Specification name / title' -x
366
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from create' -s t -l type -d 'Spec type: openapi, asyncapi, graphql, protobuf, smithy (default: openapi) (default: "openapi")' -x
367
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from create' -l spec-version -d 'Spec version (e.g. 3.1 for openapi, 3 for protobuf)' -x
368
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from create' -s f -l format -d 'File format: yaml or json (openapi/asyncapi only, default: yaml) (default: "yaml")' -x
369
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from create' -s w -l workspace -d 'Workspace ID (cloud create, defaults to .postman/resources.yaml)' -x
370
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from create' -l force -d 'Overwrite an existing local file'
371
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from create' -l api-key -d 'Postman API key' -r
372
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from create' -s h -l help -d 'display help for command'
373
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from create' -r -k -a '(__fish_complete_suffix .json)'
374
+ # ---------- spec generate ----------
375
+ complete -c postman -n '__postman_using_subcommand generate collection' -a collection -d 'Generate a Postman collection from a specification.'
376
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate' -s h -l help -d 'display help for command'
377
+ # ---------- spec generate collection ----------
378
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from collection' -s n -l name -d 'Collection name' -x
379
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from collection' -l folder-strategy -d 'Folder strategy: Paths or Tags (default: Paths) (default: "Paths")' -x
380
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from collection' -s w -l workspace -d 'Workspace ID (cloud mode)' -x
381
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from collection' -l api-key -d 'Postman API key' -r
382
+ complete -c postman -n '__fish_seen_subcommand_from spec; and __fish_seen_subcommand_from generate; and __fish_seen_subcommand_from collection' -s h -l help -d 'display help for command'
291
383
 
292
384
  # ---------- monitor ----------
293
- complete -c postman -n '__postman_using_subcommand monitor run' -a run -d 'Invoke a monitor run and display results.'
385
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a run -d 'Invoke a monitor run and display results.'
386
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a create -d 'Create a collection-based monitor.'
387
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a update -d 'Update a monitor\'s schedule, runner, notifications or run options.'
388
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a delete -d 'Permanently delete a monitor. Prompts for confirmation unless --yes is passed.'
389
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a jobs -d 'Inspect a monitor\'s jobs and their per-region runs.'
390
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a runs -d 'Inspect a monitor run\'s attempts.'
391
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a list -d 'List the monitors visible to you.'
392
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a get -d 'Show a monitor\'s configuration.'
393
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a metrics -d 'Show per-request latency and outcome history for a monitor.'
394
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a pause -d 'Pause a monitor, so it stops firing on schedule.'
395
+ complete -c postman -n '__postman_using_subcommand monitor run create update delete jobs runs list get metrics pause resume' -a resume -d 'Resume a paused monitor, so it fires on schedule again.'
294
396
  complete -c postman -n '__fish_seen_subcommand_from monitor' -s h -l help -d 'display help for command'
295
397
  # ---------- monitor run ----------
398
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key (defaults to the `postman login` session)' -r
296
399
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -s x -l suppress-exit-code -d 'Specify whether or not to override the default exit code for the current run'
297
400
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -s t -l timeout -d 'Maximum wait time for run completion in milliseconds (default: 15 minutes) (default: 900000)' -x
401
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -l async -d 'Submit the run and return immediately with its job id and Postman URL, without waiting for completion'
402
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -l json -d 'Output the run\'s verdict as JSON instead of a table, printing nothing else'
298
403
  complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
404
+ # ---------- monitor create ----------
405
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -s c -l collection -d 'Collection to monitor -- accepts the id shown in the Postman app, prefixed or bare' -x
406
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l name -d 'Monitor name (defaults to the linked collection\'s own name)' -x
407
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l environment -d 'Environment to run the monitored collection with' -x
408
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -s w -l workspace -d 'Workspace to create the monitor in (defaults to the workspace named in the local .postman/resources.yaml manifest; required if neither is available)' -x
409
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l schedule -d 'Cron expression for the monitor\'s schedule' -x
410
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l timezone -d 'Time zone for --schedule, e.g. America/New_York (defaults to the host machine\'s own zone)' -x
411
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l runner -d 'A Postman region name (see `postman runner regions`) or the id of a self-hosted runner created in Postman (list existing ones with `postman runner list`) to run from (repeatable) (default: [])' -x
412
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l notify-email -d 'Email to notify on a run failure or error (repeatable) (default: [])' -x
413
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l notification-limit -d 'Cap consecutive notifications before they are muted (service range: 1-99)' -x
414
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l retry -d 'Retries on a failed run (service caps this at 2)' -x
415
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l timeout -d 'Request timeout in milliseconds' -x
416
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l delay -d 'Delay between requests in milliseconds' -x
417
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l strict-ssl -d 'Fail the run when the target\'s TLS certificate cannot be verified'
418
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l insecure -d 'Skip TLS certificate verification for the monitored target'
419
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l follow-redirects -d 'Follow HTTP redirects during the run'
420
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l block-redirects -d 'Do not follow HTTP redirects during the run'
421
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l dataset-id -d 'Dataset to use as iteration data (used together with --dataset-view-id)' -x
422
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l dataset-view-id -d 'Dataset view to iterate (used together with --dataset-id)' -x
423
+ 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
424
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l iteration-strategy -d 'How iteration data is consumed, e.g. round_robin, repeat_last, stop_at_end (requires --iteration-count, --dataset-id and --dataset-view-id)' -x
425
+ 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'
426
+ 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)' -r
427
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -l json -d 'Output as JSON instead of a table'
428
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from create' -s h -l help -d 'display help for command'
429
+ # ---------- monitor update ----------
430
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l name -d 'New monitor name' -x
431
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l schedule -d 'New cron expression for the monitor\'s schedule' -x
432
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l timezone -d 'Time zone for --schedule, e.g. America/New_York (defaults to the host machine\'s own zone)' -x
433
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l runner -d 'A Postman region name (see `postman runner regions`) or the id of a self-hosted runner created in Postman (list existing ones with `postman runner list`) to run from (repeatable; replaces the current set) (default: [])' -x
434
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l notify-email -d 'Email to notify on a run failure or error (repeatable; replaces the current list) (default: [])' -x
435
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l clear-notifications -d 'Remove every notification recipient'
436
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l notification-limit -d 'Cap consecutive notifications before they are muted (service range: 1-99)' -x
437
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l retry -d 'Retries on a failed run (service caps this at 2)' -x
438
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l timeout -d 'Request timeout in milliseconds' -x
439
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l delay -d 'Delay between requests in milliseconds' -x
440
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l strict-ssl -d 'Fail the run when the target\'s TLS certificate cannot be verified'
441
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l insecure -d 'Skip TLS certificate verification for the monitored target'
442
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l follow-redirects -d 'Follow HTTP redirects during the run'
443
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l block-redirects -d 'Do not follow HTTP redirects during the run'
444
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l dataset-id -d 'Dataset to use as iteration data (used together with --dataset-view-id)' -x
445
+ 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
446
+ 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
447
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l iteration-strategy -d 'How iteration data is consumed, e.g. round_robin, repeat_last, stop_at_end (requires --iteration-count, --dataset-id and --dataset-view-id)' -x
448
+ 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)' -r
449
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -l json -d 'Output as JSON instead of a table'
450
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
451
+ # ---------- monitor delete ----------
452
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Skip the confirmation prompt'
453
+ 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)' -r
454
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -l json -d 'Output the outcome, including any failure, as JSON instead of a plain message'
455
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
456
+ # ---------- monitor jobs ----------
457
+ complete -c postman -n '__postman_using_subcommand jobs list get' -a list -d 'List a monitor\'s recent jobs.'
458
+ complete -c postman -n '__postman_using_subcommand jobs list get' -a get -d 'Report one job\'s terminal state and its per-region run outcomes.'
459
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs' -s h -l help -d 'display help for command'
460
+ # ---------- monitor jobs list ----------
461
+ 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 the `postman login` session)' -r
462
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l result -d 'Filter by outcome, e.g. success, failure, error, abort (server-validated, not a fixed list)' -x
463
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l trigger -d 'Filter by trigger, e.g. api, schedule, webhook, postman-cli (server-validated, not a fixed list)' -x
464
+ 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
465
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l limit -d 'Maximum number of jobs to return' -x
466
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l cursor -d 'Opaque pagination cursor' -x
467
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from list' -l json -d 'Output as JSON instead of a table'
468
+ 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'
469
+ # ---------- monitor jobs get ----------
470
+ 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 the `postman login` session)' -r
471
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from jobs; and __fish_seen_subcommand_from get' -l json -d 'Output as JSON instead of a table'
472
+ 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'
473
+ # ---------- monitor runs ----------
474
+ complete -c postman -n '__postman_using_subcommand runs get' -a get -d 'Report which test assertions ran during one attempt of a run, which failed, and why.'
475
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs' -s h -l help -d 'display help for command'
476
+ # ---------- monitor runs get ----------
477
+ 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 the `postman login` session)' -r
478
+ 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 of the run to show, counting from 0 (default: the latest)' -x
479
+ 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 failed assertions'
480
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from runs; and __fish_seen_subcommand_from get' -l json -d 'Output as JSON instead of a table'
481
+ 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'
482
+ # ---------- monitor list ----------
483
+ 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)' -r
484
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s w -l workspace -d 'Filter to monitors in this workspace' -x
485
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s c -l collection -d 'Filter to monitors on this collection' -x
486
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l environment -d 'Filter to monitors on this environment' -x
487
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l runner -d 'Filter to a Self-Hosted Runner ID (not a Postman Region). Cannot be combined with --workspace, --collection, --environment, --owner, --team or --active.' -x
488
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l owner -d 'Filter to monitors created by this user id (shown in the Owner column)' -x
489
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l team -d 'Filter to monitors owned by your own team'
490
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l active -d 'Filter by active state' -x
491
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l limit -d 'Max monitors to return. The service caps page size and rejects a value above it with its own error.' -x
492
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l offset -d 'Not supported: the service accepts this parameter and silently ignores it. Refused locally. Use --cursor instead.' -x
493
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l cursor -d 'Pagination cursor from a previous page\'s response.' -x
494
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l columns -d 'Comma-separated columns to show. Defaults to Name, Status, ID, Schedule, Owner, Collection. Also available: State, Notifications, Environment, Runners.' -x
495
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l no-headers -d 'Omit the header row'
496
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s f -l filter -d 'Show only monitors whose name contains this text (applies to the returned page, case-insensitive)' -x
497
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l sort -d 'Sort the returned page by "name" or "active"' -x
498
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -l json -d 'Output as JSON instead of a table'
499
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
500
+ # ---------- monitor get ----------
501
+ 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)' -r
502
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from get' -l json -d 'Output as JSON instead of a table'
503
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
504
+ # ---------- monitor metrics ----------
505
+ 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)' -r
506
+ 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
507
+ 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
508
+ 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
509
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l limit -d 'Cap the number of rows shown: executions (newest first) under --json, or table rows (worst-behaving request first) otherwise. Not honoured by the service -- there is no server-side pagination on this route.' -x
510
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -l json -d 'Output as JSON instead of a table'
511
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from metrics' -s h -l help -d 'display help for command'
512
+ # ---------- monitor pause ----------
513
+ 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)' -r
514
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from pause' -l json -d 'Output as JSON instead of a table'
515
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from pause' -s h -l help -d 'display help for command'
516
+ # ---------- monitor resume ----------
517
+ 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)' -r
518
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -l json -d 'Output as JSON instead of a table'
519
+ complete -c postman -n '__fish_seen_subcommand_from monitor; and __fish_seen_subcommand_from resume' -s h -l help -d 'display help for command'
299
520
 
300
521
  # ---------- workspace ----------
301
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git' -a list -d 'List all available Postman Workspaces'
302
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git' -a prepare -d 'Prepare local collections and environments for push by validating and regenerating IDs if needed.'
303
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
304
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git' -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.'
305
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git' -a create -d 'Create a Postman workspace and bind it to this git repository.'
306
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git' -a pull -d 'Pull workspace entities from a Postman workspace into the local git-native folder.'
307
- complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git' -a connect-git -d 'Connect a Postman workspace to a local git repository.'
522
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git diff' -a list -d 'List all available Postman Workspaces'
523
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git diff' -a prepare -d 'Prepare local collections and environments for push by validating and regenerating IDs if needed.'
524
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git diff' -a push -d 'Push local workspace entities (collections, environments, specifications, mocks and more) to Postman workspace.'
525
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-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.'
526
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git diff' -a create -d 'Create a Postman workspace and bind it to this git repository.'
527
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git diff' -a pull -d 'Pull workspace entities from a Postman workspace into the local git-native folder.'
528
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git diff' -a connect-git -d 'Connect a Postman workspace to a local git repository.'
529
+ complete -c postman -n '__postman_using_subcommand workspace list prepare push lint create pull connect-git diff' -a diff -d 'Preview local-vs-cloud drift before pushing. Read-only: nothing is created, updated or deleted.'
308
530
  complete -c postman -n '__fish_seen_subcommand_from workspace' -s h -l help -d 'display help for command'
309
531
  # ---------- workspace list ----------
310
532
  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
@@ -348,9 +570,18 @@ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_s
348
570
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from connect-git' -l verbose -d 'Show detailed logging'
349
571
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from connect-git' -s h -l help -d 'display help for command'
350
572
  complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from connect-git' -r -k -a '(__fish_complete_suffix .json)'
573
+ # ---------- workspace diff ----------
574
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l push-strategy -d 'Strategy to preview. "force-sync" also shows cloud entities that would be DELETED. Defaults to "force-sync".' -x
575
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l summary -d 'Skip content comparison. Faster, but updates are listed without checking whether they changed.'
576
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l json -d 'Print the diff as machine-readable JSON.'
577
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l exit-code -d 'Exit with code 1 when drift is found (for CI gates).'
578
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l verbose -d 'Show detailed logging'
579
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -l timeout -d 'Abort the run after this many milliseconds. Defaults to 120000.' -x
580
+ complete -c postman -n '__fish_seen_subcommand_from workspace; and __fish_seen_subcommand_from diff' -s h -l help -d 'display help for command'
351
581
 
352
582
  # ---------- performance ----------
353
- complete -c postman -n '__postman_using_subcommand performance run' -a run -d 'Run a performance test on a collection'
583
+ complete -c postman -n '__postman_using_subcommand performance run runs' -a run -d 'Run a performance test on a collection'
584
+ complete -c postman -n '__postman_using_subcommand performance run runs' -a runs -d 'List past performance runs for a collection, newest first.'
354
585
  complete -c postman -n '__fish_seen_subcommand_from performance' -s h -l help -d 'display help for command'
355
586
  # ---------- performance run ----------
356
587
  complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s e -l environment -d 'Specify an Id to a Postman Environment' -x
@@ -370,6 +601,12 @@ complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen
370
601
  complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -l use-mock -d 'Redirect a variable/host to a local code mock or cloud Mock Server (repeatable). Format: "<{{var}}|host> mock|mock-server:<path|id> [scenario]" (default: [])' -x
371
602
  complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
372
603
  complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from run' -r -k -a '(__fish_complete_suffix .json)'
604
+ # ---------- performance runs ----------
605
+ complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from runs' -s c -l collection-id -d 'Collection ID whose performance runs to list' -x
606
+ complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from runs' -l cursor -d 'Pagination cursor from a previous page\'s response' -x
607
+ complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from runs' -l json -d 'Output as JSON instead of a table'
608
+ complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from runs' -l timeout -d 'Milliseconds to wait for the service before failing (default: "30000")' -x
609
+ complete -c postman -n '__fish_seen_subcommand_from performance; and __fish_seen_subcommand_from runs' -s h -l help -d 'display help for command'
373
610
 
374
611
  # ---------- flows ----------
375
612
  complete -c postman -n '__postman_using_subcommand flows list trigger deploy run update list-runs get-run' -a list -d 'List all flows'
@@ -581,66 +818,72 @@ complete -c postman -n '__fish_seen_subcommand_from sdk; and __fish_seen_subcomm
581
818
  complete -c postman -n '__fish_seen_subcommand_from sdk; and __fish_seen_subcommand_from connections; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
582
819
 
583
820
  # ---------- mock ----------
584
- complete -c postman -n '__postman_using_subcommand mock generate run deploy get list log delete' -a generate -d 'Generate a runnable mock from a Postman collection (v2.0/v2.1/v3 file, or a git-native v3 collection directory) or an OpenAPI 3.0/3.1 spec file. The source type is auto-detected. Omit the source to scaffold a sample shopping-cart mock (POST /cart/items, GET /cart, POST /checkout). Writes a local mock by default, or a cloud mock with --workspace.'
585
- complete -c postman -n '__postman_using_subcommand mock generate run deploy get list log delete' -a run -d 'Start a local mock server from a cloud mock id (fetched and run locally), a manifest file (JSON or YAML), a mock directory (postman/mocks/<slug>), or a .js handler.'
586
- complete -c postman -n '__postman_using_subcommand mock generate run deploy get list log delete' -a deploy -d 'Deploy a cloud mock into a mock server.'
587
- complete -c postman -n '__postman_using_subcommand mock generate run deploy get list log delete' -a get -d 'Show a mock\'s details: a cloud mock by id, or a local mock by path.'
588
- complete -c postman -n '__postman_using_subcommand mock generate run deploy get list log delete' -a list -d 'List a workspace\'s cloud mocks, or (with a path) local mocks under a directory.'
589
- complete -c postman -n '__postman_using_subcommand mock generate run deploy get list log delete' -a log -d 'Browse a deployed mock server\'s request/response logs by its id (see `mock get`).'
590
- complete -c postman -n '__postman_using_subcommand mock generate run deploy get list log delete' -a delete -d 'Permanently remove a mock: a cloud mock by id, or a local mock artifact by path.'
821
+ 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.'
822
+ 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).'
823
+ 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).'
824
+ 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.'
825
+ complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a get -d 'Show a mock\'s details using its path if it lives in your repository, or its id if it lives in Postman cloud.'
826
+ complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a list -d 'List the mocks in your repository or Postman cloud workspace'
827
+ complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a log -d 'Show the requests a live mock server has received and the responses it sent, using its id.'
828
+ complete -c postman -n '__postman_using_subcommand mock generate run push deploy get list log delete' -a delete -d 'Delete a mock using its path if it lives in your repository, or its id if it lives in Postman cloud. Cannot be undone.'
591
829
  complete -c postman -n '__fish_seen_subcommand_from mock' -s h -l help -d 'display help for command'
592
830
  # ---------- mock generate ----------
593
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s o -l output -d 'Output directory for the mock (default: postman/mocks/<slug>)' -r
594
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s n -l name -d 'Display name for the generated mock. Optional with a source (derived from it); required when generating without a source.' -x
595
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l port -d 'Port the mock server should listen on (default: 4500)' -x
596
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l force -d 'Overwrite the config.yaml/default.js in the output directory if it already exists'
597
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s u -l update -d 'Update an existing mock in place from the source: path to its config.yaml (or the directory containing it). Regenerates the default scenario handler and preserves the existing name/port. Cannot be combined with --output.' -r
598
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s w -l workspace -d 'Create a cloud mock in this Postman workspace instead of a local mock. Cannot be combined with --output/--force/--update.' -x
599
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -l api-key -d 'Postman API key for --workspace (defaults to the `postman login` session)' -r
831
+ 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
832
+ 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
833
+ 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
834
+ 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'
835
+ 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
836
+ 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.' -x
837
+ 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 (defaults to your `postman login` session)' -r
600
838
  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'
601
839
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from generate' -s h -l help -d 'display help for command'
602
840
  # ---------- mock run ----------
603
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s e -l environment -d 'Path to an environment file (JSON or YAML) for pm.environment' -r
604
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s g -l globals -d 'Path to a globals file (JSON or YAML) for pm.globals' -r
605
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s p -l port -d 'Mock server port, or "auto" for an ephemeral one (default: configured port, falls back to an ephemeral one if busy).' -x
606
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key for cloud mock ids (defaults to the `postman login` session)' -r
841
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s e -l environment -d 'Path to a file of environment variables for the mock. Relative or absolute, e.g. ./postman/environments/dev.json' -r
842
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s g -l globals -d 'Path to a file of global variables for the mock. Relative or absolute, e.g. ./globals.json' -r
843
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s p -l port -d 'Port to run on (e.g. 4010), or "auto" for a free one. Defaults to the mock\'s configured port.' -x
844
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -l api-key -d 'Postman API key, used with a Postman cloud id (defaults to your `postman login` session)' -r
607
845
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -s h -l help -d 'display help for command'
608
846
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from run' -r -k -a '(__fish_complete_suffix .json)'
847
+ # ---------- mock push ----------
848
+ complete -c postman -n '__fish_seen_subcommand_from mock; 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
849
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from push' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
850
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from push' -s h -l help -d 'display help for command'
851
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from push' -r -k -a '(__fish_complete_suffix .json)'
609
852
  # ---------- mock deploy ----------
610
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s w -l workspace -d 'Workspace that will own the mock server (defaults to the workspace linked in .postman/resources.yaml)' -x
611
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s n -l name -d 'Display name for the mock server (prompts when omitted)' -x
612
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s s -l slug -d 'Slug for the deploy URL (prompts when omitted)' -x
613
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l public -d 'Deploy as a public mock (default is private; requires an x-api-key header)'
614
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l auto-deploy -d 'Re-deploy the mock automatically whenever it changes (default off)'
615
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s y -l yes -d 'Accept defaults and skip all prompts (private, no auto-deploy)'
616
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l api-key -d 'Postman API key (defaults to the `postman login` session)' -r
853
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s w -l workspace -d 'Postman cloud workspace that will own the server, by id (defaults to the workspace already linked to this project)' -x
854
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s n -l name -d 'Name for the mock server (you are asked for one if you skip this)' -x
855
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s s -l slug -d 'Short label used in the server\'s web address, e.g. "my-mock" (you are asked for one if you skip this)' -x
856
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l public -d 'Let anyone with the link reach the server. Private by default (callers must send a Postman API key).'
857
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l auto-deploy -d 'Update the live server automatically whenever the mock changes (off by default)'
858
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s y -l yes -d 'Use the defaults and skip all questions (private, no auto-deploy)'
859
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
617
860
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -s h -l help -d 'display help for command'
618
861
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from deploy' -r -k -a '(__fish_complete_suffix .json)'
619
862
  # ---------- mock get ----------
620
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to the `postman login` session)' -r
621
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from get' -l json -d 'Output the mock details as JSON instead of a table'
863
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from get' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
864
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from get' -l json -d 'Print the details as machine-readable data instead of a table'
622
865
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from get' -s h -l help -d 'display help for command'
623
866
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from get' -r -k -a '(__fish_complete_suffix .json)'
624
867
  # ---------- mock list ----------
625
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from list' -s w -l workspace -d 'Workspace whose cloud mocks to list (defaults to the workspace linked in .postman/resources.yaml)' -x
626
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to the `postman login` session)' -r
627
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from list' -l json -d 'Output the mock list as JSON instead of a table'
868
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from list' -s w -l workspace -d 'Postman cloud workspace whose mocks to list, by id (defaults to the workspace already linked to this project)' -x
869
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from list' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
870
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from list' -l json -d 'Print the list as machine-readable data instead of a table'
628
871
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
629
872
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from list' -r -k -a '(__fish_complete_suffix .json)'
630
873
  # ---------- mock log ----------
631
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l limit -d 'Maximum number of log entries to show (default 50 for --json/non-interactive output)' -x
632
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l method -d 'Filter by HTTP method (e.g. GET, POST)' -x
633
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l status -d 'Filter by response status (e.g. 404 or 5xx)' -x
634
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l path -d 'Filter by request path (supports * and ? wildcards)' -x
635
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l since -d 'Show logs from this long ago onward (e.g. 2h = the last 2 hours)' -x
636
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l until -d 'Stop this long ago (e.g. 30m = exclude the most recent 30 minutes)' -x
637
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l api-key -d 'Postman API key (defaults to the `postman login` session)' -r
638
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l json -d 'Output logs as JSON instead of the interactive pager'
874
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l limit -d 'Most entries to show (defaults to 50 when printing machine-readable output)' -x
875
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l method -d 'Show only requests of this type (e.g. GET, POST)' -x
876
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l status -d 'Show only these response codes (e.g. 404, or 5xx for any 500-series)' -x
877
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l path -d 'Show only requests to matching addresses (use * and ? as wildcards, e.g. /users/*)' -x
878
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l since -d 'Show entries from this long ago until now (e.g. 2h = the last 2 hours)' -x
879
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l until -d 'Hide entries newer than this (e.g. 30m = skip the most recent 30 minutes)' -x
880
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l api-key -d 'Postman API key (defaults to your `postman login` session)' -r
881
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -l json -d 'Print entries as machine-readable data instead of the scrollable view'
639
882
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -s h -l help -d 'display help for command'
640
883
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from log' -r -k -a '(__fish_complete_suffix .json)'
641
884
  # ---------- mock delete ----------
642
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Skip the confirmation prompt'
643
- complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from delete' -l api-key -d 'Postman API key for cloud mock ids (defaults to the `postman login` session)' -r
885
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from delete' -s y -l yes -d 'Delete without asking for confirmation first'
886
+ complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from delete' -l api-key -d 'Postman API key, used with a Postman cloud id (defaults to your `postman login` session)' -r
644
887
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from delete' -s h -l help -d 'display help for command'
645
888
  complete -c postman -n '__fish_seen_subcommand_from mock; and __fish_seen_subcommand_from delete' -r -k -a '(__fish_complete_suffix .json)'
646
889
 
@@ -1014,10 +1257,25 @@ complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_sub
1014
1257
  complete -c postman -n '__fish_seen_subcommand_from dataset; and __fish_seen_subcommand_from view; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'
1015
1258
 
1016
1259
  # ---------- dependency ----------
1017
- complete -c postman -n '__postman_using_subcommand dependency add' -a add -d 'Add a Postman collection, environment, or mock as a workspace dependency.'
1260
+ complete -c postman -n '__postman_using_subcommand dependency add list install update' -a add -d 'Add a Postman collection, environment, or mock as a workspace dependency.'
1261
+ complete -c postman -n '__postman_using_subcommand dependency add list install update' -a list -d 'List the workspace dependencies declared in .postman/resources.yaml.'
1262
+ complete -c postman -n '__postman_using_subcommand dependency add list install update' -a install -d 'Materialise the dependencies declared in .postman/resources.yaml (all, or one).'
1263
+ complete -c postman -n '__postman_using_subcommand dependency add list install update' -a update -d 'Refresh declared dependencies to the latest content from their source (all, or one).'
1018
1264
  complete -c postman -n '__fish_seen_subcommand_from dependency' -s h -l help -d 'display help for command'
1019
1265
  # ---------- dependency add ----------
1020
1266
  complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from add' -s w -l workspace -d 'Workspace id to resolve a name in (defaults to the current workspace).' -x
1021
1267
  complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from add' -s y -l yes -d 'Skip all confirmation prompts.'
1022
1268
  complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from add' -l json -d 'Output the result as JSON.'
1023
1269
  complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from add' -s h -l help -d 'display help for command'
1270
+ # ---------- dependency list ----------
1271
+ complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from list' -l type -d 'Only list dependencies of this type (collection, environment, or mock).' -x
1272
+ complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from list' -l json -d 'Output the result as JSON.'
1273
+ complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from list' -s h -l help -d 'display help for command'
1274
+ # ---------- dependency install ----------
1275
+ complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from install' -l type -d 'Only install dependencies of this type (collection, environment, or mock).' -x
1276
+ complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from install' -l json -d 'Output the result as JSON.'
1277
+ complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from install' -s h -l help -d 'display help for command'
1278
+ # ---------- dependency update ----------
1279
+ complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from update' -l type -d 'Only update dependencies of this type (collection, environment, or mock).' -x
1280
+ complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from update' -l json -d 'Output the result as JSON.'
1281
+ complete -c postman -n '__fish_seen_subcommand_from dependency; and __fish_seen_subcommand_from update' -s h -l help -d 'display help for command'