pepe-http 0.0.0-stage → 0.34.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.
@@ -0,0 +1,2062 @@
1
+ _pepe() {
2
+ local i cur prev opts cmd
3
+ COMPREPLY=()
4
+ if [[ "${BASH_VERSINFO[0]}" -ge 4 ]]; then
5
+ cur="$2"
6
+ else
7
+ cur="${COMP_WORDS[COMP_CWORD]}"
8
+ fi
9
+ prev="$3"
10
+ cmd=""
11
+ opts=""
12
+
13
+ for i in "${COMP_WORDS[@]:0:COMP_CWORD}"
14
+ do
15
+ case "${cmd},${i}" in
16
+ ",$1")
17
+ cmd="pepe"
18
+ ;;
19
+ pepe,api)
20
+ cmd="pepe__subcmd__api"
21
+ ;;
22
+ pepe,compare)
23
+ cmd="pepe__subcmd__compare"
24
+ ;;
25
+ pepe,completions)
26
+ cmd="pepe__subcmd__completions"
27
+ ;;
28
+ pepe,flow)
29
+ cmd="pepe__subcmd__flow"
30
+ ;;
31
+ pepe,help)
32
+ cmd="pepe__subcmd__help"
33
+ ;;
34
+ pepe,logs)
35
+ cmd="pepe__subcmd__logs"
36
+ ;;
37
+ pepe,mcp)
38
+ cmd="pepe__subcmd__mcp"
39
+ ;;
40
+ pepe,ping)
41
+ cmd="pepe__subcmd__ping"
42
+ ;;
43
+ pepe,ramp)
44
+ cmd="pepe__subcmd__ramp"
45
+ ;;
46
+ pepe,replay)
47
+ cmd="pepe__subcmd__replay"
48
+ ;;
49
+ pepe,schema)
50
+ cmd="pepe__subcmd__schema"
51
+ ;;
52
+ pepe,self-update)
53
+ cmd="pepe__subcmd__self__subcmd__update"
54
+ ;;
55
+ pepe__subcmd__help,api)
56
+ cmd="pepe__subcmd__help__subcmd__api"
57
+ ;;
58
+ pepe__subcmd__help,compare)
59
+ cmd="pepe__subcmd__help__subcmd__compare"
60
+ ;;
61
+ pepe__subcmd__help,completions)
62
+ cmd="pepe__subcmd__help__subcmd__completions"
63
+ ;;
64
+ pepe__subcmd__help,flow)
65
+ cmd="pepe__subcmd__help__subcmd__flow"
66
+ ;;
67
+ pepe__subcmd__help,help)
68
+ cmd="pepe__subcmd__help__subcmd__help"
69
+ ;;
70
+ pepe__subcmd__help,logs)
71
+ cmd="pepe__subcmd__help__subcmd__logs"
72
+ ;;
73
+ pepe__subcmd__help,mcp)
74
+ cmd="pepe__subcmd__help__subcmd__mcp"
75
+ ;;
76
+ pepe__subcmd__help,ping)
77
+ cmd="pepe__subcmd__help__subcmd__ping"
78
+ ;;
79
+ pepe__subcmd__help,ramp)
80
+ cmd="pepe__subcmd__help__subcmd__ramp"
81
+ ;;
82
+ pepe__subcmd__help,replay)
83
+ cmd="pepe__subcmd__help__subcmd__replay"
84
+ ;;
85
+ pepe__subcmd__help,schema)
86
+ cmd="pepe__subcmd__help__subcmd__schema"
87
+ ;;
88
+ pepe__subcmd__help,self-update)
89
+ cmd="pepe__subcmd__help__subcmd__self__subcmd__update"
90
+ ;;
91
+ *)
92
+ ;;
93
+ esac
94
+ done
95
+
96
+ case "${cmd}" in
97
+ pepe)
98
+ 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 --setup --config --write-config --concurrency --user-agent --version ping ramp compare api flow replay logs schema mcp self-update completions help"
99
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
100
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
101
+ return 0
102
+ fi
103
+ case "${prev}" in
104
+ --number)
105
+ COMPREPLY=($(compgen -f "${cur}"))
106
+ return 0
107
+ ;;
108
+ -n)
109
+ COMPREPLY=($(compgen -f "${cur}"))
110
+ return 0
111
+ ;;
112
+ --duration)
113
+ COMPREPLY=($(compgen -f "${cur}"))
114
+ return 0
115
+ ;;
116
+ -z)
117
+ COMPREPLY=($(compgen -f "${cur}"))
118
+ return 0
119
+ ;;
120
+ --method)
121
+ COMPREPLY=($(compgen -f "${cur}"))
122
+ return 0
123
+ ;;
124
+ -m)
125
+ COMPREPLY=($(compgen -f "${cur}"))
126
+ return 0
127
+ ;;
128
+ --headers)
129
+ COMPREPLY=($(compgen -f "${cur}"))
130
+ return 0
131
+ ;;
132
+ -H)
133
+ COMPREPLY=($(compgen -f "${cur}"))
134
+ return 0
135
+ ;;
136
+ --timeout)
137
+ COMPREPLY=($(compgen -f "${cur}"))
138
+ return 0
139
+ ;;
140
+ -t)
141
+ COMPREPLY=($(compgen -f "${cur}"))
142
+ return 0
143
+ ;;
144
+ --warmup)
145
+ COMPREPLY=($(compgen -f "${cur}"))
146
+ return 0
147
+ ;;
148
+ --threads)
149
+ COMPREPLY=($(compgen -f "${cur}"))
150
+ return 0
151
+ ;;
152
+ --rate)
153
+ COMPREPLY=($(compgen -f "${cur}"))
154
+ return 0
155
+ ;;
156
+ --body)
157
+ COMPREPLY=($(compgen -f "${cur}"))
158
+ return 0
159
+ ;;
160
+ -d)
161
+ COMPREPLY=($(compgen -f "${cur}"))
162
+ return 0
163
+ ;;
164
+ --proxy)
165
+ COMPREPLY=($(compgen -f "${cur}"))
166
+ return 0
167
+ ;;
168
+ -p)
169
+ COMPREPLY=($(compgen -f "${cur}"))
170
+ return 0
171
+ ;;
172
+ --trace-header)
173
+ COMPREPLY=($(compgen -f "${cur}"))
174
+ return 0
175
+ ;;
176
+ --snapshot)
177
+ COMPREPLY=($(compgen -f "${cur}"))
178
+ return 0
179
+ ;;
180
+ --allow-host)
181
+ COMPREPLY=($(compgen -f "${cur}"))
182
+ return 0
183
+ ;;
184
+ --max-requests)
185
+ COMPREPLY=($(compgen -f "${cur}"))
186
+ return 0
187
+ ;;
188
+ --max-rate)
189
+ COMPREPLY=($(compgen -f "${cur}"))
190
+ return 0
191
+ ;;
192
+ --max-concurrency)
193
+ COMPREPLY=($(compgen -f "${cur}"))
194
+ return 0
195
+ ;;
196
+ --fail-if)
197
+ COMPREPLY=($(compgen -f "${cur}"))
198
+ return 0
199
+ ;;
200
+ --metrics)
201
+ COMPREPLY=($(compgen -f "${cur}"))
202
+ return 0
203
+ ;;
204
+ --config)
205
+ COMPREPLY=($(compgen -f "${cur}"))
206
+ return 0
207
+ ;;
208
+ --write-config)
209
+ COMPREPLY=($(compgen -f "${cur}"))
210
+ return 0
211
+ ;;
212
+ --concurrency)
213
+ COMPREPLY=($(compgen -f "${cur}"))
214
+ return 0
215
+ ;;
216
+ -c)
217
+ COMPREPLY=($(compgen -f "${cur}"))
218
+ return 0
219
+ ;;
220
+ --user-agent)
221
+ COMPREPLY=($(compgen -f "${cur}"))
222
+ return 0
223
+ ;;
224
+ -u)
225
+ COMPREPLY=($(compgen -f "${cur}"))
226
+ return 0
227
+ ;;
228
+ *)
229
+ COMPREPLY=()
230
+ ;;
231
+ esac
232
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
233
+ return 0
234
+ ;;
235
+ pepe__subcmd__api)
236
+ 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 --concurrency --user-agent"
237
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
238
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
239
+ return 0
240
+ fi
241
+ case "${prev}" in
242
+ --auth)
243
+ COMPREPLY=($(compgen -f "${cur}"))
244
+ return 0
245
+ ;;
246
+ --server)
247
+ COMPREPLY=($(compgen -f "${cur}"))
248
+ return 0
249
+ ;;
250
+ --tag)
251
+ COMPREPLY=($(compgen -f "${cur}"))
252
+ return 0
253
+ ;;
254
+ --only)
255
+ COMPREPLY=($(compgen -f "${cur}"))
256
+ return 0
257
+ ;;
258
+ --skip)
259
+ COMPREPLY=($(compgen -f "${cur}"))
260
+ return 0
261
+ ;;
262
+ --set)
263
+ COMPREPLY=($(compgen -f "${cur}"))
264
+ return 0
265
+ ;;
266
+ --number)
267
+ COMPREPLY=($(compgen -f "${cur}"))
268
+ return 0
269
+ ;;
270
+ -n)
271
+ COMPREPLY=($(compgen -f "${cur}"))
272
+ return 0
273
+ ;;
274
+ --duration)
275
+ COMPREPLY=($(compgen -f "${cur}"))
276
+ return 0
277
+ ;;
278
+ -z)
279
+ COMPREPLY=($(compgen -f "${cur}"))
280
+ return 0
281
+ ;;
282
+ --method)
283
+ COMPREPLY=($(compgen -f "${cur}"))
284
+ return 0
285
+ ;;
286
+ -m)
287
+ COMPREPLY=($(compgen -f "${cur}"))
288
+ return 0
289
+ ;;
290
+ --headers)
291
+ COMPREPLY=($(compgen -f "${cur}"))
292
+ return 0
293
+ ;;
294
+ -H)
295
+ COMPREPLY=($(compgen -f "${cur}"))
296
+ return 0
297
+ ;;
298
+ --timeout)
299
+ COMPREPLY=($(compgen -f "${cur}"))
300
+ return 0
301
+ ;;
302
+ -t)
303
+ COMPREPLY=($(compgen -f "${cur}"))
304
+ return 0
305
+ ;;
306
+ --warmup)
307
+ COMPREPLY=($(compgen -f "${cur}"))
308
+ return 0
309
+ ;;
310
+ --threads)
311
+ COMPREPLY=($(compgen -f "${cur}"))
312
+ return 0
313
+ ;;
314
+ --rate)
315
+ COMPREPLY=($(compgen -f "${cur}"))
316
+ return 0
317
+ ;;
318
+ --body)
319
+ COMPREPLY=($(compgen -f "${cur}"))
320
+ return 0
321
+ ;;
322
+ -d)
323
+ COMPREPLY=($(compgen -f "${cur}"))
324
+ return 0
325
+ ;;
326
+ --proxy)
327
+ COMPREPLY=($(compgen -f "${cur}"))
328
+ return 0
329
+ ;;
330
+ -p)
331
+ COMPREPLY=($(compgen -f "${cur}"))
332
+ return 0
333
+ ;;
334
+ --trace-header)
335
+ COMPREPLY=($(compgen -f "${cur}"))
336
+ return 0
337
+ ;;
338
+ --snapshot)
339
+ COMPREPLY=($(compgen -f "${cur}"))
340
+ return 0
341
+ ;;
342
+ --allow-host)
343
+ COMPREPLY=($(compgen -f "${cur}"))
344
+ return 0
345
+ ;;
346
+ --max-requests)
347
+ COMPREPLY=($(compgen -f "${cur}"))
348
+ return 0
349
+ ;;
350
+ --max-rate)
351
+ COMPREPLY=($(compgen -f "${cur}"))
352
+ return 0
353
+ ;;
354
+ --max-concurrency)
355
+ COMPREPLY=($(compgen -f "${cur}"))
356
+ return 0
357
+ ;;
358
+ --fail-if)
359
+ COMPREPLY=($(compgen -f "${cur}"))
360
+ return 0
361
+ ;;
362
+ --metrics)
363
+ COMPREPLY=($(compgen -f "${cur}"))
364
+ return 0
365
+ ;;
366
+ --config)
367
+ COMPREPLY=($(compgen -f "${cur}"))
368
+ return 0
369
+ ;;
370
+ --write-config)
371
+ COMPREPLY=($(compgen -f "${cur}"))
372
+ return 0
373
+ ;;
374
+ --concurrency)
375
+ COMPREPLY=($(compgen -f "${cur}"))
376
+ return 0
377
+ ;;
378
+ -c)
379
+ COMPREPLY=($(compgen -f "${cur}"))
380
+ return 0
381
+ ;;
382
+ --user-agent)
383
+ COMPREPLY=($(compgen -f "${cur}"))
384
+ return 0
385
+ ;;
386
+ -u)
387
+ COMPREPLY=($(compgen -f "${cur}"))
388
+ return 0
389
+ ;;
390
+ *)
391
+ COMPREPLY=()
392
+ ;;
393
+ esac
394
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
395
+ return 0
396
+ ;;
397
+ pepe__subcmd__compare)
398
+ 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 --concurrency --user-agent"
399
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
400
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
401
+ return 0
402
+ fi
403
+ case "${prev}" in
404
+ --svg)
405
+ COMPREPLY=($(compgen -f "${cur}"))
406
+ return 0
407
+ ;;
408
+ --number)
409
+ COMPREPLY=($(compgen -f "${cur}"))
410
+ return 0
411
+ ;;
412
+ -n)
413
+ COMPREPLY=($(compgen -f "${cur}"))
414
+ return 0
415
+ ;;
416
+ --duration)
417
+ COMPREPLY=($(compgen -f "${cur}"))
418
+ return 0
419
+ ;;
420
+ -z)
421
+ COMPREPLY=($(compgen -f "${cur}"))
422
+ return 0
423
+ ;;
424
+ --method)
425
+ COMPREPLY=($(compgen -f "${cur}"))
426
+ return 0
427
+ ;;
428
+ -m)
429
+ COMPREPLY=($(compgen -f "${cur}"))
430
+ return 0
431
+ ;;
432
+ --headers)
433
+ COMPREPLY=($(compgen -f "${cur}"))
434
+ return 0
435
+ ;;
436
+ -H)
437
+ COMPREPLY=($(compgen -f "${cur}"))
438
+ return 0
439
+ ;;
440
+ --timeout)
441
+ COMPREPLY=($(compgen -f "${cur}"))
442
+ return 0
443
+ ;;
444
+ -t)
445
+ COMPREPLY=($(compgen -f "${cur}"))
446
+ return 0
447
+ ;;
448
+ --warmup)
449
+ COMPREPLY=($(compgen -f "${cur}"))
450
+ return 0
451
+ ;;
452
+ --threads)
453
+ COMPREPLY=($(compgen -f "${cur}"))
454
+ return 0
455
+ ;;
456
+ --rate)
457
+ COMPREPLY=($(compgen -f "${cur}"))
458
+ return 0
459
+ ;;
460
+ --body)
461
+ COMPREPLY=($(compgen -f "${cur}"))
462
+ return 0
463
+ ;;
464
+ -d)
465
+ COMPREPLY=($(compgen -f "${cur}"))
466
+ return 0
467
+ ;;
468
+ --proxy)
469
+ COMPREPLY=($(compgen -f "${cur}"))
470
+ return 0
471
+ ;;
472
+ -p)
473
+ COMPREPLY=($(compgen -f "${cur}"))
474
+ return 0
475
+ ;;
476
+ --trace-header)
477
+ COMPREPLY=($(compgen -f "${cur}"))
478
+ return 0
479
+ ;;
480
+ --snapshot)
481
+ COMPREPLY=($(compgen -f "${cur}"))
482
+ return 0
483
+ ;;
484
+ --allow-host)
485
+ COMPREPLY=($(compgen -f "${cur}"))
486
+ return 0
487
+ ;;
488
+ --max-requests)
489
+ COMPREPLY=($(compgen -f "${cur}"))
490
+ return 0
491
+ ;;
492
+ --max-rate)
493
+ COMPREPLY=($(compgen -f "${cur}"))
494
+ return 0
495
+ ;;
496
+ --max-concurrency)
497
+ COMPREPLY=($(compgen -f "${cur}"))
498
+ return 0
499
+ ;;
500
+ --fail-if)
501
+ COMPREPLY=($(compgen -f "${cur}"))
502
+ return 0
503
+ ;;
504
+ --metrics)
505
+ COMPREPLY=($(compgen -f "${cur}"))
506
+ return 0
507
+ ;;
508
+ --config)
509
+ COMPREPLY=($(compgen -f "${cur}"))
510
+ return 0
511
+ ;;
512
+ --write-config)
513
+ COMPREPLY=($(compgen -f "${cur}"))
514
+ return 0
515
+ ;;
516
+ --concurrency)
517
+ COMPREPLY=($(compgen -f "${cur}"))
518
+ return 0
519
+ ;;
520
+ -c)
521
+ COMPREPLY=($(compgen -f "${cur}"))
522
+ return 0
523
+ ;;
524
+ --user-agent)
525
+ COMPREPLY=($(compgen -f "${cur}"))
526
+ return 0
527
+ ;;
528
+ -u)
529
+ COMPREPLY=($(compgen -f "${cur}"))
530
+ return 0
531
+ ;;
532
+ *)
533
+ COMPREPLY=()
534
+ ;;
535
+ esac
536
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
537
+ return 0
538
+ ;;
539
+ pepe__subcmd__completions)
540
+ 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 --concurrency --user-agent bash zsh fish powershell"
541
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
542
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
543
+ return 0
544
+ fi
545
+ case "${prev}" in
546
+ --number)
547
+ COMPREPLY=($(compgen -f "${cur}"))
548
+ return 0
549
+ ;;
550
+ -n)
551
+ COMPREPLY=($(compgen -f "${cur}"))
552
+ return 0
553
+ ;;
554
+ --duration)
555
+ COMPREPLY=($(compgen -f "${cur}"))
556
+ return 0
557
+ ;;
558
+ -z)
559
+ COMPREPLY=($(compgen -f "${cur}"))
560
+ return 0
561
+ ;;
562
+ --method)
563
+ COMPREPLY=($(compgen -f "${cur}"))
564
+ return 0
565
+ ;;
566
+ -m)
567
+ COMPREPLY=($(compgen -f "${cur}"))
568
+ return 0
569
+ ;;
570
+ --headers)
571
+ COMPREPLY=($(compgen -f "${cur}"))
572
+ return 0
573
+ ;;
574
+ -H)
575
+ COMPREPLY=($(compgen -f "${cur}"))
576
+ return 0
577
+ ;;
578
+ --timeout)
579
+ COMPREPLY=($(compgen -f "${cur}"))
580
+ return 0
581
+ ;;
582
+ -t)
583
+ COMPREPLY=($(compgen -f "${cur}"))
584
+ return 0
585
+ ;;
586
+ --warmup)
587
+ COMPREPLY=($(compgen -f "${cur}"))
588
+ return 0
589
+ ;;
590
+ --threads)
591
+ COMPREPLY=($(compgen -f "${cur}"))
592
+ return 0
593
+ ;;
594
+ --rate)
595
+ COMPREPLY=($(compgen -f "${cur}"))
596
+ return 0
597
+ ;;
598
+ --body)
599
+ COMPREPLY=($(compgen -f "${cur}"))
600
+ return 0
601
+ ;;
602
+ -d)
603
+ COMPREPLY=($(compgen -f "${cur}"))
604
+ return 0
605
+ ;;
606
+ --proxy)
607
+ COMPREPLY=($(compgen -f "${cur}"))
608
+ return 0
609
+ ;;
610
+ -p)
611
+ COMPREPLY=($(compgen -f "${cur}"))
612
+ return 0
613
+ ;;
614
+ --trace-header)
615
+ COMPREPLY=($(compgen -f "${cur}"))
616
+ return 0
617
+ ;;
618
+ --snapshot)
619
+ COMPREPLY=($(compgen -f "${cur}"))
620
+ return 0
621
+ ;;
622
+ --allow-host)
623
+ COMPREPLY=($(compgen -f "${cur}"))
624
+ return 0
625
+ ;;
626
+ --max-requests)
627
+ COMPREPLY=($(compgen -f "${cur}"))
628
+ return 0
629
+ ;;
630
+ --max-rate)
631
+ COMPREPLY=($(compgen -f "${cur}"))
632
+ return 0
633
+ ;;
634
+ --max-concurrency)
635
+ COMPREPLY=($(compgen -f "${cur}"))
636
+ return 0
637
+ ;;
638
+ --fail-if)
639
+ COMPREPLY=($(compgen -f "${cur}"))
640
+ return 0
641
+ ;;
642
+ --metrics)
643
+ COMPREPLY=($(compgen -f "${cur}"))
644
+ return 0
645
+ ;;
646
+ --config)
647
+ COMPREPLY=($(compgen -f "${cur}"))
648
+ return 0
649
+ ;;
650
+ --write-config)
651
+ COMPREPLY=($(compgen -f "${cur}"))
652
+ return 0
653
+ ;;
654
+ --concurrency)
655
+ COMPREPLY=($(compgen -f "${cur}"))
656
+ return 0
657
+ ;;
658
+ -c)
659
+ COMPREPLY=($(compgen -f "${cur}"))
660
+ return 0
661
+ ;;
662
+ --user-agent)
663
+ COMPREPLY=($(compgen -f "${cur}"))
664
+ return 0
665
+ ;;
666
+ -u)
667
+ COMPREPLY=($(compgen -f "${cur}"))
668
+ return 0
669
+ ;;
670
+ *)
671
+ COMPREPLY=()
672
+ ;;
673
+ esac
674
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
675
+ return 0
676
+ ;;
677
+ pepe__subcmd__flow)
678
+ 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 --concurrency --user-agent"
679
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
680
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
681
+ return 0
682
+ fi
683
+ case "${prev}" in
684
+ --number)
685
+ COMPREPLY=($(compgen -f "${cur}"))
686
+ return 0
687
+ ;;
688
+ -n)
689
+ COMPREPLY=($(compgen -f "${cur}"))
690
+ return 0
691
+ ;;
692
+ --duration)
693
+ COMPREPLY=($(compgen -f "${cur}"))
694
+ return 0
695
+ ;;
696
+ -z)
697
+ COMPREPLY=($(compgen -f "${cur}"))
698
+ return 0
699
+ ;;
700
+ --method)
701
+ COMPREPLY=($(compgen -f "${cur}"))
702
+ return 0
703
+ ;;
704
+ -m)
705
+ COMPREPLY=($(compgen -f "${cur}"))
706
+ return 0
707
+ ;;
708
+ --headers)
709
+ COMPREPLY=($(compgen -f "${cur}"))
710
+ return 0
711
+ ;;
712
+ -H)
713
+ COMPREPLY=($(compgen -f "${cur}"))
714
+ return 0
715
+ ;;
716
+ --timeout)
717
+ COMPREPLY=($(compgen -f "${cur}"))
718
+ return 0
719
+ ;;
720
+ -t)
721
+ COMPREPLY=($(compgen -f "${cur}"))
722
+ return 0
723
+ ;;
724
+ --warmup)
725
+ COMPREPLY=($(compgen -f "${cur}"))
726
+ return 0
727
+ ;;
728
+ --threads)
729
+ COMPREPLY=($(compgen -f "${cur}"))
730
+ return 0
731
+ ;;
732
+ --rate)
733
+ COMPREPLY=($(compgen -f "${cur}"))
734
+ return 0
735
+ ;;
736
+ --body)
737
+ COMPREPLY=($(compgen -f "${cur}"))
738
+ return 0
739
+ ;;
740
+ -d)
741
+ COMPREPLY=($(compgen -f "${cur}"))
742
+ return 0
743
+ ;;
744
+ --proxy)
745
+ COMPREPLY=($(compgen -f "${cur}"))
746
+ return 0
747
+ ;;
748
+ -p)
749
+ COMPREPLY=($(compgen -f "${cur}"))
750
+ return 0
751
+ ;;
752
+ --trace-header)
753
+ COMPREPLY=($(compgen -f "${cur}"))
754
+ return 0
755
+ ;;
756
+ --snapshot)
757
+ COMPREPLY=($(compgen -f "${cur}"))
758
+ return 0
759
+ ;;
760
+ --allow-host)
761
+ COMPREPLY=($(compgen -f "${cur}"))
762
+ return 0
763
+ ;;
764
+ --max-requests)
765
+ COMPREPLY=($(compgen -f "${cur}"))
766
+ return 0
767
+ ;;
768
+ --max-rate)
769
+ COMPREPLY=($(compgen -f "${cur}"))
770
+ return 0
771
+ ;;
772
+ --max-concurrency)
773
+ COMPREPLY=($(compgen -f "${cur}"))
774
+ return 0
775
+ ;;
776
+ --fail-if)
777
+ COMPREPLY=($(compgen -f "${cur}"))
778
+ return 0
779
+ ;;
780
+ --metrics)
781
+ COMPREPLY=($(compgen -f "${cur}"))
782
+ return 0
783
+ ;;
784
+ --config)
785
+ COMPREPLY=($(compgen -f "${cur}"))
786
+ return 0
787
+ ;;
788
+ --write-config)
789
+ COMPREPLY=($(compgen -f "${cur}"))
790
+ return 0
791
+ ;;
792
+ --concurrency)
793
+ COMPREPLY=($(compgen -f "${cur}"))
794
+ return 0
795
+ ;;
796
+ -c)
797
+ COMPREPLY=($(compgen -f "${cur}"))
798
+ return 0
799
+ ;;
800
+ --user-agent)
801
+ COMPREPLY=($(compgen -f "${cur}"))
802
+ return 0
803
+ ;;
804
+ -u)
805
+ COMPREPLY=($(compgen -f "${cur}"))
806
+ return 0
807
+ ;;
808
+ *)
809
+ COMPREPLY=()
810
+ ;;
811
+ esac
812
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
813
+ return 0
814
+ ;;
815
+ pepe__subcmd__help)
816
+ opts="ping ramp compare api flow replay logs schema mcp self-update completions help"
817
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
818
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
819
+ return 0
820
+ fi
821
+ case "${prev}" in
822
+ *)
823
+ COMPREPLY=()
824
+ ;;
825
+ esac
826
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
827
+ return 0
828
+ ;;
829
+ pepe__subcmd__help__subcmd__api)
830
+ opts=""
831
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
832
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
833
+ return 0
834
+ fi
835
+ case "${prev}" in
836
+ *)
837
+ COMPREPLY=()
838
+ ;;
839
+ esac
840
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
841
+ return 0
842
+ ;;
843
+ pepe__subcmd__help__subcmd__compare)
844
+ opts=""
845
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
846
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
847
+ return 0
848
+ fi
849
+ case "${prev}" in
850
+ *)
851
+ COMPREPLY=()
852
+ ;;
853
+ esac
854
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
855
+ return 0
856
+ ;;
857
+ pepe__subcmd__help__subcmd__completions)
858
+ opts=""
859
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
860
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
861
+ return 0
862
+ fi
863
+ case "${prev}" in
864
+ *)
865
+ COMPREPLY=()
866
+ ;;
867
+ esac
868
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
869
+ return 0
870
+ ;;
871
+ pepe__subcmd__help__subcmd__flow)
872
+ opts=""
873
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
874
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
875
+ return 0
876
+ fi
877
+ case "${prev}" in
878
+ *)
879
+ COMPREPLY=()
880
+ ;;
881
+ esac
882
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
883
+ return 0
884
+ ;;
885
+ pepe__subcmd__help__subcmd__help)
886
+ opts=""
887
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
888
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
889
+ return 0
890
+ fi
891
+ case "${prev}" in
892
+ *)
893
+ COMPREPLY=()
894
+ ;;
895
+ esac
896
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
897
+ return 0
898
+ ;;
899
+ pepe__subcmd__help__subcmd__logs)
900
+ opts=""
901
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
902
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
903
+ return 0
904
+ fi
905
+ case "${prev}" in
906
+ *)
907
+ COMPREPLY=()
908
+ ;;
909
+ esac
910
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
911
+ return 0
912
+ ;;
913
+ pepe__subcmd__help__subcmd__mcp)
914
+ opts=""
915
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
916
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
917
+ return 0
918
+ fi
919
+ case "${prev}" in
920
+ *)
921
+ COMPREPLY=()
922
+ ;;
923
+ esac
924
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
925
+ return 0
926
+ ;;
927
+ pepe__subcmd__help__subcmd__ping)
928
+ opts=""
929
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
930
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
931
+ return 0
932
+ fi
933
+ case "${prev}" in
934
+ *)
935
+ COMPREPLY=()
936
+ ;;
937
+ esac
938
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
939
+ return 0
940
+ ;;
941
+ pepe__subcmd__help__subcmd__ramp)
942
+ opts=""
943
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
944
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
945
+ return 0
946
+ fi
947
+ case "${prev}" in
948
+ *)
949
+ COMPREPLY=()
950
+ ;;
951
+ esac
952
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
953
+ return 0
954
+ ;;
955
+ pepe__subcmd__help__subcmd__replay)
956
+ opts=""
957
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
958
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
959
+ return 0
960
+ fi
961
+ case "${prev}" in
962
+ *)
963
+ COMPREPLY=()
964
+ ;;
965
+ esac
966
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
967
+ return 0
968
+ ;;
969
+ pepe__subcmd__help__subcmd__schema)
970
+ opts=""
971
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
972
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
973
+ return 0
974
+ fi
975
+ case "${prev}" in
976
+ *)
977
+ COMPREPLY=()
978
+ ;;
979
+ esac
980
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
981
+ return 0
982
+ ;;
983
+ pepe__subcmd__help__subcmd__self__subcmd__update)
984
+ opts=""
985
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
986
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
987
+ return 0
988
+ fi
989
+ case "${prev}" in
990
+ *)
991
+ COMPREPLY=()
992
+ ;;
993
+ esac
994
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
995
+ return 0
996
+ ;;
997
+ pepe__subcmd__logs)
998
+ 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 --concurrency --user-agent"
999
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1000
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1001
+ return 0
1002
+ fi
1003
+ case "${prev}" in
1004
+ --format)
1005
+ COMPREPLY=($(compgen -f "${cur}"))
1006
+ return 0
1007
+ ;;
1008
+ --window)
1009
+ COMPREPLY=($(compgen -f "${cur}"))
1010
+ return 0
1011
+ ;;
1012
+ --since)
1013
+ COMPREPLY=($(compgen -f "${cur}"))
1014
+ return 0
1015
+ ;;
1016
+ --rows)
1017
+ COMPREPLY=($(compgen -f "${cur}"))
1018
+ return 0
1019
+ ;;
1020
+ --number)
1021
+ COMPREPLY=($(compgen -f "${cur}"))
1022
+ return 0
1023
+ ;;
1024
+ -n)
1025
+ COMPREPLY=($(compgen -f "${cur}"))
1026
+ return 0
1027
+ ;;
1028
+ --duration)
1029
+ COMPREPLY=($(compgen -f "${cur}"))
1030
+ return 0
1031
+ ;;
1032
+ -z)
1033
+ COMPREPLY=($(compgen -f "${cur}"))
1034
+ return 0
1035
+ ;;
1036
+ --method)
1037
+ COMPREPLY=($(compgen -f "${cur}"))
1038
+ return 0
1039
+ ;;
1040
+ -m)
1041
+ COMPREPLY=($(compgen -f "${cur}"))
1042
+ return 0
1043
+ ;;
1044
+ --headers)
1045
+ COMPREPLY=($(compgen -f "${cur}"))
1046
+ return 0
1047
+ ;;
1048
+ -H)
1049
+ COMPREPLY=($(compgen -f "${cur}"))
1050
+ return 0
1051
+ ;;
1052
+ --timeout)
1053
+ COMPREPLY=($(compgen -f "${cur}"))
1054
+ return 0
1055
+ ;;
1056
+ -t)
1057
+ COMPREPLY=($(compgen -f "${cur}"))
1058
+ return 0
1059
+ ;;
1060
+ --warmup)
1061
+ COMPREPLY=($(compgen -f "${cur}"))
1062
+ return 0
1063
+ ;;
1064
+ --threads)
1065
+ COMPREPLY=($(compgen -f "${cur}"))
1066
+ return 0
1067
+ ;;
1068
+ --rate)
1069
+ COMPREPLY=($(compgen -f "${cur}"))
1070
+ return 0
1071
+ ;;
1072
+ --body)
1073
+ COMPREPLY=($(compgen -f "${cur}"))
1074
+ return 0
1075
+ ;;
1076
+ -d)
1077
+ COMPREPLY=($(compgen -f "${cur}"))
1078
+ return 0
1079
+ ;;
1080
+ --proxy)
1081
+ COMPREPLY=($(compgen -f "${cur}"))
1082
+ return 0
1083
+ ;;
1084
+ -p)
1085
+ COMPREPLY=($(compgen -f "${cur}"))
1086
+ return 0
1087
+ ;;
1088
+ --trace-header)
1089
+ COMPREPLY=($(compgen -f "${cur}"))
1090
+ return 0
1091
+ ;;
1092
+ --snapshot)
1093
+ COMPREPLY=($(compgen -f "${cur}"))
1094
+ return 0
1095
+ ;;
1096
+ --allow-host)
1097
+ COMPREPLY=($(compgen -f "${cur}"))
1098
+ return 0
1099
+ ;;
1100
+ --max-requests)
1101
+ COMPREPLY=($(compgen -f "${cur}"))
1102
+ return 0
1103
+ ;;
1104
+ --max-rate)
1105
+ COMPREPLY=($(compgen -f "${cur}"))
1106
+ return 0
1107
+ ;;
1108
+ --max-concurrency)
1109
+ COMPREPLY=($(compgen -f "${cur}"))
1110
+ return 0
1111
+ ;;
1112
+ --fail-if)
1113
+ COMPREPLY=($(compgen -f "${cur}"))
1114
+ return 0
1115
+ ;;
1116
+ --metrics)
1117
+ COMPREPLY=($(compgen -f "${cur}"))
1118
+ return 0
1119
+ ;;
1120
+ --config)
1121
+ COMPREPLY=($(compgen -f "${cur}"))
1122
+ return 0
1123
+ ;;
1124
+ --write-config)
1125
+ COMPREPLY=($(compgen -f "${cur}"))
1126
+ return 0
1127
+ ;;
1128
+ --concurrency)
1129
+ COMPREPLY=($(compgen -f "${cur}"))
1130
+ return 0
1131
+ ;;
1132
+ -c)
1133
+ COMPREPLY=($(compgen -f "${cur}"))
1134
+ return 0
1135
+ ;;
1136
+ --user-agent)
1137
+ COMPREPLY=($(compgen -f "${cur}"))
1138
+ return 0
1139
+ ;;
1140
+ -u)
1141
+ COMPREPLY=($(compgen -f "${cur}"))
1142
+ return 0
1143
+ ;;
1144
+ *)
1145
+ COMPREPLY=()
1146
+ ;;
1147
+ esac
1148
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1149
+ return 0
1150
+ ;;
1151
+ pepe__subcmd__mcp)
1152
+ 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 --concurrency --user-agent"
1153
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1154
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1155
+ return 0
1156
+ fi
1157
+ case "${prev}" in
1158
+ --number)
1159
+ COMPREPLY=($(compgen -f "${cur}"))
1160
+ return 0
1161
+ ;;
1162
+ -n)
1163
+ COMPREPLY=($(compgen -f "${cur}"))
1164
+ return 0
1165
+ ;;
1166
+ --duration)
1167
+ COMPREPLY=($(compgen -f "${cur}"))
1168
+ return 0
1169
+ ;;
1170
+ -z)
1171
+ COMPREPLY=($(compgen -f "${cur}"))
1172
+ return 0
1173
+ ;;
1174
+ --method)
1175
+ COMPREPLY=($(compgen -f "${cur}"))
1176
+ return 0
1177
+ ;;
1178
+ -m)
1179
+ COMPREPLY=($(compgen -f "${cur}"))
1180
+ return 0
1181
+ ;;
1182
+ --headers)
1183
+ COMPREPLY=($(compgen -f "${cur}"))
1184
+ return 0
1185
+ ;;
1186
+ -H)
1187
+ COMPREPLY=($(compgen -f "${cur}"))
1188
+ return 0
1189
+ ;;
1190
+ --timeout)
1191
+ COMPREPLY=($(compgen -f "${cur}"))
1192
+ return 0
1193
+ ;;
1194
+ -t)
1195
+ COMPREPLY=($(compgen -f "${cur}"))
1196
+ return 0
1197
+ ;;
1198
+ --warmup)
1199
+ COMPREPLY=($(compgen -f "${cur}"))
1200
+ return 0
1201
+ ;;
1202
+ --threads)
1203
+ COMPREPLY=($(compgen -f "${cur}"))
1204
+ return 0
1205
+ ;;
1206
+ --rate)
1207
+ COMPREPLY=($(compgen -f "${cur}"))
1208
+ return 0
1209
+ ;;
1210
+ --body)
1211
+ COMPREPLY=($(compgen -f "${cur}"))
1212
+ return 0
1213
+ ;;
1214
+ -d)
1215
+ COMPREPLY=($(compgen -f "${cur}"))
1216
+ return 0
1217
+ ;;
1218
+ --proxy)
1219
+ COMPREPLY=($(compgen -f "${cur}"))
1220
+ return 0
1221
+ ;;
1222
+ -p)
1223
+ COMPREPLY=($(compgen -f "${cur}"))
1224
+ return 0
1225
+ ;;
1226
+ --trace-header)
1227
+ COMPREPLY=($(compgen -f "${cur}"))
1228
+ return 0
1229
+ ;;
1230
+ --snapshot)
1231
+ COMPREPLY=($(compgen -f "${cur}"))
1232
+ return 0
1233
+ ;;
1234
+ --allow-host)
1235
+ COMPREPLY=($(compgen -f "${cur}"))
1236
+ return 0
1237
+ ;;
1238
+ --max-requests)
1239
+ COMPREPLY=($(compgen -f "${cur}"))
1240
+ return 0
1241
+ ;;
1242
+ --max-rate)
1243
+ COMPREPLY=($(compgen -f "${cur}"))
1244
+ return 0
1245
+ ;;
1246
+ --max-concurrency)
1247
+ COMPREPLY=($(compgen -f "${cur}"))
1248
+ return 0
1249
+ ;;
1250
+ --fail-if)
1251
+ COMPREPLY=($(compgen -f "${cur}"))
1252
+ return 0
1253
+ ;;
1254
+ --metrics)
1255
+ COMPREPLY=($(compgen -f "${cur}"))
1256
+ return 0
1257
+ ;;
1258
+ --config)
1259
+ COMPREPLY=($(compgen -f "${cur}"))
1260
+ return 0
1261
+ ;;
1262
+ --write-config)
1263
+ COMPREPLY=($(compgen -f "${cur}"))
1264
+ return 0
1265
+ ;;
1266
+ --concurrency)
1267
+ COMPREPLY=($(compgen -f "${cur}"))
1268
+ return 0
1269
+ ;;
1270
+ -c)
1271
+ COMPREPLY=($(compgen -f "${cur}"))
1272
+ return 0
1273
+ ;;
1274
+ --user-agent)
1275
+ COMPREPLY=($(compgen -f "${cur}"))
1276
+ return 0
1277
+ ;;
1278
+ -u)
1279
+ COMPREPLY=($(compgen -f "${cur}"))
1280
+ return 0
1281
+ ;;
1282
+ *)
1283
+ COMPREPLY=()
1284
+ ;;
1285
+ esac
1286
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1287
+ return 0
1288
+ ;;
1289
+ pepe__subcmd__ping)
1290
+ 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 --concurrency --user-agent"
1291
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1292
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1293
+ return 0
1294
+ fi
1295
+ case "${prev}" in
1296
+ --every)
1297
+ COMPREPLY=($(compgen -f "${cur}"))
1298
+ return 0
1299
+ ;;
1300
+ --window)
1301
+ COMPREPLY=($(compgen -f "${cur}"))
1302
+ return 0
1303
+ ;;
1304
+ --name)
1305
+ COMPREPLY=($(compgen -f "${cur}"))
1306
+ return 0
1307
+ ;;
1308
+ --color)
1309
+ COMPREPLY=($(compgen -f "${cur}"))
1310
+ return 0
1311
+ ;;
1312
+ --interface)
1313
+ COMPREPLY=($(compgen -f "${cur}"))
1314
+ return 0
1315
+ ;;
1316
+ --port)
1317
+ COMPREPLY=($(compgen -f "${cur}"))
1318
+ return 0
1319
+ ;;
1320
+ --tcp-rst)
1321
+ COMPREPLY=($(compgen -W "pong fail" -- "${cur}"))
1322
+ return 0
1323
+ ;;
1324
+ --slo)
1325
+ COMPREPLY=($(compgen -f "${cur}"))
1326
+ return 0
1327
+ ;;
1328
+ --ymin)
1329
+ COMPREPLY=($(compgen -f "${cur}"))
1330
+ return 0
1331
+ ;;
1332
+ --ymax)
1333
+ COMPREPLY=($(compgen -f "${cur}"))
1334
+ return 0
1335
+ ;;
1336
+ --save)
1337
+ COMPREPLY=($(compgen -f "${cur}"))
1338
+ return 0
1339
+ ;;
1340
+ --save-body)
1341
+ COMPREPLY=($(compgen -f "${cur}"))
1342
+ return 0
1343
+ ;;
1344
+ --number)
1345
+ COMPREPLY=($(compgen -f "${cur}"))
1346
+ return 0
1347
+ ;;
1348
+ -n)
1349
+ COMPREPLY=($(compgen -f "${cur}"))
1350
+ return 0
1351
+ ;;
1352
+ --duration)
1353
+ COMPREPLY=($(compgen -f "${cur}"))
1354
+ return 0
1355
+ ;;
1356
+ -z)
1357
+ COMPREPLY=($(compgen -f "${cur}"))
1358
+ return 0
1359
+ ;;
1360
+ --method)
1361
+ COMPREPLY=($(compgen -f "${cur}"))
1362
+ return 0
1363
+ ;;
1364
+ -m)
1365
+ COMPREPLY=($(compgen -f "${cur}"))
1366
+ return 0
1367
+ ;;
1368
+ --headers)
1369
+ COMPREPLY=($(compgen -f "${cur}"))
1370
+ return 0
1371
+ ;;
1372
+ -H)
1373
+ COMPREPLY=($(compgen -f "${cur}"))
1374
+ return 0
1375
+ ;;
1376
+ --timeout)
1377
+ COMPREPLY=($(compgen -f "${cur}"))
1378
+ return 0
1379
+ ;;
1380
+ -t)
1381
+ COMPREPLY=($(compgen -f "${cur}"))
1382
+ return 0
1383
+ ;;
1384
+ --warmup)
1385
+ COMPREPLY=($(compgen -f "${cur}"))
1386
+ return 0
1387
+ ;;
1388
+ --threads)
1389
+ COMPREPLY=($(compgen -f "${cur}"))
1390
+ return 0
1391
+ ;;
1392
+ --rate)
1393
+ COMPREPLY=($(compgen -f "${cur}"))
1394
+ return 0
1395
+ ;;
1396
+ --body)
1397
+ COMPREPLY=($(compgen -f "${cur}"))
1398
+ return 0
1399
+ ;;
1400
+ -d)
1401
+ COMPREPLY=($(compgen -f "${cur}"))
1402
+ return 0
1403
+ ;;
1404
+ --proxy)
1405
+ COMPREPLY=($(compgen -f "${cur}"))
1406
+ return 0
1407
+ ;;
1408
+ -p)
1409
+ COMPREPLY=($(compgen -f "${cur}"))
1410
+ return 0
1411
+ ;;
1412
+ --trace-header)
1413
+ COMPREPLY=($(compgen -f "${cur}"))
1414
+ return 0
1415
+ ;;
1416
+ --snapshot)
1417
+ COMPREPLY=($(compgen -f "${cur}"))
1418
+ return 0
1419
+ ;;
1420
+ --allow-host)
1421
+ COMPREPLY=($(compgen -f "${cur}"))
1422
+ return 0
1423
+ ;;
1424
+ --max-requests)
1425
+ COMPREPLY=($(compgen -f "${cur}"))
1426
+ return 0
1427
+ ;;
1428
+ --max-rate)
1429
+ COMPREPLY=($(compgen -f "${cur}"))
1430
+ return 0
1431
+ ;;
1432
+ --max-concurrency)
1433
+ COMPREPLY=($(compgen -f "${cur}"))
1434
+ return 0
1435
+ ;;
1436
+ --fail-if)
1437
+ COMPREPLY=($(compgen -f "${cur}"))
1438
+ return 0
1439
+ ;;
1440
+ --metrics)
1441
+ COMPREPLY=($(compgen -f "${cur}"))
1442
+ return 0
1443
+ ;;
1444
+ --config)
1445
+ COMPREPLY=($(compgen -f "${cur}"))
1446
+ return 0
1447
+ ;;
1448
+ --write-config)
1449
+ COMPREPLY=($(compgen -f "${cur}"))
1450
+ return 0
1451
+ ;;
1452
+ --concurrency)
1453
+ COMPREPLY=($(compgen -f "${cur}"))
1454
+ return 0
1455
+ ;;
1456
+ -c)
1457
+ COMPREPLY=($(compgen -f "${cur}"))
1458
+ return 0
1459
+ ;;
1460
+ --user-agent)
1461
+ COMPREPLY=($(compgen -f "${cur}"))
1462
+ return 0
1463
+ ;;
1464
+ -u)
1465
+ COMPREPLY=($(compgen -f "${cur}"))
1466
+ return 0
1467
+ ;;
1468
+ *)
1469
+ COMPREPLY=()
1470
+ ;;
1471
+ esac
1472
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1473
+ return 0
1474
+ ;;
1475
+ pepe__subcmd__ramp)
1476
+ 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 --concurrency --user-agent"
1477
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1478
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1479
+ return 0
1480
+ fi
1481
+ case "${prev}" in
1482
+ --from)
1483
+ COMPREPLY=($(compgen -f "${cur}"))
1484
+ return 0
1485
+ ;;
1486
+ --to)
1487
+ COMPREPLY=($(compgen -f "${cur}"))
1488
+ return 0
1489
+ ;;
1490
+ --step)
1491
+ COMPREPLY=($(compgen -f "${cur}"))
1492
+ return 0
1493
+ ;;
1494
+ --every)
1495
+ COMPREPLY=($(compgen -f "${cur}"))
1496
+ return 0
1497
+ ;;
1498
+ --until)
1499
+ COMPREPLY=($(compgen -f "${cur}"))
1500
+ return 0
1501
+ ;;
1502
+ --number)
1503
+ COMPREPLY=($(compgen -f "${cur}"))
1504
+ return 0
1505
+ ;;
1506
+ -n)
1507
+ COMPREPLY=($(compgen -f "${cur}"))
1508
+ return 0
1509
+ ;;
1510
+ --duration)
1511
+ COMPREPLY=($(compgen -f "${cur}"))
1512
+ return 0
1513
+ ;;
1514
+ -z)
1515
+ COMPREPLY=($(compgen -f "${cur}"))
1516
+ return 0
1517
+ ;;
1518
+ --method)
1519
+ COMPREPLY=($(compgen -f "${cur}"))
1520
+ return 0
1521
+ ;;
1522
+ -m)
1523
+ COMPREPLY=($(compgen -f "${cur}"))
1524
+ return 0
1525
+ ;;
1526
+ --headers)
1527
+ COMPREPLY=($(compgen -f "${cur}"))
1528
+ return 0
1529
+ ;;
1530
+ -H)
1531
+ COMPREPLY=($(compgen -f "${cur}"))
1532
+ return 0
1533
+ ;;
1534
+ --timeout)
1535
+ COMPREPLY=($(compgen -f "${cur}"))
1536
+ return 0
1537
+ ;;
1538
+ -t)
1539
+ COMPREPLY=($(compgen -f "${cur}"))
1540
+ return 0
1541
+ ;;
1542
+ --warmup)
1543
+ COMPREPLY=($(compgen -f "${cur}"))
1544
+ return 0
1545
+ ;;
1546
+ --threads)
1547
+ COMPREPLY=($(compgen -f "${cur}"))
1548
+ return 0
1549
+ ;;
1550
+ --rate)
1551
+ COMPREPLY=($(compgen -f "${cur}"))
1552
+ return 0
1553
+ ;;
1554
+ --body)
1555
+ COMPREPLY=($(compgen -f "${cur}"))
1556
+ return 0
1557
+ ;;
1558
+ -d)
1559
+ COMPREPLY=($(compgen -f "${cur}"))
1560
+ return 0
1561
+ ;;
1562
+ --proxy)
1563
+ COMPREPLY=($(compgen -f "${cur}"))
1564
+ return 0
1565
+ ;;
1566
+ -p)
1567
+ COMPREPLY=($(compgen -f "${cur}"))
1568
+ return 0
1569
+ ;;
1570
+ --trace-header)
1571
+ COMPREPLY=($(compgen -f "${cur}"))
1572
+ return 0
1573
+ ;;
1574
+ --snapshot)
1575
+ COMPREPLY=($(compgen -f "${cur}"))
1576
+ return 0
1577
+ ;;
1578
+ --allow-host)
1579
+ COMPREPLY=($(compgen -f "${cur}"))
1580
+ return 0
1581
+ ;;
1582
+ --max-requests)
1583
+ COMPREPLY=($(compgen -f "${cur}"))
1584
+ return 0
1585
+ ;;
1586
+ --max-rate)
1587
+ COMPREPLY=($(compgen -f "${cur}"))
1588
+ return 0
1589
+ ;;
1590
+ --max-concurrency)
1591
+ COMPREPLY=($(compgen -f "${cur}"))
1592
+ return 0
1593
+ ;;
1594
+ --fail-if)
1595
+ COMPREPLY=($(compgen -f "${cur}"))
1596
+ return 0
1597
+ ;;
1598
+ --metrics)
1599
+ COMPREPLY=($(compgen -f "${cur}"))
1600
+ return 0
1601
+ ;;
1602
+ --config)
1603
+ COMPREPLY=($(compgen -f "${cur}"))
1604
+ return 0
1605
+ ;;
1606
+ --write-config)
1607
+ COMPREPLY=($(compgen -f "${cur}"))
1608
+ return 0
1609
+ ;;
1610
+ --concurrency)
1611
+ COMPREPLY=($(compgen -f "${cur}"))
1612
+ return 0
1613
+ ;;
1614
+ -c)
1615
+ COMPREPLY=($(compgen -f "${cur}"))
1616
+ return 0
1617
+ ;;
1618
+ --user-agent)
1619
+ COMPREPLY=($(compgen -f "${cur}"))
1620
+ return 0
1621
+ ;;
1622
+ -u)
1623
+ COMPREPLY=($(compgen -f "${cur}"))
1624
+ return 0
1625
+ ;;
1626
+ *)
1627
+ COMPREPLY=()
1628
+ ;;
1629
+ esac
1630
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1631
+ return 0
1632
+ ;;
1633
+ pepe__subcmd__replay)
1634
+ 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 --concurrency --user-agent"
1635
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1636
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1637
+ return 0
1638
+ fi
1639
+ case "${prev}" in
1640
+ --base-url)
1641
+ COMPREPLY=($(compgen -f "${cur}"))
1642
+ return 0
1643
+ ;;
1644
+ --rows)
1645
+ COMPREPLY=($(compgen -f "${cur}"))
1646
+ return 0
1647
+ ;;
1648
+ --number)
1649
+ COMPREPLY=($(compgen -f "${cur}"))
1650
+ return 0
1651
+ ;;
1652
+ -n)
1653
+ COMPREPLY=($(compgen -f "${cur}"))
1654
+ return 0
1655
+ ;;
1656
+ --duration)
1657
+ COMPREPLY=($(compgen -f "${cur}"))
1658
+ return 0
1659
+ ;;
1660
+ -z)
1661
+ COMPREPLY=($(compgen -f "${cur}"))
1662
+ return 0
1663
+ ;;
1664
+ --method)
1665
+ COMPREPLY=($(compgen -f "${cur}"))
1666
+ return 0
1667
+ ;;
1668
+ -m)
1669
+ COMPREPLY=($(compgen -f "${cur}"))
1670
+ return 0
1671
+ ;;
1672
+ --headers)
1673
+ COMPREPLY=($(compgen -f "${cur}"))
1674
+ return 0
1675
+ ;;
1676
+ -H)
1677
+ COMPREPLY=($(compgen -f "${cur}"))
1678
+ return 0
1679
+ ;;
1680
+ --timeout)
1681
+ COMPREPLY=($(compgen -f "${cur}"))
1682
+ return 0
1683
+ ;;
1684
+ -t)
1685
+ COMPREPLY=($(compgen -f "${cur}"))
1686
+ return 0
1687
+ ;;
1688
+ --warmup)
1689
+ COMPREPLY=($(compgen -f "${cur}"))
1690
+ return 0
1691
+ ;;
1692
+ --threads)
1693
+ COMPREPLY=($(compgen -f "${cur}"))
1694
+ return 0
1695
+ ;;
1696
+ --rate)
1697
+ COMPREPLY=($(compgen -f "${cur}"))
1698
+ return 0
1699
+ ;;
1700
+ --body)
1701
+ COMPREPLY=($(compgen -f "${cur}"))
1702
+ return 0
1703
+ ;;
1704
+ -d)
1705
+ COMPREPLY=($(compgen -f "${cur}"))
1706
+ return 0
1707
+ ;;
1708
+ --proxy)
1709
+ COMPREPLY=($(compgen -f "${cur}"))
1710
+ return 0
1711
+ ;;
1712
+ -p)
1713
+ COMPREPLY=($(compgen -f "${cur}"))
1714
+ return 0
1715
+ ;;
1716
+ --trace-header)
1717
+ COMPREPLY=($(compgen -f "${cur}"))
1718
+ return 0
1719
+ ;;
1720
+ --snapshot)
1721
+ COMPREPLY=($(compgen -f "${cur}"))
1722
+ return 0
1723
+ ;;
1724
+ --allow-host)
1725
+ COMPREPLY=($(compgen -f "${cur}"))
1726
+ return 0
1727
+ ;;
1728
+ --max-requests)
1729
+ COMPREPLY=($(compgen -f "${cur}"))
1730
+ return 0
1731
+ ;;
1732
+ --max-rate)
1733
+ COMPREPLY=($(compgen -f "${cur}"))
1734
+ return 0
1735
+ ;;
1736
+ --max-concurrency)
1737
+ COMPREPLY=($(compgen -f "${cur}"))
1738
+ return 0
1739
+ ;;
1740
+ --fail-if)
1741
+ COMPREPLY=($(compgen -f "${cur}"))
1742
+ return 0
1743
+ ;;
1744
+ --metrics)
1745
+ COMPREPLY=($(compgen -f "${cur}"))
1746
+ return 0
1747
+ ;;
1748
+ --config)
1749
+ COMPREPLY=($(compgen -f "${cur}"))
1750
+ return 0
1751
+ ;;
1752
+ --write-config)
1753
+ COMPREPLY=($(compgen -f "${cur}"))
1754
+ return 0
1755
+ ;;
1756
+ --concurrency)
1757
+ COMPREPLY=($(compgen -f "${cur}"))
1758
+ return 0
1759
+ ;;
1760
+ -c)
1761
+ COMPREPLY=($(compgen -f "${cur}"))
1762
+ return 0
1763
+ ;;
1764
+ --user-agent)
1765
+ COMPREPLY=($(compgen -f "${cur}"))
1766
+ return 0
1767
+ ;;
1768
+ -u)
1769
+ COMPREPLY=($(compgen -f "${cur}"))
1770
+ return 0
1771
+ ;;
1772
+ *)
1773
+ COMPREPLY=()
1774
+ ;;
1775
+ esac
1776
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1777
+ return 0
1778
+ ;;
1779
+ pepe__subcmd__schema)
1780
+ 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 --concurrency --user-agent"
1781
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1782
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1783
+ return 0
1784
+ fi
1785
+ case "${prev}" in
1786
+ --number)
1787
+ COMPREPLY=($(compgen -f "${cur}"))
1788
+ return 0
1789
+ ;;
1790
+ -n)
1791
+ COMPREPLY=($(compgen -f "${cur}"))
1792
+ return 0
1793
+ ;;
1794
+ --duration)
1795
+ COMPREPLY=($(compgen -f "${cur}"))
1796
+ return 0
1797
+ ;;
1798
+ -z)
1799
+ COMPREPLY=($(compgen -f "${cur}"))
1800
+ return 0
1801
+ ;;
1802
+ --method)
1803
+ COMPREPLY=($(compgen -f "${cur}"))
1804
+ return 0
1805
+ ;;
1806
+ -m)
1807
+ COMPREPLY=($(compgen -f "${cur}"))
1808
+ return 0
1809
+ ;;
1810
+ --headers)
1811
+ COMPREPLY=($(compgen -f "${cur}"))
1812
+ return 0
1813
+ ;;
1814
+ -H)
1815
+ COMPREPLY=($(compgen -f "${cur}"))
1816
+ return 0
1817
+ ;;
1818
+ --timeout)
1819
+ COMPREPLY=($(compgen -f "${cur}"))
1820
+ return 0
1821
+ ;;
1822
+ -t)
1823
+ COMPREPLY=($(compgen -f "${cur}"))
1824
+ return 0
1825
+ ;;
1826
+ --warmup)
1827
+ COMPREPLY=($(compgen -f "${cur}"))
1828
+ return 0
1829
+ ;;
1830
+ --threads)
1831
+ COMPREPLY=($(compgen -f "${cur}"))
1832
+ return 0
1833
+ ;;
1834
+ --rate)
1835
+ COMPREPLY=($(compgen -f "${cur}"))
1836
+ return 0
1837
+ ;;
1838
+ --body)
1839
+ COMPREPLY=($(compgen -f "${cur}"))
1840
+ return 0
1841
+ ;;
1842
+ -d)
1843
+ COMPREPLY=($(compgen -f "${cur}"))
1844
+ return 0
1845
+ ;;
1846
+ --proxy)
1847
+ COMPREPLY=($(compgen -f "${cur}"))
1848
+ return 0
1849
+ ;;
1850
+ -p)
1851
+ COMPREPLY=($(compgen -f "${cur}"))
1852
+ return 0
1853
+ ;;
1854
+ --trace-header)
1855
+ COMPREPLY=($(compgen -f "${cur}"))
1856
+ return 0
1857
+ ;;
1858
+ --snapshot)
1859
+ COMPREPLY=($(compgen -f "${cur}"))
1860
+ return 0
1861
+ ;;
1862
+ --allow-host)
1863
+ COMPREPLY=($(compgen -f "${cur}"))
1864
+ return 0
1865
+ ;;
1866
+ --max-requests)
1867
+ COMPREPLY=($(compgen -f "${cur}"))
1868
+ return 0
1869
+ ;;
1870
+ --max-rate)
1871
+ COMPREPLY=($(compgen -f "${cur}"))
1872
+ return 0
1873
+ ;;
1874
+ --max-concurrency)
1875
+ COMPREPLY=($(compgen -f "${cur}"))
1876
+ return 0
1877
+ ;;
1878
+ --fail-if)
1879
+ COMPREPLY=($(compgen -f "${cur}"))
1880
+ return 0
1881
+ ;;
1882
+ --metrics)
1883
+ COMPREPLY=($(compgen -f "${cur}"))
1884
+ return 0
1885
+ ;;
1886
+ --config)
1887
+ COMPREPLY=($(compgen -f "${cur}"))
1888
+ return 0
1889
+ ;;
1890
+ --write-config)
1891
+ COMPREPLY=($(compgen -f "${cur}"))
1892
+ return 0
1893
+ ;;
1894
+ --concurrency)
1895
+ COMPREPLY=($(compgen -f "${cur}"))
1896
+ return 0
1897
+ ;;
1898
+ -c)
1899
+ COMPREPLY=($(compgen -f "${cur}"))
1900
+ return 0
1901
+ ;;
1902
+ --user-agent)
1903
+ COMPREPLY=($(compgen -f "${cur}"))
1904
+ return 0
1905
+ ;;
1906
+ -u)
1907
+ COMPREPLY=($(compgen -f "${cur}"))
1908
+ return 0
1909
+ ;;
1910
+ *)
1911
+ COMPREPLY=()
1912
+ ;;
1913
+ esac
1914
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1915
+ return 0
1916
+ ;;
1917
+ pepe__subcmd__self__subcmd__update)
1918
+ 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 --concurrency --user-agent"
1919
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
1920
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1921
+ return 0
1922
+ fi
1923
+ case "${prev}" in
1924
+ --number)
1925
+ COMPREPLY=($(compgen -f "${cur}"))
1926
+ return 0
1927
+ ;;
1928
+ -n)
1929
+ COMPREPLY=($(compgen -f "${cur}"))
1930
+ return 0
1931
+ ;;
1932
+ --duration)
1933
+ COMPREPLY=($(compgen -f "${cur}"))
1934
+ return 0
1935
+ ;;
1936
+ -z)
1937
+ COMPREPLY=($(compgen -f "${cur}"))
1938
+ return 0
1939
+ ;;
1940
+ --method)
1941
+ COMPREPLY=($(compgen -f "${cur}"))
1942
+ return 0
1943
+ ;;
1944
+ -m)
1945
+ COMPREPLY=($(compgen -f "${cur}"))
1946
+ return 0
1947
+ ;;
1948
+ --headers)
1949
+ COMPREPLY=($(compgen -f "${cur}"))
1950
+ return 0
1951
+ ;;
1952
+ -H)
1953
+ COMPREPLY=($(compgen -f "${cur}"))
1954
+ return 0
1955
+ ;;
1956
+ --timeout)
1957
+ COMPREPLY=($(compgen -f "${cur}"))
1958
+ return 0
1959
+ ;;
1960
+ -t)
1961
+ COMPREPLY=($(compgen -f "${cur}"))
1962
+ return 0
1963
+ ;;
1964
+ --warmup)
1965
+ COMPREPLY=($(compgen -f "${cur}"))
1966
+ return 0
1967
+ ;;
1968
+ --threads)
1969
+ COMPREPLY=($(compgen -f "${cur}"))
1970
+ return 0
1971
+ ;;
1972
+ --rate)
1973
+ COMPREPLY=($(compgen -f "${cur}"))
1974
+ return 0
1975
+ ;;
1976
+ --body)
1977
+ COMPREPLY=($(compgen -f "${cur}"))
1978
+ return 0
1979
+ ;;
1980
+ -d)
1981
+ COMPREPLY=($(compgen -f "${cur}"))
1982
+ return 0
1983
+ ;;
1984
+ --proxy)
1985
+ COMPREPLY=($(compgen -f "${cur}"))
1986
+ return 0
1987
+ ;;
1988
+ -p)
1989
+ COMPREPLY=($(compgen -f "${cur}"))
1990
+ return 0
1991
+ ;;
1992
+ --trace-header)
1993
+ COMPREPLY=($(compgen -f "${cur}"))
1994
+ return 0
1995
+ ;;
1996
+ --snapshot)
1997
+ COMPREPLY=($(compgen -f "${cur}"))
1998
+ return 0
1999
+ ;;
2000
+ --allow-host)
2001
+ COMPREPLY=($(compgen -f "${cur}"))
2002
+ return 0
2003
+ ;;
2004
+ --max-requests)
2005
+ COMPREPLY=($(compgen -f "${cur}"))
2006
+ return 0
2007
+ ;;
2008
+ --max-rate)
2009
+ COMPREPLY=($(compgen -f "${cur}"))
2010
+ return 0
2011
+ ;;
2012
+ --max-concurrency)
2013
+ COMPREPLY=($(compgen -f "${cur}"))
2014
+ return 0
2015
+ ;;
2016
+ --fail-if)
2017
+ COMPREPLY=($(compgen -f "${cur}"))
2018
+ return 0
2019
+ ;;
2020
+ --metrics)
2021
+ COMPREPLY=($(compgen -f "${cur}"))
2022
+ return 0
2023
+ ;;
2024
+ --config)
2025
+ COMPREPLY=($(compgen -f "${cur}"))
2026
+ return 0
2027
+ ;;
2028
+ --write-config)
2029
+ COMPREPLY=($(compgen -f "${cur}"))
2030
+ return 0
2031
+ ;;
2032
+ --concurrency)
2033
+ COMPREPLY=($(compgen -f "${cur}"))
2034
+ return 0
2035
+ ;;
2036
+ -c)
2037
+ COMPREPLY=($(compgen -f "${cur}"))
2038
+ return 0
2039
+ ;;
2040
+ --user-agent)
2041
+ COMPREPLY=($(compgen -f "${cur}"))
2042
+ return 0
2043
+ ;;
2044
+ -u)
2045
+ COMPREPLY=($(compgen -f "${cur}"))
2046
+ return 0
2047
+ ;;
2048
+ *)
2049
+ COMPREPLY=()
2050
+ ;;
2051
+ esac
2052
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
2053
+ return 0
2054
+ ;;
2055
+ esac
2056
+ }
2057
+
2058
+ if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
2059
+ complete -F _pepe -o nosort -o bashdefault -o default pepe
2060
+ else
2061
+ complete -F _pepe -o bashdefault -o default pepe
2062
+ fi