bionic-reader 0.1.0__py3-none-macosx_11_0_arm64.whl

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.
Files changed (21) hide show
  1. bionic_reader-0.1.0.data/data/share/bionic-reader/completions/_bionic-reader +595 -0
  2. bionic_reader-0.1.0.data/data/share/bionic-reader/completions/bionic-reader.bash +1052 -0
  3. bionic_reader-0.1.0.data/data/share/bionic-reader/completions/bionic-reader.fish +372 -0
  4. bionic_reader-0.1.0.data/data/share/bionic-reader/config.example.toml +19 -0
  5. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/README.md +37 -0
  6. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/bash-it/bionic-reader/bionic-reader.plugin.bash +4 -0
  7. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/fisher/bionic-reader/conf.d/bionic-reader.fish +4 -0
  8. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/frameworks.tsv +7 -0
  9. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/oh-my-bash/bionic-reader/bionic-reader.plugin.sh +4 -0
  10. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/oh-my-fish/bionic-reader/init.fish +4 -0
  11. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/oh-my-zsh/bionic-reader/bionic-reader.plugin.zsh +4 -0
  12. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/prezto/bionic-reader/init.zsh +4 -0
  13. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/adapters/zinit/bionic-reader/init.zsh +4 -0
  14. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/bash.sh +85 -0
  15. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/fish.fish +27 -0
  16. bionic_reader-0.1.0.data/data/share/bionic-reader/integrations/zsh.sh +33 -0
  17. bionic_reader-0.1.0.data/scripts/bionic-reader +0 -0
  18. bionic_reader-0.1.0.dist-info/METADATA +158 -0
  19. bionic_reader-0.1.0.dist-info/RECORD +21 -0
  20. bionic_reader-0.1.0.dist-info/WHEEL +4 -0
  21. bionic_reader-0.1.0.dist-info/sboms/bionic-reader.cyclonedx.json +3045 -0
@@ -0,0 +1,1052 @@
1
+ _bionic__reader() {
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="bionic__reader"
18
+ ;;
19
+ bionic__reader,bypass)
20
+ cmd="bionic__reader__subcmd__bypass"
21
+ ;;
22
+ bionic__reader,completions)
23
+ cmd="bionic__reader__subcmd__completions"
24
+ ;;
25
+ bionic__reader,help)
26
+ cmd="bionic__reader__subcmd__help"
27
+ ;;
28
+ bionic__reader,init)
29
+ cmd="bionic__reader__subcmd__init"
30
+ ;;
31
+ bionic__reader,off)
32
+ cmd="bionic__reader__subcmd__off"
33
+ ;;
34
+ bionic__reader,on)
35
+ cmd="bionic__reader__subcmd__on"
36
+ ;;
37
+ bionic__reader,preview)
38
+ cmd="bionic__reader__subcmd__preview"
39
+ ;;
40
+ bionic__reader,read)
41
+ cmd="bionic__reader__subcmd__read"
42
+ ;;
43
+ bionic__reader,reload)
44
+ cmd="bionic__reader__subcmd__reload"
45
+ ;;
46
+ bionic__reader,session)
47
+ cmd="bionic__reader__subcmd__session"
48
+ ;;
49
+ bionic__reader,toggle)
50
+ cmd="bionic__reader__subcmd__toggle"
51
+ ;;
52
+ bionic__reader__subcmd__help,bypass)
53
+ cmd="bionic__reader__subcmd__help__subcmd__bypass"
54
+ ;;
55
+ bionic__reader__subcmd__help,completions)
56
+ cmd="bionic__reader__subcmd__help__subcmd__completions"
57
+ ;;
58
+ bionic__reader__subcmd__help,help)
59
+ cmd="bionic__reader__subcmd__help__subcmd__help"
60
+ ;;
61
+ bionic__reader__subcmd__help,init)
62
+ cmd="bionic__reader__subcmd__help__subcmd__init"
63
+ ;;
64
+ bionic__reader__subcmd__help,off)
65
+ cmd="bionic__reader__subcmd__help__subcmd__off"
66
+ ;;
67
+ bionic__reader__subcmd__help,on)
68
+ cmd="bionic__reader__subcmd__help__subcmd__on"
69
+ ;;
70
+ bionic__reader__subcmd__help,preview)
71
+ cmd="bionic__reader__subcmd__help__subcmd__preview"
72
+ ;;
73
+ bionic__reader__subcmd__help,read)
74
+ cmd="bionic__reader__subcmd__help__subcmd__read"
75
+ ;;
76
+ bionic__reader__subcmd__help,reload)
77
+ cmd="bionic__reader__subcmd__help__subcmd__reload"
78
+ ;;
79
+ bionic__reader__subcmd__help,session)
80
+ cmd="bionic__reader__subcmd__help__subcmd__session"
81
+ ;;
82
+ bionic__reader__subcmd__help,toggle)
83
+ cmd="bionic__reader__subcmd__help__subcmd__toggle"
84
+ ;;
85
+ *)
86
+ ;;
87
+ esac
88
+ done
89
+
90
+ case "${cmd}" in
91
+ bionic__reader)
92
+ opts="-t -h -V --text --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help --version read preview session init completions on off toggle reload bypass help"
93
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
94
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
95
+ return 0
96
+ fi
97
+ case "${prev}" in
98
+ --text)
99
+ COMPREPLY=($(compgen -f "${cur}"))
100
+ return 0
101
+ ;;
102
+ -t)
103
+ COMPREPLY=($(compgen -f "${cur}"))
104
+ return 0
105
+ ;;
106
+ --fraction)
107
+ COMPREPLY=($(compgen -f "${cur}"))
108
+ return 0
109
+ ;;
110
+ --every)
111
+ COMPREPLY=($(compgen -f "${cur}"))
112
+ return 0
113
+ ;;
114
+ --min-word-length)
115
+ COMPREPLY=($(compgen -f "${cur}"))
116
+ return 0
117
+ ;;
118
+ --style)
119
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
120
+ return 0
121
+ ;;
122
+ --config)
123
+ COMPREPLY=($(compgen -f "${cur}"))
124
+ return 0
125
+ ;;
126
+ --exclude)
127
+ COMPREPLY=($(compgen -f "${cur}"))
128
+ return 0
129
+ ;;
130
+ --profile)
131
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
132
+ return 0
133
+ ;;
134
+ --length-rule)
135
+ COMPREPLY=($(compgen -f "${cur}"))
136
+ return 0
137
+ ;;
138
+ --emphasis)
139
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
140
+ return 0
141
+ ;;
142
+ --input-format)
143
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
144
+ return 0
145
+ ;;
146
+ --format)
147
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
148
+ return 0
149
+ ;;
150
+ --controls)
151
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
152
+ return 0
153
+ ;;
154
+ --skip-code)
155
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
156
+ return 0
157
+ ;;
158
+ --low-latency)
159
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
160
+ return 0
161
+ ;;
162
+ *)
163
+ COMPREPLY=()
164
+ ;;
165
+ esac
166
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
167
+ return 0
168
+ ;;
169
+ bionic__reader__subcmd__bypass)
170
+ opts="-h --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help"
171
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
172
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
173
+ return 0
174
+ fi
175
+ case "${prev}" in
176
+ --fraction)
177
+ COMPREPLY=($(compgen -f "${cur}"))
178
+ return 0
179
+ ;;
180
+ --every)
181
+ COMPREPLY=($(compgen -f "${cur}"))
182
+ return 0
183
+ ;;
184
+ --min-word-length)
185
+ COMPREPLY=($(compgen -f "${cur}"))
186
+ return 0
187
+ ;;
188
+ --style)
189
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
190
+ return 0
191
+ ;;
192
+ --config)
193
+ COMPREPLY=($(compgen -f "${cur}"))
194
+ return 0
195
+ ;;
196
+ --exclude)
197
+ COMPREPLY=($(compgen -f "${cur}"))
198
+ return 0
199
+ ;;
200
+ --profile)
201
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
202
+ return 0
203
+ ;;
204
+ --length-rule)
205
+ COMPREPLY=($(compgen -f "${cur}"))
206
+ return 0
207
+ ;;
208
+ --emphasis)
209
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
210
+ return 0
211
+ ;;
212
+ --input-format)
213
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
214
+ return 0
215
+ ;;
216
+ --format)
217
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
218
+ return 0
219
+ ;;
220
+ --controls)
221
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
222
+ return 0
223
+ ;;
224
+ --skip-code)
225
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
226
+ return 0
227
+ ;;
228
+ --low-latency)
229
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
230
+ return 0
231
+ ;;
232
+ *)
233
+ COMPREPLY=()
234
+ ;;
235
+ esac
236
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
237
+ return 0
238
+ ;;
239
+ bionic__reader__subcmd__completions)
240
+ opts="-h --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help bash zsh fish"
241
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
242
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
243
+ return 0
244
+ fi
245
+ case "${prev}" in
246
+ --fraction)
247
+ COMPREPLY=($(compgen -f "${cur}"))
248
+ return 0
249
+ ;;
250
+ --every)
251
+ COMPREPLY=($(compgen -f "${cur}"))
252
+ return 0
253
+ ;;
254
+ --min-word-length)
255
+ COMPREPLY=($(compgen -f "${cur}"))
256
+ return 0
257
+ ;;
258
+ --style)
259
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
260
+ return 0
261
+ ;;
262
+ --config)
263
+ COMPREPLY=($(compgen -f "${cur}"))
264
+ return 0
265
+ ;;
266
+ --exclude)
267
+ COMPREPLY=($(compgen -f "${cur}"))
268
+ return 0
269
+ ;;
270
+ --profile)
271
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
272
+ return 0
273
+ ;;
274
+ --length-rule)
275
+ COMPREPLY=($(compgen -f "${cur}"))
276
+ return 0
277
+ ;;
278
+ --emphasis)
279
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
280
+ return 0
281
+ ;;
282
+ --input-format)
283
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
284
+ return 0
285
+ ;;
286
+ --format)
287
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
288
+ return 0
289
+ ;;
290
+ --controls)
291
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
292
+ return 0
293
+ ;;
294
+ --skip-code)
295
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
296
+ return 0
297
+ ;;
298
+ --low-latency)
299
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
300
+ return 0
301
+ ;;
302
+ *)
303
+ COMPREPLY=()
304
+ ;;
305
+ esac
306
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
307
+ return 0
308
+ ;;
309
+ bionic__reader__subcmd__help)
310
+ opts="read preview session init completions on off toggle reload bypass help"
311
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
312
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
313
+ return 0
314
+ fi
315
+ case "${prev}" in
316
+ *)
317
+ COMPREPLY=()
318
+ ;;
319
+ esac
320
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
321
+ return 0
322
+ ;;
323
+ bionic__reader__subcmd__help__subcmd__bypass)
324
+ opts=""
325
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
326
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
327
+ return 0
328
+ fi
329
+ case "${prev}" in
330
+ *)
331
+ COMPREPLY=()
332
+ ;;
333
+ esac
334
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
335
+ return 0
336
+ ;;
337
+ bionic__reader__subcmd__help__subcmd__completions)
338
+ opts=""
339
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
340
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
341
+ return 0
342
+ fi
343
+ case "${prev}" in
344
+ *)
345
+ COMPREPLY=()
346
+ ;;
347
+ esac
348
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
349
+ return 0
350
+ ;;
351
+ bionic__reader__subcmd__help__subcmd__help)
352
+ opts=""
353
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
354
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
355
+ return 0
356
+ fi
357
+ case "${prev}" in
358
+ *)
359
+ COMPREPLY=()
360
+ ;;
361
+ esac
362
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
363
+ return 0
364
+ ;;
365
+ bionic__reader__subcmd__help__subcmd__init)
366
+ opts=""
367
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
368
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
369
+ return 0
370
+ fi
371
+ case "${prev}" in
372
+ *)
373
+ COMPREPLY=()
374
+ ;;
375
+ esac
376
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
377
+ return 0
378
+ ;;
379
+ bionic__reader__subcmd__help__subcmd__off)
380
+ opts=""
381
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
382
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
383
+ return 0
384
+ fi
385
+ case "${prev}" in
386
+ *)
387
+ COMPREPLY=()
388
+ ;;
389
+ esac
390
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
391
+ return 0
392
+ ;;
393
+ bionic__reader__subcmd__help__subcmd__on)
394
+ opts=""
395
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
396
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
397
+ return 0
398
+ fi
399
+ case "${prev}" in
400
+ *)
401
+ COMPREPLY=()
402
+ ;;
403
+ esac
404
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
405
+ return 0
406
+ ;;
407
+ bionic__reader__subcmd__help__subcmd__preview)
408
+ opts=""
409
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
410
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
411
+ return 0
412
+ fi
413
+ case "${prev}" in
414
+ *)
415
+ COMPREPLY=()
416
+ ;;
417
+ esac
418
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
419
+ return 0
420
+ ;;
421
+ bionic__reader__subcmd__help__subcmd__read)
422
+ opts=""
423
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
424
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
425
+ return 0
426
+ fi
427
+ case "${prev}" in
428
+ *)
429
+ COMPREPLY=()
430
+ ;;
431
+ esac
432
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
433
+ return 0
434
+ ;;
435
+ bionic__reader__subcmd__help__subcmd__reload)
436
+ opts=""
437
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
438
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
439
+ return 0
440
+ fi
441
+ case "${prev}" in
442
+ *)
443
+ COMPREPLY=()
444
+ ;;
445
+ esac
446
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
447
+ return 0
448
+ ;;
449
+ bionic__reader__subcmd__help__subcmd__session)
450
+ opts=""
451
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
452
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
453
+ return 0
454
+ fi
455
+ case "${prev}" in
456
+ *)
457
+ COMPREPLY=()
458
+ ;;
459
+ esac
460
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
461
+ return 0
462
+ ;;
463
+ bionic__reader__subcmd__help__subcmd__toggle)
464
+ opts=""
465
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
466
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
467
+ return 0
468
+ fi
469
+ case "${prev}" in
470
+ *)
471
+ COMPREPLY=()
472
+ ;;
473
+ esac
474
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
475
+ return 0
476
+ ;;
477
+ bionic__reader__subcmd__init)
478
+ opts="-h --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help bash zsh fish"
479
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
480
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
481
+ return 0
482
+ fi
483
+ case "${prev}" in
484
+ --fraction)
485
+ COMPREPLY=($(compgen -f "${cur}"))
486
+ return 0
487
+ ;;
488
+ --every)
489
+ COMPREPLY=($(compgen -f "${cur}"))
490
+ return 0
491
+ ;;
492
+ --min-word-length)
493
+ COMPREPLY=($(compgen -f "${cur}"))
494
+ return 0
495
+ ;;
496
+ --style)
497
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
498
+ return 0
499
+ ;;
500
+ --config)
501
+ COMPREPLY=($(compgen -f "${cur}"))
502
+ return 0
503
+ ;;
504
+ --exclude)
505
+ COMPREPLY=($(compgen -f "${cur}"))
506
+ return 0
507
+ ;;
508
+ --profile)
509
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
510
+ return 0
511
+ ;;
512
+ --length-rule)
513
+ COMPREPLY=($(compgen -f "${cur}"))
514
+ return 0
515
+ ;;
516
+ --emphasis)
517
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
518
+ return 0
519
+ ;;
520
+ --input-format)
521
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
522
+ return 0
523
+ ;;
524
+ --format)
525
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
526
+ return 0
527
+ ;;
528
+ --controls)
529
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
530
+ return 0
531
+ ;;
532
+ --skip-code)
533
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
534
+ return 0
535
+ ;;
536
+ --low-latency)
537
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
538
+ return 0
539
+ ;;
540
+ *)
541
+ COMPREPLY=()
542
+ ;;
543
+ esac
544
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
545
+ return 0
546
+ ;;
547
+ bionic__reader__subcmd__off)
548
+ opts="-h --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help"
549
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
550
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
551
+ return 0
552
+ fi
553
+ case "${prev}" in
554
+ --fraction)
555
+ COMPREPLY=($(compgen -f "${cur}"))
556
+ return 0
557
+ ;;
558
+ --every)
559
+ COMPREPLY=($(compgen -f "${cur}"))
560
+ return 0
561
+ ;;
562
+ --min-word-length)
563
+ COMPREPLY=($(compgen -f "${cur}"))
564
+ return 0
565
+ ;;
566
+ --style)
567
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
568
+ return 0
569
+ ;;
570
+ --config)
571
+ COMPREPLY=($(compgen -f "${cur}"))
572
+ return 0
573
+ ;;
574
+ --exclude)
575
+ COMPREPLY=($(compgen -f "${cur}"))
576
+ return 0
577
+ ;;
578
+ --profile)
579
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
580
+ return 0
581
+ ;;
582
+ --length-rule)
583
+ COMPREPLY=($(compgen -f "${cur}"))
584
+ return 0
585
+ ;;
586
+ --emphasis)
587
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
588
+ return 0
589
+ ;;
590
+ --input-format)
591
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
592
+ return 0
593
+ ;;
594
+ --format)
595
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
596
+ return 0
597
+ ;;
598
+ --controls)
599
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
600
+ return 0
601
+ ;;
602
+ --skip-code)
603
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
604
+ return 0
605
+ ;;
606
+ --low-latency)
607
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
608
+ return 0
609
+ ;;
610
+ *)
611
+ COMPREPLY=()
612
+ ;;
613
+ esac
614
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
615
+ return 0
616
+ ;;
617
+ bionic__reader__subcmd__on)
618
+ opts="-h --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help"
619
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
620
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
621
+ return 0
622
+ fi
623
+ case "${prev}" in
624
+ --fraction)
625
+ COMPREPLY=($(compgen -f "${cur}"))
626
+ return 0
627
+ ;;
628
+ --every)
629
+ COMPREPLY=($(compgen -f "${cur}"))
630
+ return 0
631
+ ;;
632
+ --min-word-length)
633
+ COMPREPLY=($(compgen -f "${cur}"))
634
+ return 0
635
+ ;;
636
+ --style)
637
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
638
+ return 0
639
+ ;;
640
+ --config)
641
+ COMPREPLY=($(compgen -f "${cur}"))
642
+ return 0
643
+ ;;
644
+ --exclude)
645
+ COMPREPLY=($(compgen -f "${cur}"))
646
+ return 0
647
+ ;;
648
+ --profile)
649
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
650
+ return 0
651
+ ;;
652
+ --length-rule)
653
+ COMPREPLY=($(compgen -f "${cur}"))
654
+ return 0
655
+ ;;
656
+ --emphasis)
657
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
658
+ return 0
659
+ ;;
660
+ --input-format)
661
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
662
+ return 0
663
+ ;;
664
+ --format)
665
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
666
+ return 0
667
+ ;;
668
+ --controls)
669
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
670
+ return 0
671
+ ;;
672
+ --skip-code)
673
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
674
+ return 0
675
+ ;;
676
+ --low-latency)
677
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
678
+ return 0
679
+ ;;
680
+ *)
681
+ COMPREPLY=()
682
+ ;;
683
+ esac
684
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
685
+ return 0
686
+ ;;
687
+ bionic__reader__subcmd__preview)
688
+ opts="-h --text --print --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help"
689
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
690
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
691
+ return 0
692
+ fi
693
+ case "${prev}" in
694
+ --text)
695
+ COMPREPLY=($(compgen -f "${cur}"))
696
+ return 0
697
+ ;;
698
+ --fraction)
699
+ COMPREPLY=($(compgen -f "${cur}"))
700
+ return 0
701
+ ;;
702
+ --every)
703
+ COMPREPLY=($(compgen -f "${cur}"))
704
+ return 0
705
+ ;;
706
+ --min-word-length)
707
+ COMPREPLY=($(compgen -f "${cur}"))
708
+ return 0
709
+ ;;
710
+ --style)
711
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
712
+ return 0
713
+ ;;
714
+ --config)
715
+ COMPREPLY=($(compgen -f "${cur}"))
716
+ return 0
717
+ ;;
718
+ --exclude)
719
+ COMPREPLY=($(compgen -f "${cur}"))
720
+ return 0
721
+ ;;
722
+ --profile)
723
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
724
+ return 0
725
+ ;;
726
+ --length-rule)
727
+ COMPREPLY=($(compgen -f "${cur}"))
728
+ return 0
729
+ ;;
730
+ --emphasis)
731
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
732
+ return 0
733
+ ;;
734
+ --input-format)
735
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
736
+ return 0
737
+ ;;
738
+ --format)
739
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
740
+ return 0
741
+ ;;
742
+ --controls)
743
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
744
+ return 0
745
+ ;;
746
+ --skip-code)
747
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
748
+ return 0
749
+ ;;
750
+ --low-latency)
751
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
752
+ return 0
753
+ ;;
754
+ *)
755
+ COMPREPLY=()
756
+ ;;
757
+ esac
758
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
759
+ return 0
760
+ ;;
761
+ bionic__reader__subcmd__read)
762
+ opts="-h --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help"
763
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
764
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
765
+ return 0
766
+ fi
767
+ case "${prev}" in
768
+ --fraction)
769
+ COMPREPLY=($(compgen -f "${cur}"))
770
+ return 0
771
+ ;;
772
+ --every)
773
+ COMPREPLY=($(compgen -f "${cur}"))
774
+ return 0
775
+ ;;
776
+ --min-word-length)
777
+ COMPREPLY=($(compgen -f "${cur}"))
778
+ return 0
779
+ ;;
780
+ --style)
781
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
782
+ return 0
783
+ ;;
784
+ --config)
785
+ COMPREPLY=($(compgen -f "${cur}"))
786
+ return 0
787
+ ;;
788
+ --exclude)
789
+ COMPREPLY=($(compgen -f "${cur}"))
790
+ return 0
791
+ ;;
792
+ --profile)
793
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
794
+ return 0
795
+ ;;
796
+ --length-rule)
797
+ COMPREPLY=($(compgen -f "${cur}"))
798
+ return 0
799
+ ;;
800
+ --emphasis)
801
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
802
+ return 0
803
+ ;;
804
+ --input-format)
805
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
806
+ return 0
807
+ ;;
808
+ --format)
809
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
810
+ return 0
811
+ ;;
812
+ --controls)
813
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
814
+ return 0
815
+ ;;
816
+ --skip-code)
817
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
818
+ return 0
819
+ ;;
820
+ --low-latency)
821
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
822
+ return 0
823
+ ;;
824
+ *)
825
+ COMPREPLY=()
826
+ ;;
827
+ esac
828
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
829
+ return 0
830
+ ;;
831
+ bionic__reader__subcmd__reload)
832
+ opts="-h --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help"
833
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
834
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
835
+ return 0
836
+ fi
837
+ case "${prev}" in
838
+ --fraction)
839
+ COMPREPLY=($(compgen -f "${cur}"))
840
+ return 0
841
+ ;;
842
+ --every)
843
+ COMPREPLY=($(compgen -f "${cur}"))
844
+ return 0
845
+ ;;
846
+ --min-word-length)
847
+ COMPREPLY=($(compgen -f "${cur}"))
848
+ return 0
849
+ ;;
850
+ --style)
851
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
852
+ return 0
853
+ ;;
854
+ --config)
855
+ COMPREPLY=($(compgen -f "${cur}"))
856
+ return 0
857
+ ;;
858
+ --exclude)
859
+ COMPREPLY=($(compgen -f "${cur}"))
860
+ return 0
861
+ ;;
862
+ --profile)
863
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
864
+ return 0
865
+ ;;
866
+ --length-rule)
867
+ COMPREPLY=($(compgen -f "${cur}"))
868
+ return 0
869
+ ;;
870
+ --emphasis)
871
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
872
+ return 0
873
+ ;;
874
+ --input-format)
875
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
876
+ return 0
877
+ ;;
878
+ --format)
879
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
880
+ return 0
881
+ ;;
882
+ --controls)
883
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
884
+ return 0
885
+ ;;
886
+ --skip-code)
887
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
888
+ return 0
889
+ ;;
890
+ --low-latency)
891
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
892
+ return 0
893
+ ;;
894
+ *)
895
+ COMPREPLY=()
896
+ ;;
897
+ esac
898
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
899
+ return 0
900
+ ;;
901
+ bionic__reader__subcmd__session)
902
+ opts="-h --shell --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help"
903
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
904
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
905
+ return 0
906
+ fi
907
+ case "${prev}" in
908
+ --shell)
909
+ COMPREPLY=($(compgen -f "${cur}"))
910
+ return 0
911
+ ;;
912
+ --fraction)
913
+ COMPREPLY=($(compgen -f "${cur}"))
914
+ return 0
915
+ ;;
916
+ --every)
917
+ COMPREPLY=($(compgen -f "${cur}"))
918
+ return 0
919
+ ;;
920
+ --min-word-length)
921
+ COMPREPLY=($(compgen -f "${cur}"))
922
+ return 0
923
+ ;;
924
+ --style)
925
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
926
+ return 0
927
+ ;;
928
+ --config)
929
+ COMPREPLY=($(compgen -f "${cur}"))
930
+ return 0
931
+ ;;
932
+ --exclude)
933
+ COMPREPLY=($(compgen -f "${cur}"))
934
+ return 0
935
+ ;;
936
+ --profile)
937
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
938
+ return 0
939
+ ;;
940
+ --length-rule)
941
+ COMPREPLY=($(compgen -f "${cur}"))
942
+ return 0
943
+ ;;
944
+ --emphasis)
945
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
946
+ return 0
947
+ ;;
948
+ --input-format)
949
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
950
+ return 0
951
+ ;;
952
+ --format)
953
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
954
+ return 0
955
+ ;;
956
+ --controls)
957
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
958
+ return 0
959
+ ;;
960
+ --skip-code)
961
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
962
+ return 0
963
+ ;;
964
+ --low-latency)
965
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
966
+ return 0
967
+ ;;
968
+ *)
969
+ COMPREPLY=()
970
+ ;;
971
+ esac
972
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
973
+ return 0
974
+ ;;
975
+ bionic__reader__subcmd__toggle)
976
+ opts="-h --fraction --every --min-word-length --style --config --exclude --profile --length-rule --emphasis --input-format --format --controls --skip-code --low-latency --help"
977
+ if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
978
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
979
+ return 0
980
+ fi
981
+ case "${prev}" in
982
+ --fraction)
983
+ COMPREPLY=($(compgen -f "${cur}"))
984
+ return 0
985
+ ;;
986
+ --every)
987
+ COMPREPLY=($(compgen -f "${cur}"))
988
+ return 0
989
+ ;;
990
+ --min-word-length)
991
+ COMPREPLY=($(compgen -f "${cur}"))
992
+ return 0
993
+ ;;
994
+ --style)
995
+ COMPREPLY=($(compgen -W "auto always never" -- "${cur}"))
996
+ return 0
997
+ ;;
998
+ --config)
999
+ COMPREPLY=($(compgen -f "${cur}"))
1000
+ return 0
1001
+ ;;
1002
+ --exclude)
1003
+ COMPREPLY=($(compgen -f "${cur}"))
1004
+ return 0
1005
+ ;;
1006
+ --profile)
1007
+ COMPREPLY=($(compgen -W "subtle balanced strong" -- "${cur}"))
1008
+ return 0
1009
+ ;;
1010
+ --length-rule)
1011
+ COMPREPLY=($(compgen -f "${cur}"))
1012
+ return 0
1013
+ ;;
1014
+ --emphasis)
1015
+ COMPREPLY=($(compgen -W "bold underline reverse" -- "${cur}"))
1016
+ return 0
1017
+ ;;
1018
+ --input-format)
1019
+ COMPREPLY=($(compgen -W "text markdown terminal" -- "${cur}"))
1020
+ return 0
1021
+ ;;
1022
+ --format)
1023
+ COMPREPLY=($(compgen -W "ansi plain markdown html" -- "${cur}"))
1024
+ return 0
1025
+ ;;
1026
+ --controls)
1027
+ COMPREPLY=($(compgen -W "safe preserve" -- "${cur}"))
1028
+ return 0
1029
+ ;;
1030
+ --skip-code)
1031
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
1032
+ return 0
1033
+ ;;
1034
+ --low-latency)
1035
+ COMPREPLY=($(compgen -W "true false" -- "${cur}"))
1036
+ return 0
1037
+ ;;
1038
+ *)
1039
+ COMPREPLY=()
1040
+ ;;
1041
+ esac
1042
+ COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
1043
+ return 0
1044
+ ;;
1045
+ esac
1046
+ }
1047
+
1048
+ if [[ "${BASH_VERSINFO[0]}" -eq 4 && "${BASH_VERSINFO[1]}" -ge 4 || "${BASH_VERSINFO[0]}" -gt 4 ]]; then
1049
+ complete -F _bionic__reader -o nosort -o bashdefault -o default bionic-reader
1050
+ else
1051
+ complete -F _bionic__reader -o bashdefault -o default bionic-reader
1052
+ fi