pepe-http 0.43.1 → 0.45.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.
package/CHANGELOG.md CHANGED
@@ -6,6 +6,204 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6
6
  and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
7
 
8
8
  ## [Unreleased]
9
+ ## [0.45.0](https://github.com/omarmhaimdat/pepe/compare/v0.44.0...v0.45.0) - 2026-10-17
10
+
11
+ ### Added
12
+
13
+ - *(webhooks)* --webhook sends the verdict to Slack, Discord, Teams, Google Chat or any URL, and F3 sets them on any screen ([#199](https://github.com/omarmhaimdat/pepe/pull/199))
14
+
15
+ Part 1 of the webhooks work: easy by default, customisable in every
16
+ place a run is configured.
17
+
18
+ ```bash
19
+ pepe -z 30s -c 50 --fail-if 'p99 > 300ms' --webhook "$SLACK_WEBHOOK_URL" https://api.example.com/health
20
+ ```
21
+
22
+ ## What it does
23
+
24
+ - **The URL picks the layout.**
25
+ - `hooks.slack.com`: Slack blocks.
26
+ - `discord.com/api/webhooks`: a Discord embed coloured by the outcome.
27
+ - Teams (`*.webhook.office.com`, workflows on `*.logic.azure.com`): an
28
+ Adaptive Card.
29
+ - `chat.googleapis.com`: Google Chat text.
30
+ - Anything else: JSON with the event, the run and the whole report.
31
+
32
+ `format` can force any of these, or `text`.
33
+ - **Events**: `start`, `progress` (a bar, requests, req/s, p50, p99 and
34
+ errors, every `every`), `anomaly` (sent as it happens), `end`, and
35
+ `fail`. `fail` fires when a `--fail-if` was crossed, a ping's SLO was
36
+ broken, or nothing answered. The default is `end`.
37
+ - **Config**: `webhook = "URL"` or `[[webhook]]` tables in `pepe.toml`.
38
+ The same key works under the settings' `[defaults]` (machine-wide) and
39
+ in saved tests (`--keep`, ctrl-s). Each table takes `on`, `format`,
40
+ `headers`, `every`, `mention`, and a `body` template with `{{holes}}`
41
+ (status, p99, rps, report, …).
42
+ - **Secrets**: `${NAME}` is read from the environment. An unset name, a
43
+ bad URL or an unknown hole is refused before anything is sent. URLs are
44
+ masked in reports and in the recorded command
45
+ (`https://hooks.slack.com/••••`).
46
+ - **F3 on every screen** opens a webhook page next to F2's settings.
47
+ - On the setup form, it sets the hooks of the run you're about to start.
48
+ - During a run, a hook added or changed is sent to from then on.
49
+ - Paste or type a URL; `1`–`5` tick events; ← → step the format; `t`
50
+ sends a test and shows the answer; del removes the hook.
51
+ - Edits are kept for restarts, ctrl-s and the command printed at the
52
+ end.
53
+ - The dashboard, ramp and ping screens now pass pasted text to the
54
+ pages.
55
+ - **Every mode sends**: run, flow, api and replay (on screen, headless,
56
+ `--json`), plus ramp and ping.
57
+ - **Delivery**:
58
+ - Each webhook has its own in-order queue, with three tries on a dropped
59
+ connection, a 429 or a 5xx, following `Retry-After`.
60
+ - The run never waits on webhooks. pepe waits up to 15 s at the end and
61
+ reports failures on stderr; the exit code is unchanged.
62
+ - `--dry-run` lists the webhooks and sends nothing.
63
+ - **MCP**: the tools take `webhook` and `webhook_on`.
64
+
65
+ ## Checked
66
+
67
+ - Unit tests:
68
+ - format detection;
69
+ - the file forms (URL, table, list) round-trip;
70
+ - `${ENV}` and masking;
71
+ - each layout;
72
+ - templates;
73
+ - the progress line;
74
+ - in-order delivery with a retried 503;
75
+ - the page's keys and drawing;
76
+ - saved tests keep hooks and mask them in the command.
77
+ - By hand against a local receiver: flags with start/end/fail,
78
+ `pepe.toml` tables with headers, progress, Slack layout and a template.
79
+ - Driving the real TUI in a pseudo-terminal: F3 mid-run, paste a URL,
80
+ and the run's end arrives there. Also F3 on the setup form, then start.
81
+ The recorded command shows the URL masked.
82
+ - Speed is unchanged (bench server, 200k at 64, three runs each): master
83
+ 6.10–6.20 CPU ms per 1k, this branch 6.05–6.10.
84
+
85
+ ## Not in this PR (the next two)
86
+
87
+ - A Slack bot token: one message edited in place as the run goes, with
88
+ anomalies threaded under it.
89
+ - Socket Mode: stop, rerun and edit-and-rerun buttons, and `/pepe`.
90
+ These act on saved tests only, for allowed users.
91
+
92
+ ## 1.0
93
+
94
+ Adds `--webhook`, `--webhook-on`, the `webhook` key and the MCP
95
+ arguments, which restarts the freeze clock. The report schema is
96
+ unchanged.
97
+
98
+
99
+ ## [0.44.0](https://github.com/omarmhaimdat/pepe/compare/v0.43.1...v0.44.0) - 2026-10-17
100
+
101
+ ### Added
102
+
103
+ - *(vars)* --vars users.csv fills the {{holes}} in a request, a row a request ([#197](https://github.com/omarmhaimdat/pepe/pull/197))
104
+
105
+ The data-driven requests from the roadmap (section 4), and the last 1.0
106
+ item that could shape `pepe.toml`'s keys.
107
+
108
+ ```bash
109
+ pepe -z 30s -c 20 --vars users.csv \
110
+ -H 'Authorization: Bearer {{token}}' -m POST -d '{"email": "{{email}}"}' \
111
+ 'https://api.example.com/users/{{id}}'
112
+ pepe flow checkout.toml -z 1m --vars users.csv
113
+ ```
114
+
115
+ ## What it does
116
+
117
+ - `{{name}}` holes in the URL (host included), headers and body take
118
+ their values from a CSV file whose first line names them (RFC 4180
119
+ quoting, a BOM and CRLF are fine).
120
+ - **Run and ramp**: one request per row, in the file's order, round
121
+ again.
122
+ - **Flow**: each chain starts with the next row's values, over `[vars]`;
123
+ captures go over both. Columns count as known when the flow is checked.
124
+ - **Checked before anything is sent**: every hole must be a column, and
125
+ the request must have at least one hole (both are errors that name the
126
+ cause). Every row's host is held to `--allow-host`. `--dry-run` says how
127
+ many rows there are and what the columns are. `api`, `replay` and `ping`
128
+ refuse `--vars`.
129
+ - **Config, saved tests and MCP**: `vars = "users.csv"` in `pepe.toml`
130
+ (and so in `--keep` tests and `--write-config`); a `vars` argument on
131
+ the MCP `run`, `ramp` and `flow` tools. It is not taken from the
132
+ machine's `[defaults]`.
133
+ - Without `--vars`, nothing changes: `{{` in a URL is sent as written.
134
+
135
+ ## Cost
136
+
137
+ Each row becomes a prepared request before the run, on the direct path
138
+ like any target, so sending is unchanged (bench server, 200k requests at
139
+ 64, three runs each, CPU ms per 1k):
140
+
141
+ | | CPU ms / 1k | Peak RSS |
142
+ | --- | --- | --- |
143
+ | master | 6.10 – 6.45 | 10.1 – 10.6 MB |
144
+ | this branch, no `--vars` | 6.20 – 6.30 | 9.6 – 10.2 MB |
145
+ | `--vars` 10,000 rows | 6.25 – 6.40 | 18.3 – 18.6 MB |
146
+
147
+ Memory is about 1.6 KB per row (190 MB for 100k rows, 1.6 GB for a
148
+ million, which is the cap). A million rows take about 2 s to prepare.
149
+ Two fixes keep it at that size:
150
+ - Each row keeps only the headers that have holes.
151
+ - Targets with equal weights are sent in turn. The weighted round-robin
152
+ cost the square of their number to compute.
153
+
154
+ The schedule index went from `u16` to `u32`, so more than 65,535 targets
155
+ now fit. Recorded in `bench/README.md`.
156
+
157
+ ## 1.0
158
+
159
+ This adds a flag (`--vars`), a `pepe.toml` key (`vars`) and an MCP
160
+ argument. That restarts the month-without-a-flag-change clock. It is
161
+ also the 1.0 prerequisite ticked in ROADMAP.md. The report schema is
162
+ unchanged: the command line the report already records includes
163
+ `--vars`.
164
+
165
+ ## Tests
166
+
167
+ - CSV parsing and error locations.
168
+ - Filling a request row by row.
169
+ - A live run checked request by request: rows in order, templated and
170
+ static headers, body.
171
+ - Validation, including the modes that refuse `--vars`.
172
+ - The config round-trip.
173
+ - Checked by hand: flows, ramps, guardrails, dry runs.
174
+
175
+ `site/docs/*.html` is rebuilt here from master's generator. It will
176
+ conflict with omarmhaimdat/pepe#196; rebuild with `python3
177
+ site/build-docs.py` after whichever lands second.
178
+
179
+
180
+
181
+ ### Other
182
+
183
+ - *(site)* titles, descriptions and structured data a search engine reads, a sitemap and robots.txt ([#196](https://github.com/omarmhaimdat/pepe/pull/196))
184
+
185
+ The documentation site and the install page, made easier to find.
186
+
187
+ - **Titles**: each docs page's `<title>` carries the words someone would
188
+ search for (\`pepe ping · HTTP ping with latency split by phase\`); the
189
+ sidebar keeps the short names.
190
+ - **Descriptions**: the page's opening, cut at a sentence end near 160
191
+ characters instead of mid-word at 300.
192
+ - **Cards**: Open Graph (`og:url`, `og:site_name`, image size and alt)
193
+ and Twitter large-image cards on every page.
194
+ - **Structured data**: `TechArticle` and `BreadcrumbList` JSON-LD on
195
+ docs pages; the install page's `SoftwareApplication` now names the npm
196
+ and PyPI packages, the install and docs pages, plus a `WebSite` entry.
197
+ - **Sitemap and robots.txt**: `build-docs.py` writes `site/sitemap.xml`
198
+ (no dates, so it isn't stale after every merge); `robots.txt` points to
199
+ it; `publish.sh` uploads both, and `publish-site.yml` checks they answer
200
+ 200 after publishing.
201
+
202
+ No change to the binary, flags or reports.
203
+
204
+ `python3 site/build-docs.py --check` passes.
205
+
206
+
9
207
  ## [0.43.1](https://github.com/omarmhaimdat/pepe/compare/v0.43.0...v0.43.1) - 2026-10-17
10
208
 
11
209
  ### Fixed
package/completions/_pepe CHANGED
@@ -33,6 +33,9 @@ _pepe() {
33
33
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
34
34
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
35
35
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
36
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
37
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
38
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
36
39
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
37
40
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
38
41
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -108,6 +111,9 @@ fail\:"A failure"))' \
108
111
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
109
112
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
110
113
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
114
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
115
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
116
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
111
117
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
112
118
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
113
119
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -178,6 +184,9 @@ _arguments "${_arguments_options[@]}" : \
178
184
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
179
185
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
180
186
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
187
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
188
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
189
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
181
190
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
182
191
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
183
192
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -229,6 +238,9 @@ _arguments "${_arguments_options[@]}" : \
229
238
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
230
239
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
231
240
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
241
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
242
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
243
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
232
244
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
233
245
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
234
246
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -281,6 +293,9 @@ _arguments "${_arguments_options[@]}" : \
281
293
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
282
294
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
283
295
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
296
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
297
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
298
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
284
299
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
285
300
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
286
301
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -332,6 +347,9 @@ _arguments "${_arguments_options[@]}" : \
332
347
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
333
348
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
334
349
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
350
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
351
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
352
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
335
353
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
336
354
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
337
355
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -388,6 +406,9 @@ _arguments "${_arguments_options[@]}" : \
388
406
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
389
407
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
390
408
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
409
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
410
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
411
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
391
412
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
392
413
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
393
414
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -440,6 +461,9 @@ _arguments "${_arguments_options[@]}" : \
440
461
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
441
462
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
442
463
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
464
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
465
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
466
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
443
467
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
444
468
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
445
469
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -492,6 +516,9 @@ _arguments "${_arguments_options[@]}" : \
492
516
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
493
517
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
494
518
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
519
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
520
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
521
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
495
522
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
496
523
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
497
524
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -547,6 +574,9 @@ _arguments "${_arguments_options[@]}" : \
547
574
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
548
575
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
549
576
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
577
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
578
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
579
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
550
580
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
551
581
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
552
582
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -599,6 +629,9 @@ _arguments "${_arguments_options[@]}" : \
599
629
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
600
630
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
601
631
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
632
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
633
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
634
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
602
635
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
603
636
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
604
637
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -649,6 +682,9 @@ _arguments "${_arguments_options[@]}" : \
649
682
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
650
683
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
651
684
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
685
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
686
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
687
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
652
688
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
653
689
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
654
690
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -698,6 +734,9 @@ _arguments "${_arguments_options[@]}" : \
698
734
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
699
735
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
700
736
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
737
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
738
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
739
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
701
740
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
702
741
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
703
742
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -749,6 +788,9 @@ _arguments "${_arguments_options[@]}" : \
749
788
  '-p+[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
750
789
  '--proxy=[Proxy server URL\: http\://user\:pass@host\:port or socks5\://host\:port]:PROXY:_default' \
751
790
  '--trace-header=[Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server'\''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for]:NAME:_default' \
791
+ '--vars=[Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them\: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row'\''s values]:FILE:_files' \
792
+ '*--webhook=[Send the run'\''s verdict to this URL when it ends\: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. \${NAME} is taken from the environment. A \[\[webhook\]\] table in pepe.toml says more]:URL:_default' \
793
+ '--webhook-on=[When the --webhook URLs are sent\: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default]:EVENTS:_default' \
752
794
  '--snapshot=[Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run'\''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run]:FILE:_files' \
753
795
  '*--allow-host=[Refuse to send anywhere but these hosts\: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent]:HOST:_default' \
754
796
  '--max-requests=[Refuse a run that would send more requests than this\: -n above it, or -z without a --rate that bounds it]:N:_default' \
@@ -39,6 +39,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
39
39
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
40
40
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
41
41
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
42
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
43
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
44
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
42
45
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
43
46
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
44
47
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -117,6 +120,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
117
120
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
118
121
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
119
122
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
123
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
124
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
125
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
120
126
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
121
127
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
122
128
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -185,6 +191,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
185
191
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
186
192
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
187
193
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
194
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
195
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
196
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
188
197
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
189
198
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
190
199
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -234,6 +243,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
234
243
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
235
244
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
236
245
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
246
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
247
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
248
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
237
249
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
238
250
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
239
251
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -283,6 +295,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
283
295
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
284
296
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
285
297
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
298
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
299
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
300
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
286
301
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
287
302
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
288
303
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -332,6 +347,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
332
347
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
333
348
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
334
349
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
350
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
351
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
352
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
335
353
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
336
354
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
337
355
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -386,6 +404,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
386
404
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
387
405
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
388
406
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
407
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
408
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
409
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
389
410
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
390
411
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
391
412
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -436,6 +457,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
436
457
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
437
458
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
438
459
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
460
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
461
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
462
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
439
463
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
440
464
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
441
465
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -486,6 +510,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
486
510
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
487
511
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
488
512
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
513
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
514
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
515
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
489
516
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
490
517
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
491
518
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -539,6 +566,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
539
566
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
540
567
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
541
568
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
569
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
570
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
571
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
542
572
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
543
573
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
544
574
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -589,6 +619,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
589
619
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
590
620
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
591
621
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
622
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
623
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
624
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
592
625
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
593
626
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
594
627
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -637,6 +670,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
637
670
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
638
671
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
639
672
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
673
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
674
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
675
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
640
676
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
641
677
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
642
678
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -685,6 +721,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
685
721
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
686
722
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
687
723
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
724
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
725
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
726
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
688
727
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
689
728
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
690
729
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -735,6 +774,9 @@ Register-ArgumentCompleter -Native -CommandName 'pepe' -ScriptBlock {
735
774
  [CompletionResult]::new('-p', '-p', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
736
775
  [CompletionResult]::new('--proxy', '--proxy', [CompletionResultType]::ParameterName, 'Proxy server URL: http://user:pass@host:port or socks5://host:port')
737
776
  [CompletionResult]::new('--trace-header', '--trace-header', [CompletionResultType]::ParameterName, 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server''s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for')
777
+ [CompletionResult]::new('--vars', '--vars', [CompletionResultType]::ParameterName, 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row''s values')
778
+ [CompletionResult]::new('--webhook', '--webhook', [CompletionResultType]::ParameterName, 'Send the run''s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more')
779
+ [CompletionResult]::new('--webhook-on', '--webhook-on', [CompletionResultType]::ParameterName, 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default')
738
780
  [CompletionResult]::new('--snapshot', '--snapshot', [CompletionResultType]::ParameterName, 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run''s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run')
739
781
  [CompletionResult]::new('--allow-host', '--allow-host', [CompletionResultType]::ParameterName, 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent')
740
782
  [CompletionResult]::new('--max-requests', '--max-requests', [CompletionResultType]::ParameterName, 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it')
@@ -107,7 +107,7 @@ _pepe() {
107
107
 
108
108
  case "${cmd}" in
109
109
  pepe)
110
- opts="-h -n -z -m -H -t -d -p -k -i -c -u -V --help --number --duration --curl --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --otlp --setup --config --write-config --load --keep --record --concurrency --user-agent --version ping ramp compare rerun history api flow replay logs schema mcp self-update completions help"
110
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u -V --help --number --duration --curl --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --otlp --setup --config --write-config --load --keep --record --concurrency --user-agent --version ping ramp compare rerun history api flow replay logs schema mcp self-update completions help"
111
111
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
112
112
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
113
113
  return 0
@@ -185,6 +185,18 @@ _pepe() {
185
185
  COMPREPLY=($(compgen -f "${cur}"))
186
186
  return 0
187
187
  ;;
188
+ --vars)
189
+ COMPREPLY=($(compgen -f "${cur}"))
190
+ return 0
191
+ ;;
192
+ --webhook)
193
+ COMPREPLY=($(compgen -f "${cur}"))
194
+ return 0
195
+ ;;
196
+ --webhook-on)
197
+ COMPREPLY=($(compgen -f "${cur}"))
198
+ return 0
199
+ ;;
188
200
  --snapshot)
189
201
  COMPREPLY=($(compgen -f "${cur}"))
190
202
  return 0
@@ -257,7 +269,7 @@ _pepe() {
257
269
  return 0
258
270
  ;;
259
271
  pepe__subcmd__api)
260
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --auth --server --all --tag --only --skip --set --include-writes --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
272
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --auth --server --all --tag --only --skip --set --include-writes --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
261
273
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
262
274
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
263
275
  return 0
@@ -359,6 +371,18 @@ _pepe() {
359
371
  COMPREPLY=($(compgen -f "${cur}"))
360
372
  return 0
361
373
  ;;
374
+ --vars)
375
+ COMPREPLY=($(compgen -f "${cur}"))
376
+ return 0
377
+ ;;
378
+ --webhook)
379
+ COMPREPLY=($(compgen -f "${cur}"))
380
+ return 0
381
+ ;;
382
+ --webhook-on)
383
+ COMPREPLY=($(compgen -f "${cur}"))
384
+ return 0
385
+ ;;
362
386
  --snapshot)
363
387
  COMPREPLY=($(compgen -f "${cur}"))
364
388
  return 0
@@ -427,7 +451,7 @@ _pepe() {
427
451
  return 0
428
452
  ;;
429
453
  pepe__subcmd__compare)
430
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --gate --svg --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
454
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --gate --svg --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
431
455
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
432
456
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
433
457
  return 0
@@ -509,6 +533,18 @@ _pepe() {
509
533
  COMPREPLY=($(compgen -f "${cur}"))
510
534
  return 0
511
535
  ;;
536
+ --vars)
537
+ COMPREPLY=($(compgen -f "${cur}"))
538
+ return 0
539
+ ;;
540
+ --webhook)
541
+ COMPREPLY=($(compgen -f "${cur}"))
542
+ return 0
543
+ ;;
544
+ --webhook-on)
545
+ COMPREPLY=($(compgen -f "${cur}"))
546
+ return 0
547
+ ;;
512
548
  --snapshot)
513
549
  COMPREPLY=($(compgen -f "${cur}"))
514
550
  return 0
@@ -577,7 +613,7 @@ _pepe() {
577
613
  return 0
578
614
  ;;
579
615
  pepe__subcmd__completions)
580
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --install --dry-run --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent bash zsh fish powershell"
616
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --install --dry-run --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent bash zsh fish powershell"
581
617
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
582
618
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
583
619
  return 0
@@ -655,6 +691,18 @@ _pepe() {
655
691
  COMPREPLY=($(compgen -f "${cur}"))
656
692
  return 0
657
693
  ;;
694
+ --vars)
695
+ COMPREPLY=($(compgen -f "${cur}"))
696
+ return 0
697
+ ;;
698
+ --webhook)
699
+ COMPREPLY=($(compgen -f "${cur}"))
700
+ return 0
701
+ ;;
702
+ --webhook-on)
703
+ COMPREPLY=($(compgen -f "${cur}"))
704
+ return 0
705
+ ;;
658
706
  --snapshot)
659
707
  COMPREPLY=($(compgen -f "${cur}"))
660
708
  return 0
@@ -723,7 +771,7 @@ _pepe() {
723
771
  return 0
724
772
  ;;
725
773
  pepe__subcmd__flow)
726
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
774
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
727
775
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
728
776
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
729
777
  return 0
@@ -801,6 +849,18 @@ _pepe() {
801
849
  COMPREPLY=($(compgen -f "${cur}"))
802
850
  return 0
803
851
  ;;
852
+ --vars)
853
+ COMPREPLY=($(compgen -f "${cur}"))
854
+ return 0
855
+ ;;
856
+ --webhook)
857
+ COMPREPLY=($(compgen -f "${cur}"))
858
+ return 0
859
+ ;;
860
+ --webhook-on)
861
+ COMPREPLY=($(compgen -f "${cur}"))
862
+ return 0
863
+ ;;
804
864
  --snapshot)
805
865
  COMPREPLY=($(compgen -f "${cur}"))
806
866
  return 0
@@ -1079,7 +1139,7 @@ _pepe() {
1079
1139
  return 0
1080
1140
  ;;
1081
1141
  pepe__subcmd__history)
1082
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1142
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1083
1143
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1084
1144
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1085
1145
  return 0
@@ -1157,6 +1217,18 @@ _pepe() {
1157
1217
  COMPREPLY=($(compgen -f "${cur}"))
1158
1218
  return 0
1159
1219
  ;;
1220
+ --vars)
1221
+ COMPREPLY=($(compgen -f "${cur}"))
1222
+ return 0
1223
+ ;;
1224
+ --webhook)
1225
+ COMPREPLY=($(compgen -f "${cur}"))
1226
+ return 0
1227
+ ;;
1228
+ --webhook-on)
1229
+ COMPREPLY=($(compgen -f "${cur}"))
1230
+ return 0
1231
+ ;;
1160
1232
  --snapshot)
1161
1233
  COMPREPLY=($(compgen -f "${cur}"))
1162
1234
  return 0
@@ -1225,7 +1297,7 @@ _pepe() {
1225
1297
  return 0
1226
1298
  ;;
1227
1299
  pepe__subcmd__logs)
1228
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --format --window --since --all --exact-paths --rows --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1300
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --format --window --since --all --exact-paths --rows --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1229
1301
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1230
1302
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1231
1303
  return 0
@@ -1319,6 +1391,18 @@ _pepe() {
1319
1391
  COMPREPLY=($(compgen -f "${cur}"))
1320
1392
  return 0
1321
1393
  ;;
1394
+ --vars)
1395
+ COMPREPLY=($(compgen -f "${cur}"))
1396
+ return 0
1397
+ ;;
1398
+ --webhook)
1399
+ COMPREPLY=($(compgen -f "${cur}"))
1400
+ return 0
1401
+ ;;
1402
+ --webhook-on)
1403
+ COMPREPLY=($(compgen -f "${cur}"))
1404
+ return 0
1405
+ ;;
1322
1406
  --snapshot)
1323
1407
  COMPREPLY=($(compgen -f "${cur}"))
1324
1408
  return 0
@@ -1387,7 +1471,7 @@ _pepe() {
1387
1471
  return 0
1388
1472
  ;;
1389
1473
  pepe__subcmd__mcp)
1390
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1474
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1391
1475
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1392
1476
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1393
1477
  return 0
@@ -1465,6 +1549,18 @@ _pepe() {
1465
1549
  COMPREPLY=($(compgen -f "${cur}"))
1466
1550
  return 0
1467
1551
  ;;
1552
+ --vars)
1553
+ COMPREPLY=($(compgen -f "${cur}"))
1554
+ return 0
1555
+ ;;
1556
+ --webhook)
1557
+ COMPREPLY=($(compgen -f "${cur}"))
1558
+ return 0
1559
+ ;;
1560
+ --webhook-on)
1561
+ COMPREPLY=($(compgen -f "${cur}"))
1562
+ return 0
1563
+ ;;
1468
1564
  --snapshot)
1469
1565
  COMPREPLY=($(compgen -f "${cur}"))
1470
1566
  return 0
@@ -1533,7 +1629,7 @@ _pepe() {
1533
1629
  return 0
1534
1630
  ;;
1535
1631
  pepe__subcmd__ping)
1536
- opts="-4 -6 -0 -s -h -n -z -m -H -t -d -p -k -i -c -u --every --window --name --color --all-ips --interface --tcp --port --tcp-rst --cmd --keep-alive --slo --bell --ymin --ymax --simple-graphics --jsonl --csv --save --show-body --save-body --http1 --once --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1632
+ opts="-4 -6 -0 -s -h -n -z -m -H -t -d -p -k -i -c -u --every --window --name --color --all-ips --interface --tcp --port --tcp-rst --cmd --keep-alive --slo --bell --ymin --ymax --simple-graphics --jsonl --csv --save --show-body --save-body --http1 --once --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1537
1633
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1538
1634
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1539
1635
  return 0
@@ -1659,6 +1755,18 @@ _pepe() {
1659
1755
  COMPREPLY=($(compgen -f "${cur}"))
1660
1756
  return 0
1661
1757
  ;;
1758
+ --vars)
1759
+ COMPREPLY=($(compgen -f "${cur}"))
1760
+ return 0
1761
+ ;;
1762
+ --webhook)
1763
+ COMPREPLY=($(compgen -f "${cur}"))
1764
+ return 0
1765
+ ;;
1766
+ --webhook-on)
1767
+ COMPREPLY=($(compgen -f "${cur}"))
1768
+ return 0
1769
+ ;;
1662
1770
  --snapshot)
1663
1771
  COMPREPLY=($(compgen -f "${cur}"))
1664
1772
  return 0
@@ -1727,7 +1835,7 @@ _pepe() {
1727
1835
  return 0
1728
1836
  ;;
1729
1837
  pepe__subcmd__ramp)
1730
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --from --to --step --every --until --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1838
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --from --to --step --every --until --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1731
1839
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1732
1840
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1733
1841
  return 0
@@ -1825,6 +1933,18 @@ _pepe() {
1825
1933
  COMPREPLY=($(compgen -f "${cur}"))
1826
1934
  return 0
1827
1935
  ;;
1936
+ --vars)
1937
+ COMPREPLY=($(compgen -f "${cur}"))
1938
+ return 0
1939
+ ;;
1940
+ --webhook)
1941
+ COMPREPLY=($(compgen -f "${cur}"))
1942
+ return 0
1943
+ ;;
1944
+ --webhook-on)
1945
+ COMPREPLY=($(compgen -f "${cur}"))
1946
+ return 0
1947
+ ;;
1828
1948
  --snapshot)
1829
1949
  COMPREPLY=($(compgen -f "${cur}"))
1830
1950
  return 0
@@ -1893,7 +2013,7 @@ _pepe() {
1893
2013
  return 0
1894
2014
  ;;
1895
2015
  pepe__subcmd__replay)
1896
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --base-url --include-writes --rows --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
2016
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --base-url --include-writes --rows --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
1897
2017
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1898
2018
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1899
2019
  return 0
@@ -1979,6 +2099,18 @@ _pepe() {
1979
2099
  COMPREPLY=($(compgen -f "${cur}"))
1980
2100
  return 0
1981
2101
  ;;
2102
+ --vars)
2103
+ COMPREPLY=($(compgen -f "${cur}"))
2104
+ return 0
2105
+ ;;
2106
+ --webhook)
2107
+ COMPREPLY=($(compgen -f "${cur}"))
2108
+ return 0
2109
+ ;;
2110
+ --webhook-on)
2111
+ COMPREPLY=($(compgen -f "${cur}"))
2112
+ return 0
2113
+ ;;
1982
2114
  --snapshot)
1983
2115
  COMPREPLY=($(compgen -f "${cur}"))
1984
2116
  return 0
@@ -2047,7 +2179,7 @@ _pepe() {
2047
2179
  return 0
2048
2180
  ;;
2049
2181
  pepe__subcmd__rerun)
2050
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --gate --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
2182
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --gate --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
2051
2183
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
2052
2184
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
2053
2185
  return 0
@@ -2125,6 +2257,18 @@ _pepe() {
2125
2257
  COMPREPLY=($(compgen -f "${cur}"))
2126
2258
  return 0
2127
2259
  ;;
2260
+ --vars)
2261
+ COMPREPLY=($(compgen -f "${cur}"))
2262
+ return 0
2263
+ ;;
2264
+ --webhook)
2265
+ COMPREPLY=($(compgen -f "${cur}"))
2266
+ return 0
2267
+ ;;
2268
+ --webhook-on)
2269
+ COMPREPLY=($(compgen -f "${cur}"))
2270
+ return 0
2271
+ ;;
2128
2272
  --snapshot)
2129
2273
  COMPREPLY=($(compgen -f "${cur}"))
2130
2274
  return 0
@@ -2193,7 +2337,7 @@ _pepe() {
2193
2337
  return 0
2194
2338
  ;;
2195
2339
  pepe__subcmd__schema)
2196
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
2340
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
2197
2341
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
2198
2342
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
2199
2343
  return 0
@@ -2271,6 +2415,18 @@ _pepe() {
2271
2415
  COMPREPLY=($(compgen -f "${cur}"))
2272
2416
  return 0
2273
2417
  ;;
2418
+ --vars)
2419
+ COMPREPLY=($(compgen -f "${cur}"))
2420
+ return 0
2421
+ ;;
2422
+ --webhook)
2423
+ COMPREPLY=($(compgen -f "${cur}"))
2424
+ return 0
2425
+ ;;
2426
+ --webhook-on)
2427
+ COMPREPLY=($(compgen -f "${cur}"))
2428
+ return 0
2429
+ ;;
2274
2430
  --snapshot)
2275
2431
  COMPREPLY=($(compgen -f "${cur}"))
2276
2432
  return 0
@@ -2339,7 +2495,7 @@ _pepe() {
2339
2495
  return 0
2340
2496
  ;;
2341
2497
  pepe__subcmd__self__subcmd__update)
2342
- opts="-h -n -z -m -H -t -d -p -k -i -c -u --check --verbose --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
2498
+ opts="-h -n -z -m -H -t -d -p -k -i -c -u --check --verbose --help --number --duration --method --headers --timeout --warmup --threads --rate --body --proxy --insecure --disable-compression --disable-keepalive --disable-redirects --json --trace-header --vars --webhook --webhook-on --snapshot --allow-host --max-requests --max-rate --max-concurrency --dry-run --fail-if --metrics --setup --config --write-config --load --keep --record --concurrency --user-agent"
2343
2499
  if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
2344
2500
  COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
2345
2501
  return 0
@@ -2417,6 +2573,18 @@ _pepe() {
2417
2573
  COMPREPLY=($(compgen -f "${cur}"))
2418
2574
  return 0
2419
2575
  ;;
2576
+ --vars)
2577
+ COMPREPLY=($(compgen -f "${cur}"))
2578
+ return 0
2579
+ ;;
2580
+ --webhook)
2581
+ COMPREPLY=($(compgen -f "${cur}"))
2582
+ return 0
2583
+ ;;
2584
+ --webhook-on)
2585
+ COMPREPLY=($(compgen -f "${cur}"))
2586
+ return 0
2587
+ ;;
2420
2588
  --snapshot)
2421
2589
  COMPREPLY=($(compgen -f "${cur}"))
2422
2590
  return 0
@@ -1,6 +1,6 @@
1
1
  # Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
2
2
  function __fish_pepe_global_optspecs
3
- string join \n h/help n/number= z/duration= curl m/method= H/headers= t/timeout= warmup= threads= rate= d/body= p/proxy= k/insecure disable-compression disable-keepalive disable-redirects json trace-header= snapshot= allow-host= max-requests= max-rate= max-concurrency= dry-run fail-if= metrics= otlp= i/setup config= write-config= load= keep= record c/concurrency= u/user-agent= V/version
3
+ string join \n h/help n/number= z/duration= curl m/method= H/headers= t/timeout= warmup= threads= rate= d/body= p/proxy= k/insecure disable-compression disable-keepalive disable-redirects json trace-header= vars= webhook= webhook-on= snapshot= allow-host= max-requests= max-rate= max-concurrency= dry-run fail-if= metrics= otlp= i/setup config= write-config= load= keep= record c/concurrency= u/user-agent= V/version
4
4
  end
5
5
 
6
6
  function __fish_pepe_needs_command
@@ -35,6 +35,9 @@ complete -c pepe -n "__fish_pepe_needs_command" -l rate -d 'Start this many requ
35
35
  complete -c pepe -n "__fish_pepe_needs_command" -s d -l body -d 'HTTP request body' -r
36
36
  complete -c pepe -n "__fish_pepe_needs_command" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
37
37
  complete -c pepe -n "__fish_pepe_needs_command" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
38
+ complete -c pepe -n "__fish_pepe_needs_command" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
39
+ complete -c pepe -n "__fish_pepe_needs_command" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
40
+ complete -c pepe -n "__fish_pepe_needs_command" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
38
41
  complete -c pepe -n "__fish_pepe_needs_command" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
39
42
  complete -c pepe -n "__fish_pepe_needs_command" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
40
43
  complete -c pepe -n "__fish_pepe_needs_command" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -98,6 +101,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand ping" -l rate -d 'Start this m
98
101
  complete -c pepe -n "__fish_pepe_using_subcommand ping" -s d -l body -d 'HTTP request body' -r
99
102
  complete -c pepe -n "__fish_pepe_using_subcommand ping" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
100
103
  complete -c pepe -n "__fish_pepe_using_subcommand ping" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
104
+ complete -c pepe -n "__fish_pepe_using_subcommand ping" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
105
+ complete -c pepe -n "__fish_pepe_using_subcommand ping" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
106
+ complete -c pepe -n "__fish_pepe_using_subcommand ping" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
101
107
  complete -c pepe -n "__fish_pepe_using_subcommand ping" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
102
108
  complete -c pepe -n "__fish_pepe_using_subcommand ping" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
103
109
  complete -c pepe -n "__fish_pepe_using_subcommand ping" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -150,6 +156,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand ramp" -l rate -d 'Start this m
150
156
  complete -c pepe -n "__fish_pepe_using_subcommand ramp" -s d -l body -d 'HTTP request body' -r
151
157
  complete -c pepe -n "__fish_pepe_using_subcommand ramp" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
152
158
  complete -c pepe -n "__fish_pepe_using_subcommand ramp" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
159
+ complete -c pepe -n "__fish_pepe_using_subcommand ramp" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
160
+ complete -c pepe -n "__fish_pepe_using_subcommand ramp" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
161
+ complete -c pepe -n "__fish_pepe_using_subcommand ramp" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
153
162
  complete -c pepe -n "__fish_pepe_using_subcommand ramp" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
154
163
  complete -c pepe -n "__fish_pepe_using_subcommand ramp" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
155
164
  complete -c pepe -n "__fish_pepe_using_subcommand ramp" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -184,6 +193,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand compare" -l rate -d 'Start thi
184
193
  complete -c pepe -n "__fish_pepe_using_subcommand compare" -s d -l body -d 'HTTP request body' -r
185
194
  complete -c pepe -n "__fish_pepe_using_subcommand compare" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
186
195
  complete -c pepe -n "__fish_pepe_using_subcommand compare" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
196
+ complete -c pepe -n "__fish_pepe_using_subcommand compare" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
197
+ complete -c pepe -n "__fish_pepe_using_subcommand compare" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
198
+ complete -c pepe -n "__fish_pepe_using_subcommand compare" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
187
199
  complete -c pepe -n "__fish_pepe_using_subcommand compare" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
188
200
  complete -c pepe -n "__fish_pepe_using_subcommand compare" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
189
201
  complete -c pepe -n "__fish_pepe_using_subcommand compare" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -218,6 +230,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand rerun" -l rate -d 'Start this
218
230
  complete -c pepe -n "__fish_pepe_using_subcommand rerun" -s d -l body -d 'HTTP request body' -r
219
231
  complete -c pepe -n "__fish_pepe_using_subcommand rerun" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
220
232
  complete -c pepe -n "__fish_pepe_using_subcommand rerun" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
233
+ complete -c pepe -n "__fish_pepe_using_subcommand rerun" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
234
+ complete -c pepe -n "__fish_pepe_using_subcommand rerun" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
235
+ complete -c pepe -n "__fish_pepe_using_subcommand rerun" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
221
236
  complete -c pepe -n "__fish_pepe_using_subcommand rerun" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
222
237
  complete -c pepe -n "__fish_pepe_using_subcommand rerun" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
223
238
  complete -c pepe -n "__fish_pepe_using_subcommand rerun" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -252,6 +267,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand history" -l rate -d 'Start thi
252
267
  complete -c pepe -n "__fish_pepe_using_subcommand history" -s d -l body -d 'HTTP request body' -r
253
268
  complete -c pepe -n "__fish_pepe_using_subcommand history" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
254
269
  complete -c pepe -n "__fish_pepe_using_subcommand history" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
270
+ complete -c pepe -n "__fish_pepe_using_subcommand history" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
271
+ complete -c pepe -n "__fish_pepe_using_subcommand history" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
272
+ complete -c pepe -n "__fish_pepe_using_subcommand history" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
255
273
  complete -c pepe -n "__fish_pepe_using_subcommand history" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
256
274
  complete -c pepe -n "__fish_pepe_using_subcommand history" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
257
275
  complete -c pepe -n "__fish_pepe_using_subcommand history" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -291,6 +309,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand api" -l rate -d 'Start this ma
291
309
  complete -c pepe -n "__fish_pepe_using_subcommand api" -s d -l body -d 'HTTP request body' -r
292
310
  complete -c pepe -n "__fish_pepe_using_subcommand api" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
293
311
  complete -c pepe -n "__fish_pepe_using_subcommand api" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
312
+ complete -c pepe -n "__fish_pepe_using_subcommand api" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
313
+ complete -c pepe -n "__fish_pepe_using_subcommand api" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
314
+ complete -c pepe -n "__fish_pepe_using_subcommand api" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
294
315
  complete -c pepe -n "__fish_pepe_using_subcommand api" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
295
316
  complete -c pepe -n "__fish_pepe_using_subcommand api" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
296
317
  complete -c pepe -n "__fish_pepe_using_subcommand api" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -326,6 +347,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand flow" -l rate -d 'Start this m
326
347
  complete -c pepe -n "__fish_pepe_using_subcommand flow" -s d -l body -d 'HTTP request body' -r
327
348
  complete -c pepe -n "__fish_pepe_using_subcommand flow" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
328
349
  complete -c pepe -n "__fish_pepe_using_subcommand flow" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
350
+ complete -c pepe -n "__fish_pepe_using_subcommand flow" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
351
+ complete -c pepe -n "__fish_pepe_using_subcommand flow" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
352
+ complete -c pepe -n "__fish_pepe_using_subcommand flow" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
329
353
  complete -c pepe -n "__fish_pepe_using_subcommand flow" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
330
354
  complete -c pepe -n "__fish_pepe_using_subcommand flow" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
331
355
  complete -c pepe -n "__fish_pepe_using_subcommand flow" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -361,6 +385,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand replay" -l rate -d 'Start this
361
385
  complete -c pepe -n "__fish_pepe_using_subcommand replay" -s d -l body -d 'HTTP request body' -r
362
386
  complete -c pepe -n "__fish_pepe_using_subcommand replay" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
363
387
  complete -c pepe -n "__fish_pepe_using_subcommand replay" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
388
+ complete -c pepe -n "__fish_pepe_using_subcommand replay" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
389
+ complete -c pepe -n "__fish_pepe_using_subcommand replay" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
390
+ complete -c pepe -n "__fish_pepe_using_subcommand replay" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
364
391
  complete -c pepe -n "__fish_pepe_using_subcommand replay" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
365
392
  complete -c pepe -n "__fish_pepe_using_subcommand replay" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
366
393
  complete -c pepe -n "__fish_pepe_using_subcommand replay" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -399,6 +426,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand logs" -l rate -d 'Start this m
399
426
  complete -c pepe -n "__fish_pepe_using_subcommand logs" -s d -l body -d 'HTTP request body' -r
400
427
  complete -c pepe -n "__fish_pepe_using_subcommand logs" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
401
428
  complete -c pepe -n "__fish_pepe_using_subcommand logs" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
429
+ complete -c pepe -n "__fish_pepe_using_subcommand logs" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
430
+ complete -c pepe -n "__fish_pepe_using_subcommand logs" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
431
+ complete -c pepe -n "__fish_pepe_using_subcommand logs" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
402
432
  complete -c pepe -n "__fish_pepe_using_subcommand logs" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
403
433
  complete -c pepe -n "__fish_pepe_using_subcommand logs" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
404
434
  complete -c pepe -n "__fish_pepe_using_subcommand logs" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -434,6 +464,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand schema" -l rate -d 'Start this
434
464
  complete -c pepe -n "__fish_pepe_using_subcommand schema" -s d -l body -d 'HTTP request body' -r
435
465
  complete -c pepe -n "__fish_pepe_using_subcommand schema" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
436
466
  complete -c pepe -n "__fish_pepe_using_subcommand schema" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
467
+ complete -c pepe -n "__fish_pepe_using_subcommand schema" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
468
+ complete -c pepe -n "__fish_pepe_using_subcommand schema" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
469
+ complete -c pepe -n "__fish_pepe_using_subcommand schema" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
437
470
  complete -c pepe -n "__fish_pepe_using_subcommand schema" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
438
471
  complete -c pepe -n "__fish_pepe_using_subcommand schema" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
439
472
  complete -c pepe -n "__fish_pepe_using_subcommand schema" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -467,6 +500,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand mcp" -l rate -d 'Start this ma
467
500
  complete -c pepe -n "__fish_pepe_using_subcommand mcp" -s d -l body -d 'HTTP request body' -r
468
501
  complete -c pepe -n "__fish_pepe_using_subcommand mcp" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
469
502
  complete -c pepe -n "__fish_pepe_using_subcommand mcp" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
503
+ complete -c pepe -n "__fish_pepe_using_subcommand mcp" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
504
+ complete -c pepe -n "__fish_pepe_using_subcommand mcp" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
505
+ complete -c pepe -n "__fish_pepe_using_subcommand mcp" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
470
506
  complete -c pepe -n "__fish_pepe_using_subcommand mcp" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
471
507
  complete -c pepe -n "__fish_pepe_using_subcommand mcp" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
472
508
  complete -c pepe -n "__fish_pepe_using_subcommand mcp" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -500,6 +536,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand self-update" -l rate -d 'Start
500
536
  complete -c pepe -n "__fish_pepe_using_subcommand self-update" -s d -l body -d 'HTTP request body' -r
501
537
  complete -c pepe -n "__fish_pepe_using_subcommand self-update" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
502
538
  complete -c pepe -n "__fish_pepe_using_subcommand self-update" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
539
+ complete -c pepe -n "__fish_pepe_using_subcommand self-update" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
540
+ complete -c pepe -n "__fish_pepe_using_subcommand self-update" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
541
+ complete -c pepe -n "__fish_pepe_using_subcommand self-update" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
503
542
  complete -c pepe -n "__fish_pepe_using_subcommand self-update" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
504
543
  complete -c pepe -n "__fish_pepe_using_subcommand self-update" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
505
544
  complete -c pepe -n "__fish_pepe_using_subcommand self-update" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
@@ -535,6 +574,9 @@ complete -c pepe -n "__fish_pepe_using_subcommand completions" -l rate -d 'Start
535
574
  complete -c pepe -n "__fish_pepe_using_subcommand completions" -s d -l body -d 'HTTP request body' -r
536
575
  complete -c pepe -n "__fish_pepe_using_subcommand completions" -s p -l proxy -d 'Proxy server URL: http://user:pass@host:port or socks5://host:port' -r
537
576
  complete -c pepe -n "__fish_pepe_using_subcommand completions" -l trace-header -d 'Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\'s logs; without it, X-Request-Id, traceparent, CF-Ray, X-Amzn-Trace-Id and other common ones are looked for' -r
577
+ complete -c pepe -n "__fish_pepe_using_subcommand completions" -l vars -d 'Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\'s values' -r -F
578
+ complete -c pepe -n "__fish_pepe_using_subcommand completions" -l webhook -d 'Send the run\'s verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more' -r
579
+ complete -c pepe -n "__fish_pepe_using_subcommand completions" -l webhook-on -d 'When the --webhook URLs are sent: start, progress, anomaly, end, fail (the end when a --fail-if was crossed), comma-separated; end by default' -r
538
580
  complete -c pepe -n "__fish_pepe_using_subcommand completions" -l snapshot -d 'Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\'s numbers survive a crash or a lost terminal; it has a minute-by-minute timeline of the whole run' -r -F
539
581
  complete -c pepe -n "__fish_pepe_using_subcommand completions" -l allow-host -d 'Refuse to send anywhere but these hosts: api.example.com exactly, or .example.com for it and its subdomains; repeat for more. Every target is checked before anything is sent' -r
540
582
  complete -c pepe -n "__fish_pepe_using_subcommand completions" -l max-requests -d 'Refuse a run that would send more requests than this: -n above it, or -z without a --rate that bounds it' -r
package/man/pepe.1 CHANGED
@@ -8,7 +8,7 @@ pepe \- HTTP load generator
8
8
  .ie \n(.g .ds Aq \(aq
9
9
  .el .ds Aq '
10
10
  .SH SYNOPSIS
11
- \fBpepe\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-n\fR|\fB\-\-number\fR] [\fB\-c\fR|\fB\-\-concurrency\fR] [\fB\-z\fR|\fB\-\-duration\fR] [\fB\-\-curl\fR] [\fB\-m\fR|\fB\-\-method\fR] [\fB\-H\fR|\fB\-\-headers\fR] [\fB\-t\fR|\fB\-\-timeout\fR] [\fB\-\-warmup\fR] [\fB\-\-threads\fR] [\fB\-\-rate\fR] [\fB\-d\fR|\fB\-\-body\fR] [\fB\-u\fR|\fB\-\-user\-agent\fR] [\fB\-p\fR|\fB\-\-proxy\fR] [\fB\-k\fR|\fB\-\-insecure\fR] [\fB\-\-disable\-compression\fR] [\fB\-\-disable\-keepalive\fR] [\fB\-\-disable\-redirects\fR] [\fB\-\-json\fR] [\fB\-\-trace\-header\fR] [\fB\-\-snapshot\fR] [\fB\-\-allow\-host\fR] [\fB\-\-max\-requests\fR] [\fB\-\-max\-rate\fR] [\fB\-\-max\-concurrency\fR] [\fB\-\-dry\-run\fR] [\fB\-\-fail\-if\fR] [\fB\-\-metrics\fR] [\fB\-\-otlp\fR] [\fB\-i\fR|\fB\-\-setup\fR] [\fB\-\-config\fR] [\fB\-\-write\-config\fR] [\fB\-\-load\fR] [\fB\-\-keep\fR] [\fB\-\-record\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIURL\fR] [\fIARGS\fR] [\fIsubcommands\fR]
11
+ \fBpepe\fR [\fB\-h\fR|\fB\-\-help\fR] [\fB\-n\fR|\fB\-\-number\fR] [\fB\-c\fR|\fB\-\-concurrency\fR] [\fB\-z\fR|\fB\-\-duration\fR] [\fB\-\-curl\fR] [\fB\-m\fR|\fB\-\-method\fR] [\fB\-H\fR|\fB\-\-headers\fR] [\fB\-t\fR|\fB\-\-timeout\fR] [\fB\-\-warmup\fR] [\fB\-\-threads\fR] [\fB\-\-rate\fR] [\fB\-d\fR|\fB\-\-body\fR] [\fB\-u\fR|\fB\-\-user\-agent\fR] [\fB\-p\fR|\fB\-\-proxy\fR] [\fB\-k\fR|\fB\-\-insecure\fR] [\fB\-\-disable\-compression\fR] [\fB\-\-disable\-keepalive\fR] [\fB\-\-disable\-redirects\fR] [\fB\-\-json\fR] [\fB\-\-trace\-header\fR] [\fB\-\-vars\fR] [\fB\-\-webhook\fR] [\fB\-\-webhook\-on\fR] [\fB\-\-snapshot\fR] [\fB\-\-allow\-host\fR] [\fB\-\-max\-requests\fR] [\fB\-\-max\-rate\fR] [\fB\-\-max\-concurrency\fR] [\fB\-\-dry\-run\fR] [\fB\-\-fail\-if\fR] [\fB\-\-metrics\fR] [\fB\-\-otlp\fR] [\fB\-i\fR|\fB\-\-setup\fR] [\fB\-\-config\fR] [\fB\-\-write\-config\fR] [\fB\-\-load\fR] [\fB\-\-keep\fR] [\fB\-\-record\fR] [\fB\-V\fR|\fB\-\-version\fR] [\fIURL\fR] [\fIARGS\fR] [\fIsubcommands\fR]
12
12
  .ie \n(.g .ds Aq \(aq
13
13
  .el .ds Aq '
14
14
  .SH DESCRIPTION
@@ -77,6 +77,15 @@ Output results in JSON format
77
77
  \fB\-\-trace\-header\fR \fI<NAME>\fR
78
78
  Response header holding the request id to show for the slowest requests and in the inspector, so they can be found in the server\*(Aqs logs; without it, X\-Request\-Id, traceparent, CF\-Ray, X\-Amzn\-Trace\-Id and other common ones are looked for
79
79
  .TP
80
+ \fB\-\-vars\fR \fI<FILE>\fR
81
+ Fill the {{holes}} in the URL, headers and body from this CSV file, whose first line names them: each request takes the next row, and the rows go round again. In a flow, each chain starts with the next row\*(Aqs values
82
+ .TP
83
+ \fB\-\-webhook\fR \fI<URL>\fR
84
+ Send the run\*(Aqs verdict to this URL when it ends: a Slack, Discord, Teams or Google Chat webhook gets a message laid out for it, anything else the JSON report; repeat for more. ${NAME} is taken from the environment. A [[webhook]] table in pepe.toml says more
85
+ .TP
86
+ \fB\-\-webhook\-on\fR \fI<EVENTS>\fR
87
+ When the \-\-webhook URLs are sent: start, progress, anomaly, end, fail (the end when a \-\-fail\-if was crossed), comma\-separated; end by default
88
+ .TP
80
89
  \fB\-\-snapshot\fR \fI<FILE>\fR
81
90
  Write the JSON report so far to this file every minute while the run goes, and once more when it ends, so a long run\*(Aqs numbers survive a crash or a lost terminal; it has a minute\-by\-minute timeline of the whole run
82
91
  .TP
@@ -19,7 +19,7 @@
19
19
  "hasInstallScript": true,
20
20
  "license": "MIT",
21
21
  "name": "pepe-http",
22
- "version": "0.43.1"
22
+ "version": "0.45.0"
23
23
  },
24
24
  "node_modules/detect-libc": {
25
25
  "engines": {
@@ -48,5 +48,5 @@
48
48
  }
49
49
  },
50
50
  "requires": true,
51
- "version": "0.43.1"
51
+ "version": "0.45.0"
52
52
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "artifactDownloadUrls": [
3
- "https://github.com/omarmhaimdat/pepe/releases/download/v0.43.1"
3
+ "https://github.com/omarmhaimdat/pepe/releases/download/v0.45.0"
4
4
  ],
5
5
  "author": "Omar MHAIMDAT",
6
6
  "bin": {
@@ -119,7 +119,7 @@
119
119
  "zipExt": ".tar.xz"
120
120
  }
121
121
  },
122
- "version": "0.43.1",
122
+ "version": "0.45.0",
123
123
  "volta": {
124
124
  "node": "18.14.1",
125
125
  "npm": "9.5.0"