@rom-weaver/cli 0.15.1 → 0.16.1
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/README.md +40 -24
- package/docs/completions/_rom-weaver +1242 -644
- package/docs/completions/rom-weaver.bash +690 -109
- package/docs/completions/rom-weaver.elv +973 -576
- package/docs/completions/rom-weaver.fish +841 -536
- package/docs/completions/rom-weaver.ps1 +1006 -588
- package/docs/man/rom-weaver-bundle-create.1 +55 -8
- package/docs/man/rom-weaver-bundle-parse.1 +15 -6
- package/docs/man/rom-weaver-bundle-schema.1 +16 -7
- package/docs/man/rom-weaver-bundle.1 +15 -6
- package/docs/man/rom-weaver-cheat.1 +107 -0
- package/docs/man/rom-weaver-checksum.1 +21 -6
- package/docs/man/rom-weaver-completions.1 +15 -6
- package/docs/man/rom-weaver-compress.1 +23 -11
- package/docs/man/rom-weaver-extract.1 +23 -8
- package/docs/man/rom-weaver-formats.1 +15 -6
- package/docs/man/rom-weaver-identify-database-import-redump.1 +15 -6
- package/docs/man/rom-weaver-identify-database-install-all.1 +15 -6
- package/docs/man/rom-weaver-identify-database-install-group.1 +15 -6
- package/docs/man/rom-weaver-identify-database-install.1 +15 -6
- package/docs/man/rom-weaver-identify-database-list.1 +15 -6
- package/docs/man/rom-weaver-identify-database-path.1 +15 -6
- package/docs/man/rom-weaver-identify-database-remove.1 +15 -6
- package/docs/man/rom-weaver-identify-database-status.1 +15 -6
- package/docs/man/rom-weaver-identify-database-update.1 +15 -6
- package/docs/man/rom-weaver-identify-database.1 +15 -6
- package/docs/man/rom-weaver-identify.1 +27 -6
- package/docs/man/rom-weaver-man.1 +15 -6
- package/docs/man/rom-weaver-patch-apply.1 +64 -15
- package/docs/man/rom-weaver-patch-create.1 +33 -8
- package/docs/man/rom-weaver-patch-validate.1 +35 -7
- package/docs/man/rom-weaver-patch.1 +15 -6
- package/docs/man/rom-weaver-probe.1 +18 -6
- package/docs/man/rom-weaver-save-export-schema.1 +80 -0
- package/docs/man/rom-weaver-save-get.1 +83 -0
- package/docs/man/rom-weaver-save-identify.1 +80 -0
- package/docs/man/rom-weaver-save-inspect.1 +80 -0
- package/docs/man/rom-weaver-save-set.1 +89 -0
- package/docs/man/rom-weaver-save.1 +87 -0
- package/docs/man/rom-weaver-setup.1 +18 -6
- package/docs/man/rom-weaver-tools-ppf-undo.1 +16 -7
- package/docs/man/rom-weaver-tools.1 +15 -6
- package/docs/man/rom-weaver-trim.1 +24 -15
- package/docs/man/rom-weaver-weave.1 +64 -15
- package/docs/man/rom-weaver.1 +23 -8
- package/package.json +20 -13
|
@@ -19,6 +19,9 @@ _rom__weaver() {
|
|
|
19
19
|
rom__weaver,bundle)
|
|
20
20
|
cmd="rom__weaver__subcmd__bundle"
|
|
21
21
|
;;
|
|
22
|
+
rom__weaver,cheat)
|
|
23
|
+
cmd="rom__weaver__subcmd__cheat"
|
|
24
|
+
;;
|
|
22
25
|
rom__weaver,checksum)
|
|
23
26
|
cmd="rom__weaver__subcmd__checksum"
|
|
24
27
|
;;
|
|
@@ -58,6 +61,9 @@ _rom__weaver() {
|
|
|
58
61
|
rom__weaver,probe)
|
|
59
62
|
cmd="rom__weaver__subcmd__probe"
|
|
60
63
|
;;
|
|
64
|
+
rom__weaver,save)
|
|
65
|
+
cmd="rom__weaver__subcmd__save"
|
|
66
|
+
;;
|
|
61
67
|
rom__weaver,setup)
|
|
62
68
|
cmd="rom__weaver__subcmd__setup"
|
|
63
69
|
;;
|
|
@@ -97,6 +103,9 @@ _rom__weaver() {
|
|
|
97
103
|
rom__weaver__subcmd__help,bundle)
|
|
98
104
|
cmd="rom__weaver__subcmd__help__subcmd__bundle"
|
|
99
105
|
;;
|
|
106
|
+
rom__weaver__subcmd__help,cheat)
|
|
107
|
+
cmd="rom__weaver__subcmd__help__subcmd__cheat"
|
|
108
|
+
;;
|
|
100
109
|
rom__weaver__subcmd__help,checksum)
|
|
101
110
|
cmd="rom__weaver__subcmd__help__subcmd__checksum"
|
|
102
111
|
;;
|
|
@@ -133,6 +142,9 @@ _rom__weaver() {
|
|
|
133
142
|
rom__weaver__subcmd__help,probe)
|
|
134
143
|
cmd="rom__weaver__subcmd__help__subcmd__probe"
|
|
135
144
|
;;
|
|
145
|
+
rom__weaver__subcmd__help,save)
|
|
146
|
+
cmd="rom__weaver__subcmd__help__subcmd__save"
|
|
147
|
+
;;
|
|
136
148
|
rom__weaver__subcmd__help,setup)
|
|
137
149
|
cmd="rom__weaver__subcmd__help__subcmd__setup"
|
|
138
150
|
;;
|
|
@@ -193,6 +205,21 @@ _rom__weaver() {
|
|
|
193
205
|
rom__weaver__subcmd__help__subcmd__patch,validate)
|
|
194
206
|
cmd="rom__weaver__subcmd__help__subcmd__patch__subcmd__validate"
|
|
195
207
|
;;
|
|
208
|
+
rom__weaver__subcmd__help__subcmd__save,export-schema)
|
|
209
|
+
cmd="rom__weaver__subcmd__help__subcmd__save__subcmd__export__subcmd__schema"
|
|
210
|
+
;;
|
|
211
|
+
rom__weaver__subcmd__help__subcmd__save,get)
|
|
212
|
+
cmd="rom__weaver__subcmd__help__subcmd__save__subcmd__get"
|
|
213
|
+
;;
|
|
214
|
+
rom__weaver__subcmd__help__subcmd__save,identify)
|
|
215
|
+
cmd="rom__weaver__subcmd__help__subcmd__save__subcmd__identify"
|
|
216
|
+
;;
|
|
217
|
+
rom__weaver__subcmd__help__subcmd__save,inspect)
|
|
218
|
+
cmd="rom__weaver__subcmd__help__subcmd__save__subcmd__inspect"
|
|
219
|
+
;;
|
|
220
|
+
rom__weaver__subcmd__help__subcmd__save,set)
|
|
221
|
+
cmd="rom__weaver__subcmd__help__subcmd__save__subcmd__set"
|
|
222
|
+
;;
|
|
196
223
|
rom__weaver__subcmd__help__subcmd__tools,ppf-undo)
|
|
197
224
|
cmd="rom__weaver__subcmd__help__subcmd__tools__subcmd__ppf__subcmd__undo"
|
|
198
225
|
;;
|
|
@@ -322,6 +349,42 @@ _rom__weaver() {
|
|
|
322
349
|
rom__weaver__subcmd__patch__subcmd__help,validate)
|
|
323
350
|
cmd="rom__weaver__subcmd__patch__subcmd__help__subcmd__validate"
|
|
324
351
|
;;
|
|
352
|
+
rom__weaver__subcmd__save,export-schema)
|
|
353
|
+
cmd="rom__weaver__subcmd__save__subcmd__export__subcmd__schema"
|
|
354
|
+
;;
|
|
355
|
+
rom__weaver__subcmd__save,get)
|
|
356
|
+
cmd="rom__weaver__subcmd__save__subcmd__get"
|
|
357
|
+
;;
|
|
358
|
+
rom__weaver__subcmd__save,help)
|
|
359
|
+
cmd="rom__weaver__subcmd__save__subcmd__help"
|
|
360
|
+
;;
|
|
361
|
+
rom__weaver__subcmd__save,identify)
|
|
362
|
+
cmd="rom__weaver__subcmd__save__subcmd__identify"
|
|
363
|
+
;;
|
|
364
|
+
rom__weaver__subcmd__save,inspect)
|
|
365
|
+
cmd="rom__weaver__subcmd__save__subcmd__inspect"
|
|
366
|
+
;;
|
|
367
|
+
rom__weaver__subcmd__save,set)
|
|
368
|
+
cmd="rom__weaver__subcmd__save__subcmd__set"
|
|
369
|
+
;;
|
|
370
|
+
rom__weaver__subcmd__save__subcmd__help,export-schema)
|
|
371
|
+
cmd="rom__weaver__subcmd__save__subcmd__help__subcmd__export__subcmd__schema"
|
|
372
|
+
;;
|
|
373
|
+
rom__weaver__subcmd__save__subcmd__help,get)
|
|
374
|
+
cmd="rom__weaver__subcmd__save__subcmd__help__subcmd__get"
|
|
375
|
+
;;
|
|
376
|
+
rom__weaver__subcmd__save__subcmd__help,help)
|
|
377
|
+
cmd="rom__weaver__subcmd__save__subcmd__help__subcmd__help"
|
|
378
|
+
;;
|
|
379
|
+
rom__weaver__subcmd__save__subcmd__help,identify)
|
|
380
|
+
cmd="rom__weaver__subcmd__save__subcmd__help__subcmd__identify"
|
|
381
|
+
;;
|
|
382
|
+
rom__weaver__subcmd__save__subcmd__help,inspect)
|
|
383
|
+
cmd="rom__weaver__subcmd__save__subcmd__help__subcmd__inspect"
|
|
384
|
+
;;
|
|
385
|
+
rom__weaver__subcmd__save__subcmd__help,set)
|
|
386
|
+
cmd="rom__weaver__subcmd__save__subcmd__help__subcmd__set"
|
|
387
|
+
;;
|
|
325
388
|
rom__weaver__subcmd__tools,help)
|
|
326
389
|
cmd="rom__weaver__subcmd__tools__subcmd__help"
|
|
327
390
|
;;
|
|
@@ -341,7 +404,7 @@ _rom__weaver() {
|
|
|
341
404
|
|
|
342
405
|
case "${cmd}" in
|
|
343
406
|
rom__weaver)
|
|
344
|
-
opts="-v -q -y -h -V --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help --version
|
|
407
|
+
opts="-n -v -q -y -h -V --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help --version setup ingest cheat bundle plan-extract-batch completions man formats probe inspect checksum identify extract compress trim weave patch save tools help"
|
|
345
408
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
|
|
346
409
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
347
410
|
return 0
|
|
@@ -359,7 +422,7 @@ _rom__weaver() {
|
|
|
359
422
|
return 0
|
|
360
423
|
;;
|
|
361
424
|
rom__subcmd__weaver__subcmd__bundle)
|
|
362
|
-
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help create parse schema help"
|
|
425
|
+
opts="-n -v -q -y -h --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help create parse schema help"
|
|
363
426
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
364
427
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
365
428
|
return 0
|
|
@@ -377,7 +440,7 @@ _rom__weaver() {
|
|
|
377
440
|
return 0
|
|
378
441
|
;;
|
|
379
442
|
rom__subcmd__weaver__subcmd__bundle__subcmd__create)
|
|
380
|
-
opts="-i -o -j -v -q -y -h --input --assume-in --rom-url --rom-name --patch --patch-id --patch-version --patch-name --patch-description --patch-author --patch-label --patch-optional --patch-source-url --patch-header --patch-basis --patch-expect-in --patch-expect-out --expect-out --output-name --output-header --output --bundle --bundle-rom --no-bundle-rom --algo --checksum --from --schema-ref --threads --force --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
443
|
+
opts="-i -o -j -n -v -q -y -h --input --assume-in --rom-url --rom-name --rom-member --patch --patch-id --patch-version --patch-name --patch-description --patch-author --patch-label --patch-optional --patch-source-url --patch-header --patch-basis --default-patch-basis --patch-expect-in --patch-expect-out --expect-out --output-name --output-header --cheat --cheat-database --cheat-system --game --allow-cheat-conflicts --output --bundle --bundle-rom --no-bundle-rom --algo --checksum --from --schema-ref --threads --force --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
381
444
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
382
445
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
383
446
|
return 0
|
|
@@ -403,6 +466,10 @@ _rom__weaver() {
|
|
|
403
466
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
404
467
|
return 0
|
|
405
468
|
;;
|
|
469
|
+
--rom-member)
|
|
470
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
471
|
+
return 0
|
|
472
|
+
;;
|
|
406
473
|
--patch)
|
|
407
474
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
408
475
|
return 0
|
|
@@ -447,6 +514,10 @@ _rom__weaver() {
|
|
|
447
514
|
COMPREPLY=($(compgen -W "auto base previous" -- "${cur}"))
|
|
448
515
|
return 0
|
|
449
516
|
;;
|
|
517
|
+
--default-patch-basis)
|
|
518
|
+
COMPREPLY=($(compgen -W "auto base previous" -- "${cur}"))
|
|
519
|
+
return 0
|
|
520
|
+
;;
|
|
450
521
|
--patch-expect-in)
|
|
451
522
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
452
523
|
return 0
|
|
@@ -467,6 +538,22 @@ _rom__weaver() {
|
|
|
467
538
|
COMPREPLY=($(compgen -W "keep strip auto" -- "${cur}"))
|
|
468
539
|
return 0
|
|
469
540
|
;;
|
|
541
|
+
--cheat)
|
|
542
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
543
|
+
return 0
|
|
544
|
+
;;
|
|
545
|
+
--cheat-database)
|
|
546
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
547
|
+
return 0
|
|
548
|
+
;;
|
|
549
|
+
--cheat-system)
|
|
550
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
551
|
+
return 0
|
|
552
|
+
;;
|
|
553
|
+
--game)
|
|
554
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
555
|
+
return 0
|
|
556
|
+
;;
|
|
470
557
|
--output)
|
|
471
558
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
472
559
|
return 0
|
|
@@ -589,7 +676,7 @@ _rom__weaver() {
|
|
|
589
676
|
return 0
|
|
590
677
|
;;
|
|
591
678
|
rom__subcmd__weaver__subcmd__bundle__subcmd__parse)
|
|
592
|
-
opts="-i -s -o -j -v -q -y -h --input --select --filter --no-extract --output --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
679
|
+
opts="-i -s -o -j -n -v -q -y -h --input --select --filter --no-extract --output --threads --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
593
680
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
594
681
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
595
682
|
return 0
|
|
@@ -643,7 +730,7 @@ _rom__weaver() {
|
|
|
643
730
|
return 0
|
|
644
731
|
;;
|
|
645
732
|
rom__subcmd__weaver__subcmd__bundle__subcmd__schema)
|
|
646
|
-
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
733
|
+
opts="-n -v -q -y -h --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
647
734
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
648
735
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
649
736
|
return 0
|
|
@@ -660,8 +747,8 @@ _rom__weaver() {
|
|
|
660
747
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
661
748
|
return 0
|
|
662
749
|
;;
|
|
663
|
-
|
|
664
|
-
opts="-i -
|
|
750
|
+
rom__subcmd__weaver__subcmd__cheat)
|
|
751
|
+
opts="-i -n -v -q -y -h --input --cheat --cheat-database --cheat-system --game --allow-cheat-conflicts --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help list"
|
|
665
752
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
666
753
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
667
754
|
return 0
|
|
@@ -675,6 +762,40 @@ _rom__weaver() {
|
|
|
675
762
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
676
763
|
return 0
|
|
677
764
|
;;
|
|
765
|
+
--cheat)
|
|
766
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
767
|
+
return 0
|
|
768
|
+
;;
|
|
769
|
+
--cheat-database)
|
|
770
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
771
|
+
return 0
|
|
772
|
+
;;
|
|
773
|
+
--cheat-system)
|
|
774
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
775
|
+
return 0
|
|
776
|
+
;;
|
|
777
|
+
--game)
|
|
778
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
779
|
+
return 0
|
|
780
|
+
;;
|
|
781
|
+
--log-level)
|
|
782
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
783
|
+
return 0
|
|
784
|
+
;;
|
|
785
|
+
*)
|
|
786
|
+
COMPREPLY=()
|
|
787
|
+
;;
|
|
788
|
+
esac
|
|
789
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
790
|
+
return 0
|
|
791
|
+
;;
|
|
792
|
+
rom__subcmd__weaver__subcmd__checksum)
|
|
793
|
+
opts="-a -s -j -i -n -v -q -y -h --checksum --algo --select --filter --no-extract --no-ignore --no-trim-fix --start --length --probe --threads --digest --input --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
794
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
795
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
796
|
+
return 0
|
|
797
|
+
fi
|
|
798
|
+
case "${prev}" in
|
|
678
799
|
--algo)
|
|
679
800
|
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
680
801
|
return 0
|
|
@@ -715,6 +836,14 @@ _rom__weaver() {
|
|
|
715
836
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
716
837
|
return 0
|
|
717
838
|
;;
|
|
839
|
+
--input)
|
|
840
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
841
|
+
return 0
|
|
842
|
+
;;
|
|
843
|
+
-i)
|
|
844
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
845
|
+
return 0
|
|
846
|
+
;;
|
|
718
847
|
--log-level)
|
|
719
848
|
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
720
849
|
return 0
|
|
@@ -727,7 +856,7 @@ _rom__weaver() {
|
|
|
727
856
|
return 0
|
|
728
857
|
;;
|
|
729
858
|
rom__subcmd__weaver__subcmd__completions)
|
|
730
|
-
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help bash elvish fish powershell zsh"
|
|
859
|
+
opts="-n -v -q -y -h --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help bash elvish fish powershell zsh"
|
|
731
860
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
732
861
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
733
862
|
return 0
|
|
@@ -745,20 +874,12 @@ _rom__weaver() {
|
|
|
745
874
|
return 0
|
|
746
875
|
;;
|
|
747
876
|
rom__subcmd__weaver__subcmd__compress)
|
|
748
|
-
opts="-
|
|
877
|
+
opts="-f -j -i -o -n -v -q -y -h --format --codec --level --force --threads --stdin-name --input --output --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
749
878
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
750
879
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
751
880
|
return 0
|
|
752
881
|
fi
|
|
753
882
|
case "${prev}" in
|
|
754
|
-
--input)
|
|
755
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
756
|
-
return 0
|
|
757
|
-
;;
|
|
758
|
-
-i)
|
|
759
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
760
|
-
return 0
|
|
761
|
-
;;
|
|
762
883
|
--format)
|
|
763
884
|
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
764
885
|
return 0
|
|
@@ -767,14 +888,6 @@ _rom__weaver() {
|
|
|
767
888
|
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
768
889
|
return 0
|
|
769
890
|
;;
|
|
770
|
-
--output)
|
|
771
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
772
|
-
return 0
|
|
773
|
-
;;
|
|
774
|
-
-o)
|
|
775
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
776
|
-
return 0
|
|
777
|
-
;;
|
|
778
891
|
--codec)
|
|
779
892
|
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
780
893
|
return 0
|
|
@@ -791,6 +904,26 @@ _rom__weaver() {
|
|
|
791
904
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
792
905
|
return 0
|
|
793
906
|
;;
|
|
907
|
+
--stdin-name)
|
|
908
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
909
|
+
return 0
|
|
910
|
+
;;
|
|
911
|
+
--input)
|
|
912
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
913
|
+
return 0
|
|
914
|
+
;;
|
|
915
|
+
-i)
|
|
916
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
917
|
+
return 0
|
|
918
|
+
;;
|
|
919
|
+
--output)
|
|
920
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
921
|
+
return 0
|
|
922
|
+
;;
|
|
923
|
+
-o)
|
|
924
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
925
|
+
return 0
|
|
926
|
+
;;
|
|
794
927
|
--log-level)
|
|
795
928
|
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
796
929
|
return 0
|
|
@@ -803,20 +936,12 @@ _rom__weaver() {
|
|
|
803
936
|
return 0
|
|
804
937
|
;;
|
|
805
938
|
rom__subcmd__weaver__subcmd__extract)
|
|
806
|
-
opts="-
|
|
939
|
+
opts="-s -j -i -o -n -v -q -y -h --select --filter --split-bin --no-ignore --no-nested-extract --force --algo --checksum --checksum-rom --probe --threads --stdin-name --input --output --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
807
940
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
808
941
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
809
942
|
return 0
|
|
810
943
|
fi
|
|
811
944
|
case "${prev}" in
|
|
812
|
-
--input)
|
|
813
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
814
|
-
return 0
|
|
815
|
-
;;
|
|
816
|
-
-i)
|
|
817
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
818
|
-
return 0
|
|
819
|
-
;;
|
|
820
945
|
--select)
|
|
821
946
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
822
947
|
return 0
|
|
@@ -829,14 +954,6 @@ _rom__weaver() {
|
|
|
829
954
|
COMPREPLY=($(compgen -W "rom patch" -- "${cur}"))
|
|
830
955
|
return 0
|
|
831
956
|
;;
|
|
832
|
-
--output)
|
|
833
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
834
|
-
return 0
|
|
835
|
-
;;
|
|
836
|
-
-o)
|
|
837
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
838
|
-
return 0
|
|
839
|
-
;;
|
|
840
957
|
--checksum)
|
|
841
958
|
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
842
959
|
return 0
|
|
@@ -857,6 +974,26 @@ _rom__weaver() {
|
|
|
857
974
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
858
975
|
return 0
|
|
859
976
|
;;
|
|
977
|
+
--stdin-name)
|
|
978
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
979
|
+
return 0
|
|
980
|
+
;;
|
|
981
|
+
--input)
|
|
982
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
983
|
+
return 0
|
|
984
|
+
;;
|
|
985
|
+
-i)
|
|
986
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
987
|
+
return 0
|
|
988
|
+
;;
|
|
989
|
+
--output)
|
|
990
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
991
|
+
return 0
|
|
992
|
+
;;
|
|
993
|
+
-o)
|
|
994
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
995
|
+
return 0
|
|
996
|
+
;;
|
|
860
997
|
--log-level)
|
|
861
998
|
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
862
999
|
return 0
|
|
@@ -869,7 +1006,7 @@ _rom__weaver() {
|
|
|
869
1006
|
return 0
|
|
870
1007
|
;;
|
|
871
1008
|
rom__subcmd__weaver__subcmd__formats)
|
|
872
|
-
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1009
|
+
opts="-n -v -q -y -h --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
873
1010
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
874
1011
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
875
1012
|
return 0
|
|
@@ -887,7 +1024,7 @@ _rom__weaver() {
|
|
|
887
1024
|
return 0
|
|
888
1025
|
;;
|
|
889
1026
|
rom__subcmd__weaver__subcmd__help)
|
|
890
|
-
opts="
|
|
1027
|
+
opts="setup ingest cheat bundle plan-extract-batch completions man formats probe checksum identify extract compress trim weave patch save tools help"
|
|
891
1028
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
892
1029
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
893
1030
|
return 0
|
|
@@ -956,6 +1093,20 @@ _rom__weaver() {
|
|
|
956
1093
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
957
1094
|
return 0
|
|
958
1095
|
;;
|
|
1096
|
+
rom__subcmd__weaver__subcmd__help__subcmd__cheat)
|
|
1097
|
+
opts=""
|
|
1098
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1099
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1100
|
+
return 0
|
|
1101
|
+
fi
|
|
1102
|
+
case "${prev}" in
|
|
1103
|
+
*)
|
|
1104
|
+
COMPREPLY=()
|
|
1105
|
+
;;
|
|
1106
|
+
esac
|
|
1107
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1108
|
+
return 0
|
|
1109
|
+
;;
|
|
959
1110
|
rom__subcmd__weaver__subcmd__help__subcmd__checksum)
|
|
960
1111
|
opts=""
|
|
961
1112
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
@@ -1223,7 +1374,7 @@ _rom__weaver() {
|
|
|
1223
1374
|
return 0
|
|
1224
1375
|
;;
|
|
1225
1376
|
rom__subcmd__weaver__subcmd__help__subcmd__patch)
|
|
1226
|
-
opts="apply
|
|
1377
|
+
opts="validate apply create"
|
|
1227
1378
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1228
1379
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1229
1380
|
return 0
|
|
@@ -1306,6 +1457,90 @@ _rom__weaver() {
|
|
|
1306
1457
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1307
1458
|
return 0
|
|
1308
1459
|
;;
|
|
1460
|
+
rom__subcmd__weaver__subcmd__help__subcmd__save)
|
|
1461
|
+
opts="identify inspect get export-schema set"
|
|
1462
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1463
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1464
|
+
return 0
|
|
1465
|
+
fi
|
|
1466
|
+
case "${prev}" in
|
|
1467
|
+
*)
|
|
1468
|
+
COMPREPLY=()
|
|
1469
|
+
;;
|
|
1470
|
+
esac
|
|
1471
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1472
|
+
return 0
|
|
1473
|
+
;;
|
|
1474
|
+
rom__subcmd__weaver__subcmd__help__subcmd__save__subcmd__export__subcmd__schema)
|
|
1475
|
+
opts=""
|
|
1476
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1477
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1478
|
+
return 0
|
|
1479
|
+
fi
|
|
1480
|
+
case "${prev}" in
|
|
1481
|
+
*)
|
|
1482
|
+
COMPREPLY=()
|
|
1483
|
+
;;
|
|
1484
|
+
esac
|
|
1485
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1486
|
+
return 0
|
|
1487
|
+
;;
|
|
1488
|
+
rom__subcmd__weaver__subcmd__help__subcmd__save__subcmd__get)
|
|
1489
|
+
opts=""
|
|
1490
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1491
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1492
|
+
return 0
|
|
1493
|
+
fi
|
|
1494
|
+
case "${prev}" in
|
|
1495
|
+
*)
|
|
1496
|
+
COMPREPLY=()
|
|
1497
|
+
;;
|
|
1498
|
+
esac
|
|
1499
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1500
|
+
return 0
|
|
1501
|
+
;;
|
|
1502
|
+
rom__subcmd__weaver__subcmd__help__subcmd__save__subcmd__identify)
|
|
1503
|
+
opts=""
|
|
1504
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1505
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1506
|
+
return 0
|
|
1507
|
+
fi
|
|
1508
|
+
case "${prev}" in
|
|
1509
|
+
*)
|
|
1510
|
+
COMPREPLY=()
|
|
1511
|
+
;;
|
|
1512
|
+
esac
|
|
1513
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1514
|
+
return 0
|
|
1515
|
+
;;
|
|
1516
|
+
rom__subcmd__weaver__subcmd__help__subcmd__save__subcmd__inspect)
|
|
1517
|
+
opts=""
|
|
1518
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1519
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1520
|
+
return 0
|
|
1521
|
+
fi
|
|
1522
|
+
case "${prev}" in
|
|
1523
|
+
*)
|
|
1524
|
+
COMPREPLY=()
|
|
1525
|
+
;;
|
|
1526
|
+
esac
|
|
1527
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1528
|
+
return 0
|
|
1529
|
+
;;
|
|
1530
|
+
rom__subcmd__weaver__subcmd__help__subcmd__save__subcmd__set)
|
|
1531
|
+
opts=""
|
|
1532
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1533
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1534
|
+
return 0
|
|
1535
|
+
fi
|
|
1536
|
+
case "${prev}" in
|
|
1537
|
+
*)
|
|
1538
|
+
COMPREPLY=()
|
|
1539
|
+
;;
|
|
1540
|
+
esac
|
|
1541
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1542
|
+
return 0
|
|
1543
|
+
;;
|
|
1309
1544
|
rom__subcmd__weaver__subcmd__help__subcmd__setup)
|
|
1310
1545
|
opts=""
|
|
1311
1546
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
@@ -1377,7 +1612,7 @@ _rom__weaver() {
|
|
|
1377
1612
|
return 0
|
|
1378
1613
|
;;
|
|
1379
1614
|
rom__subcmd__weaver__subcmd__identify)
|
|
1380
|
-
opts="-i -d -s -j -v -q -y -h --input --hash --size --database --system --offline --database-dir --exhaustive-database-search --select --filter --no-extract --no-ignore --no-trim-fix --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help database help"
|
|
1615
|
+
opts="-i -d -s -j -n -v -q -y -h --input --hash --size --database --system --name --title-index --limit --offline --database-dir --exhaustive-database-search --select --filter --no-extract --no-ignore --no-trim-fix --threads --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help database help"
|
|
1381
1616
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1382
1617
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1383
1618
|
return 0
|
|
@@ -1411,6 +1646,18 @@ _rom__weaver() {
|
|
|
1411
1646
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1412
1647
|
return 0
|
|
1413
1648
|
;;
|
|
1649
|
+
--name)
|
|
1650
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1651
|
+
return 0
|
|
1652
|
+
;;
|
|
1653
|
+
--title-index)
|
|
1654
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1655
|
+
return 0
|
|
1656
|
+
;;
|
|
1657
|
+
--limit)
|
|
1658
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
1659
|
+
return 0
|
|
1660
|
+
;;
|
|
1414
1661
|
--database-dir)
|
|
1415
1662
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1416
1663
|
return 0
|
|
@@ -1447,7 +1694,7 @@ _rom__weaver() {
|
|
|
1447
1694
|
return 0
|
|
1448
1695
|
;;
|
|
1449
1696
|
rom__subcmd__weaver__subcmd__identify__subcmd__database)
|
|
1450
|
-
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help list status path remove import-redump install-all install-group install update help"
|
|
1697
|
+
opts="-n -v -q -y -h --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help list status path remove import-redump install-all install-group install update help"
|
|
1451
1698
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1452
1699
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1453
1700
|
return 0
|
|
@@ -1619,7 +1866,7 @@ _rom__weaver() {
|
|
|
1619
1866
|
return 0
|
|
1620
1867
|
;;
|
|
1621
1868
|
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__import__subcmd__redump)
|
|
1622
|
-
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1869
|
+
opts="-n -v -q -y -h --database-dir --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
1623
1870
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1624
1871
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1625
1872
|
return 0
|
|
@@ -1641,7 +1888,7 @@ _rom__weaver() {
|
|
|
1641
1888
|
return 0
|
|
1642
1889
|
;;
|
|
1643
1890
|
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__install)
|
|
1644
|
-
opts="-v -q -y -h --all --from --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1891
|
+
opts="-n -v -q -y -h --all --from --database-dir --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
1645
1892
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1646
1893
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1647
1894
|
return 0
|
|
@@ -1667,7 +1914,7 @@ _rom__weaver() {
|
|
|
1667
1914
|
return 0
|
|
1668
1915
|
;;
|
|
1669
1916
|
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__install__subcmd__all)
|
|
1670
|
-
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1917
|
+
opts="-n -v -q -y -h --database-dir --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
1671
1918
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1672
1919
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1673
1920
|
return 0
|
|
@@ -1689,7 +1936,7 @@ _rom__weaver() {
|
|
|
1689
1936
|
return 0
|
|
1690
1937
|
;;
|
|
1691
1938
|
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__install__subcmd__group)
|
|
1692
|
-
opts="-v -q -y -h --from --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1939
|
+
opts="-n -v -q -y -h --from --database-dir --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
1693
1940
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1694
1941
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1695
1942
|
return 0
|
|
@@ -1715,7 +1962,7 @@ _rom__weaver() {
|
|
|
1715
1962
|
return 0
|
|
1716
1963
|
;;
|
|
1717
1964
|
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__list)
|
|
1718
|
-
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1965
|
+
opts="-n -v -q -y -h --database-dir --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
1719
1966
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1720
1967
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1721
1968
|
return 0
|
|
@@ -1737,7 +1984,7 @@ _rom__weaver() {
|
|
|
1737
1984
|
return 0
|
|
1738
1985
|
;;
|
|
1739
1986
|
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__path)
|
|
1740
|
-
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1987
|
+
opts="-n -v -q -y -h --database-dir --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
1741
1988
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1742
1989
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1743
1990
|
return 0
|
|
@@ -1759,7 +2006,7 @@ _rom__weaver() {
|
|
|
1759
2006
|
return 0
|
|
1760
2007
|
;;
|
|
1761
2008
|
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__remove)
|
|
1762
|
-
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
2009
|
+
opts="-n -v -q -y -h --database-dir --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
1763
2010
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1764
2011
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1765
2012
|
return 0
|
|
@@ -1781,7 +2028,7 @@ _rom__weaver() {
|
|
|
1781
2028
|
return 0
|
|
1782
2029
|
;;
|
|
1783
2030
|
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__status)
|
|
1784
|
-
opts="-v -q -y -h --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
2031
|
+
opts="-n -v -q -y -h --database-dir --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
1785
2032
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1786
2033
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1787
2034
|
return 0
|
|
@@ -1803,7 +2050,7 @@ _rom__weaver() {
|
|
|
1803
2050
|
return 0
|
|
1804
2051
|
;;
|
|
1805
2052
|
rom__subcmd__weaver__subcmd__identify__subcmd__database__subcmd__update)
|
|
1806
|
-
opts="-v -q -y -h --from --database-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
2053
|
+
opts="-n -v -q -y -h --from --database-dir --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
1807
2054
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
1808
2055
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1809
2056
|
return 0
|
|
@@ -1997,7 +2244,7 @@ _rom__weaver() {
|
|
|
1997
2244
|
return 0
|
|
1998
2245
|
;;
|
|
1999
2246
|
rom__subcmd__weaver__subcmd__ingest)
|
|
2000
|
-
opts="-i -o -d -s -j -v -q -y -h --input --output --database --select --sidecar-name --sidecar-only --no-ignore --no-nested-extract --split-bin --algo --checksum --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
2247
|
+
opts="-i -o -d -s -j -n -v -q -y -h --input --output --database --select --sidecar-name --sidecar-only --no-ignore --no-nested-extract --split-bin --algo --checksum --threads --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2001
2248
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2002
2249
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2003
2250
|
return 0
|
|
@@ -2071,7 +2318,7 @@ _rom__weaver() {
|
|
|
2071
2318
|
return 0
|
|
2072
2319
|
;;
|
|
2073
2320
|
rom__subcmd__weaver__subcmd__man)
|
|
2074
|
-
opts="-v -q -y -h --install --man-dir --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
2321
|
+
opts="-n -v -q -y -h --install --man-dir --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2075
2322
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2076
2323
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2077
2324
|
return 0
|
|
@@ -2093,7 +2340,7 @@ _rom__weaver() {
|
|
|
2093
2340
|
return 0
|
|
2094
2341
|
;;
|
|
2095
2342
|
rom__subcmd__weaver__subcmd__patch)
|
|
2096
|
-
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help apply weave
|
|
2343
|
+
opts="-n -v -q -y -h --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help validate apply weave create help"
|
|
2097
2344
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2098
2345
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2099
2346
|
return 0
|
|
@@ -2111,7 +2358,7 @@ _rom__weaver() {
|
|
|
2111
2358
|
return 0
|
|
2112
2359
|
;;
|
|
2113
2360
|
rom__subcmd__weaver__subcmd__patch__subcmd__apply)
|
|
2114
|
-
opts="-i -s -
|
|
2361
|
+
opts="-i -s -j -o -n -v -q -y -h --input --select --target --filter --no-extract --no-ignore --patch --patch-select --bundle --with --without --without-cheats --raw --no-compress --format --compress-format --codec --compress-codec --level --compress-level --assume-in --expect-in --patch-header --patch-basis --patch-input-check --patch-output-check --default-patch-basis --output-header --repair-checksum --n64-byte-order --ignore-checksum-validation --expect-out --code --code-system --code-kind --cheat --cheat-database --cheat-system --game --allow-cheat-conflicts --emit-bundle --tui --threads --force --output --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2115
2362
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
2116
2363
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2117
2364
|
return 0
|
|
@@ -2149,14 +2396,6 @@ _rom__weaver() {
|
|
|
2149
2396
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2150
2397
|
return 0
|
|
2151
2398
|
;;
|
|
2152
|
-
--output)
|
|
2153
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
2154
|
-
return 0
|
|
2155
|
-
;;
|
|
2156
|
-
-o)
|
|
2157
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
2158
|
-
return 0
|
|
2159
|
-
;;
|
|
2160
2399
|
--bundle)
|
|
2161
2400
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2162
2401
|
return 0
|
|
@@ -2209,8 +2448,20 @@ _rom__weaver() {
|
|
|
2209
2448
|
COMPREPLY=($(compgen -W "auto base previous" -- "${cur}"))
|
|
2210
2449
|
return 0
|
|
2211
2450
|
;;
|
|
2212
|
-
--
|
|
2213
|
-
COMPREPLY=($(compgen -
|
|
2451
|
+
--patch-input-check)
|
|
2452
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2453
|
+
return 0
|
|
2454
|
+
;;
|
|
2455
|
+
--patch-output-check)
|
|
2456
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2457
|
+
return 0
|
|
2458
|
+
;;
|
|
2459
|
+
--default-patch-basis)
|
|
2460
|
+
COMPREPLY=($(compgen -W "auto base previous" -- "${cur}"))
|
|
2461
|
+
return 0
|
|
2462
|
+
;;
|
|
2463
|
+
--output-header)
|
|
2464
|
+
COMPREPLY=($(compgen -W "keep strip auto" -- "${cur}"))
|
|
2214
2465
|
return 0
|
|
2215
2466
|
;;
|
|
2216
2467
|
--n64-byte-order)
|
|
@@ -2233,6 +2484,22 @@ _rom__weaver() {
|
|
|
2233
2484
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2234
2485
|
return 0
|
|
2235
2486
|
;;
|
|
2487
|
+
--cheat)
|
|
2488
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2489
|
+
return 0
|
|
2490
|
+
;;
|
|
2491
|
+
--cheat-database)
|
|
2492
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2493
|
+
return 0
|
|
2494
|
+
;;
|
|
2495
|
+
--cheat-system)
|
|
2496
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2497
|
+
return 0
|
|
2498
|
+
;;
|
|
2499
|
+
--game)
|
|
2500
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2501
|
+
return 0
|
|
2502
|
+
;;
|
|
2236
2503
|
--emit-bundle)
|
|
2237
2504
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2238
2505
|
return 0
|
|
@@ -2245,6 +2512,14 @@ _rom__weaver() {
|
|
|
2245
2512
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2246
2513
|
return 0
|
|
2247
2514
|
;;
|
|
2515
|
+
--output)
|
|
2516
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2517
|
+
return 0
|
|
2518
|
+
;;
|
|
2519
|
+
-o)
|
|
2520
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2521
|
+
return 0
|
|
2522
|
+
;;
|
|
2248
2523
|
--log-level)
|
|
2249
2524
|
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
2250
2525
|
return 0
|
|
@@ -2257,7 +2532,7 @@ _rom__weaver() {
|
|
|
2257
2532
|
return 0
|
|
2258
2533
|
;;
|
|
2259
2534
|
rom__subcmd__weaver__subcmd__patch__subcmd__create)
|
|
2260
|
-
opts="-f -o -
|
|
2535
|
+
opts="-f -j -o -n -v -q -y -h --original --modified --format --plan --ignore-checksum-validation --checksum-name --assume-in --code --code-system --code-kind --cheat --cheat-database --cheat-system --game --allow-cheat-conflicts --threads --solid-system --solid-game --solid-hack --solid-version --solid-author --solid-contact --solid-comment --solid-extended --xdelta-secondary --force --output --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2261
2536
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
2262
2537
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2263
2538
|
return 0
|
|
@@ -2279,27 +2554,35 @@ _rom__weaver() {
|
|
|
2279
2554
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2280
2555
|
return 0
|
|
2281
2556
|
;;
|
|
2282
|
-
--
|
|
2557
|
+
--assume-in)
|
|
2283
2558
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2284
2559
|
return 0
|
|
2285
2560
|
;;
|
|
2286
|
-
|
|
2561
|
+
--code)
|
|
2287
2562
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2288
2563
|
return 0
|
|
2289
2564
|
;;
|
|
2290
|
-
--
|
|
2565
|
+
--code-system)
|
|
2291
2566
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2292
2567
|
return 0
|
|
2293
2568
|
;;
|
|
2294
|
-
--code)
|
|
2569
|
+
--code-kind)
|
|
2295
2570
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2296
2571
|
return 0
|
|
2297
2572
|
;;
|
|
2298
|
-
--
|
|
2573
|
+
--cheat)
|
|
2299
2574
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2300
2575
|
return 0
|
|
2301
2576
|
;;
|
|
2302
|
-
--
|
|
2577
|
+
--cheat-database)
|
|
2578
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2579
|
+
return 0
|
|
2580
|
+
;;
|
|
2581
|
+
--cheat-system)
|
|
2582
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2583
|
+
return 0
|
|
2584
|
+
;;
|
|
2585
|
+
--game)
|
|
2303
2586
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2304
2587
|
return 0
|
|
2305
2588
|
;;
|
|
@@ -2343,6 +2626,14 @@ _rom__weaver() {
|
|
|
2343
2626
|
COMPREPLY=($(compgen -W "auto lzma djw fgk none" -- "${cur}"))
|
|
2344
2627
|
return 0
|
|
2345
2628
|
;;
|
|
2629
|
+
--output)
|
|
2630
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2631
|
+
return 0
|
|
2632
|
+
;;
|
|
2633
|
+
-o)
|
|
2634
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2635
|
+
return 0
|
|
2636
|
+
;;
|
|
2346
2637
|
--log-level)
|
|
2347
2638
|
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
2348
2639
|
return 0
|
|
@@ -2355,7 +2646,7 @@ _rom__weaver() {
|
|
|
2355
2646
|
return 0
|
|
2356
2647
|
;;
|
|
2357
2648
|
rom__subcmd__weaver__subcmd__patch__subcmd__help)
|
|
2358
|
-
opts="apply
|
|
2649
|
+
opts="validate apply create help"
|
|
2359
2650
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
2360
2651
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2361
2652
|
return 0
|
|
@@ -2425,7 +2716,7 @@ _rom__weaver() {
|
|
|
2425
2716
|
return 0
|
|
2426
2717
|
;;
|
|
2427
2718
|
rom__subcmd__weaver__subcmd__patch__subcmd__validate)
|
|
2428
|
-
opts="-i -s -j -v -q -y -h --input --select --filter --no-extract --no-ignore --patch --patch-select --assume-in --expect-in --strip-header --n64-byte-order --ignore-checksum-validation --independent --plan --patch-basis --patch-input-check --patch-output-check --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
2719
|
+
opts="-i -s -j -n -v -q -y -h --input --select --filter --no-extract --no-ignore --patch --patch-select --assume-in --expect-in --strip-header --n64-byte-order --ignore-checksum-validation --independent --plan --patch-basis --default-patch-basis --patch-input-check --patch-output-check --threads --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2429
2720
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
2430
2721
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2431
2722
|
return 0
|
|
@@ -2475,6 +2766,10 @@ _rom__weaver() {
|
|
|
2475
2766
|
COMPREPLY=($(compgen -W "auto base previous" -- "${cur}"))
|
|
2476
2767
|
return 0
|
|
2477
2768
|
;;
|
|
2769
|
+
--default-patch-basis)
|
|
2770
|
+
COMPREPLY=($(compgen -W "auto base previous" -- "${cur}"))
|
|
2771
|
+
return 0
|
|
2772
|
+
;;
|
|
2478
2773
|
--patch-input-check)
|
|
2479
2774
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2480
2775
|
return 0
|
|
@@ -2503,7 +2798,7 @@ _rom__weaver() {
|
|
|
2503
2798
|
return 0
|
|
2504
2799
|
;;
|
|
2505
2800
|
rom__subcmd__weaver__subcmd__plan__subcmd__extract__subcmd__batch)
|
|
2506
|
-
opts="-j -v -q -y -h --job-size --threads --max-concurrency --total-memory-bytes --memory-ceiling-bytes --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
2801
|
+
opts="-j -n -v -q -y -h --job-size --threads --max-concurrency --total-memory-bytes --memory-ceiling-bytes --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2507
2802
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2508
2803
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2509
2804
|
return 0
|
|
@@ -2545,12 +2840,24 @@ _rom__weaver() {
|
|
|
2545
2840
|
return 0
|
|
2546
2841
|
;;
|
|
2547
2842
|
rom__subcmd__weaver__subcmd__probe)
|
|
2548
|
-
opts="-i -
|
|
2843
|
+
opts="-s -i -n -v -q -y -h --select --filter --no-extract --no-ignore --input --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2549
2844
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2550
2845
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2551
2846
|
return 0
|
|
2552
2847
|
fi
|
|
2553
2848
|
case "${prev}" in
|
|
2849
|
+
--select)
|
|
2850
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2851
|
+
return 0
|
|
2852
|
+
;;
|
|
2853
|
+
-s)
|
|
2854
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2855
|
+
return 0
|
|
2856
|
+
;;
|
|
2857
|
+
--filter)
|
|
2858
|
+
COMPREPLY=($(compgen -W "rom patch" -- "${cur}"))
|
|
2859
|
+
return 0
|
|
2860
|
+
;;
|
|
2554
2861
|
--input)
|
|
2555
2862
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2556
2863
|
return 0
|
|
@@ -2559,16 +2866,258 @@ _rom__weaver() {
|
|
|
2559
2866
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2560
2867
|
return 0
|
|
2561
2868
|
;;
|
|
2562
|
-
--
|
|
2869
|
+
--log-level)
|
|
2870
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
2871
|
+
return 0
|
|
2872
|
+
;;
|
|
2873
|
+
*)
|
|
2874
|
+
COMPREPLY=()
|
|
2875
|
+
;;
|
|
2876
|
+
esac
|
|
2877
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2878
|
+
return 0
|
|
2879
|
+
;;
|
|
2880
|
+
rom__subcmd__weaver__subcmd__save)
|
|
2881
|
+
opts="-n -v -q -y -h --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help identify inspect get export-schema set help"
|
|
2882
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2883
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2884
|
+
return 0
|
|
2885
|
+
fi
|
|
2886
|
+
case "${prev}" in
|
|
2887
|
+
--log-level)
|
|
2888
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
2889
|
+
return 0
|
|
2890
|
+
;;
|
|
2891
|
+
*)
|
|
2892
|
+
COMPREPLY=()
|
|
2893
|
+
;;
|
|
2894
|
+
esac
|
|
2895
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2896
|
+
return 0
|
|
2897
|
+
;;
|
|
2898
|
+
rom__subcmd__weaver__subcmd__save__subcmd__export__subcmd__schema)
|
|
2899
|
+
opts="-n -v -q -y -h --game --rom-sha1 --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2900
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
2901
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2902
|
+
return 0
|
|
2903
|
+
fi
|
|
2904
|
+
case "${prev}" in
|
|
2905
|
+
--game)
|
|
2563
2906
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2564
2907
|
return 0
|
|
2565
2908
|
;;
|
|
2566
|
-
-
|
|
2909
|
+
--rom-sha1)
|
|
2567
2910
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2568
2911
|
return 0
|
|
2569
2912
|
;;
|
|
2570
|
-
--
|
|
2571
|
-
COMPREPLY=($(compgen -W "
|
|
2913
|
+
--log-level)
|
|
2914
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
2915
|
+
return 0
|
|
2916
|
+
;;
|
|
2917
|
+
*)
|
|
2918
|
+
COMPREPLY=()
|
|
2919
|
+
;;
|
|
2920
|
+
esac
|
|
2921
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2922
|
+
return 0
|
|
2923
|
+
;;
|
|
2924
|
+
rom__subcmd__weaver__subcmd__save__subcmd__get)
|
|
2925
|
+
opts="-n -v -q -y -h --game --rom-sha1 --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2926
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
2927
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2928
|
+
return 0
|
|
2929
|
+
fi
|
|
2930
|
+
case "${prev}" in
|
|
2931
|
+
--game)
|
|
2932
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2933
|
+
return 0
|
|
2934
|
+
;;
|
|
2935
|
+
--rom-sha1)
|
|
2936
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2937
|
+
return 0
|
|
2938
|
+
;;
|
|
2939
|
+
--log-level)
|
|
2940
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
2941
|
+
return 0
|
|
2942
|
+
;;
|
|
2943
|
+
*)
|
|
2944
|
+
COMPREPLY=()
|
|
2945
|
+
;;
|
|
2946
|
+
esac
|
|
2947
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2948
|
+
return 0
|
|
2949
|
+
;;
|
|
2950
|
+
rom__subcmd__weaver__subcmd__save__subcmd__help)
|
|
2951
|
+
opts="identify inspect get export-schema set help"
|
|
2952
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
2953
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2954
|
+
return 0
|
|
2955
|
+
fi
|
|
2956
|
+
case "${prev}" in
|
|
2957
|
+
*)
|
|
2958
|
+
COMPREPLY=()
|
|
2959
|
+
;;
|
|
2960
|
+
esac
|
|
2961
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2962
|
+
return 0
|
|
2963
|
+
;;
|
|
2964
|
+
rom__subcmd__weaver__subcmd__save__subcmd__help__subcmd__export__subcmd__schema)
|
|
2965
|
+
opts=""
|
|
2966
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
2967
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2968
|
+
return 0
|
|
2969
|
+
fi
|
|
2970
|
+
case "${prev}" in
|
|
2971
|
+
*)
|
|
2972
|
+
COMPREPLY=()
|
|
2973
|
+
;;
|
|
2974
|
+
esac
|
|
2975
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2976
|
+
return 0
|
|
2977
|
+
;;
|
|
2978
|
+
rom__subcmd__weaver__subcmd__save__subcmd__help__subcmd__get)
|
|
2979
|
+
opts=""
|
|
2980
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
2981
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2982
|
+
return 0
|
|
2983
|
+
fi
|
|
2984
|
+
case "${prev}" in
|
|
2985
|
+
*)
|
|
2986
|
+
COMPREPLY=()
|
|
2987
|
+
;;
|
|
2988
|
+
esac
|
|
2989
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2990
|
+
return 0
|
|
2991
|
+
;;
|
|
2992
|
+
rom__subcmd__weaver__subcmd__save__subcmd__help__subcmd__help)
|
|
2993
|
+
opts=""
|
|
2994
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
2995
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2996
|
+
return 0
|
|
2997
|
+
fi
|
|
2998
|
+
case "${prev}" in
|
|
2999
|
+
*)
|
|
3000
|
+
COMPREPLY=()
|
|
3001
|
+
;;
|
|
3002
|
+
esac
|
|
3003
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3004
|
+
return 0
|
|
3005
|
+
;;
|
|
3006
|
+
rom__subcmd__weaver__subcmd__save__subcmd__help__subcmd__identify)
|
|
3007
|
+
opts=""
|
|
3008
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
3009
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3010
|
+
return 0
|
|
3011
|
+
fi
|
|
3012
|
+
case "${prev}" in
|
|
3013
|
+
*)
|
|
3014
|
+
COMPREPLY=()
|
|
3015
|
+
;;
|
|
3016
|
+
esac
|
|
3017
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3018
|
+
return 0
|
|
3019
|
+
;;
|
|
3020
|
+
rom__subcmd__weaver__subcmd__save__subcmd__help__subcmd__inspect)
|
|
3021
|
+
opts=""
|
|
3022
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
3023
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3024
|
+
return 0
|
|
3025
|
+
fi
|
|
3026
|
+
case "${prev}" in
|
|
3027
|
+
*)
|
|
3028
|
+
COMPREPLY=()
|
|
3029
|
+
;;
|
|
3030
|
+
esac
|
|
3031
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3032
|
+
return 0
|
|
3033
|
+
;;
|
|
3034
|
+
rom__subcmd__weaver__subcmd__save__subcmd__help__subcmd__set)
|
|
3035
|
+
opts=""
|
|
3036
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 4 ]] ; then
|
|
3037
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3038
|
+
return 0
|
|
3039
|
+
fi
|
|
3040
|
+
case "${prev}" in
|
|
3041
|
+
*)
|
|
3042
|
+
COMPREPLY=()
|
|
3043
|
+
;;
|
|
3044
|
+
esac
|
|
3045
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3046
|
+
return 0
|
|
3047
|
+
;;
|
|
3048
|
+
rom__subcmd__weaver__subcmd__save__subcmd__identify)
|
|
3049
|
+
opts="-n -v -q -y -h --game --rom-sha1 --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
3050
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
3051
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3052
|
+
return 0
|
|
3053
|
+
fi
|
|
3054
|
+
case "${prev}" in
|
|
3055
|
+
--game)
|
|
3056
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3057
|
+
return 0
|
|
3058
|
+
;;
|
|
3059
|
+
--rom-sha1)
|
|
3060
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3061
|
+
return 0
|
|
3062
|
+
;;
|
|
3063
|
+
--log-level)
|
|
3064
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
3065
|
+
return 0
|
|
3066
|
+
;;
|
|
3067
|
+
*)
|
|
3068
|
+
COMPREPLY=()
|
|
3069
|
+
;;
|
|
3070
|
+
esac
|
|
3071
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3072
|
+
return 0
|
|
3073
|
+
;;
|
|
3074
|
+
rom__subcmd__weaver__subcmd__save__subcmd__inspect)
|
|
3075
|
+
opts="-n -v -q -y -h --game --rom-sha1 --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
3076
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
3077
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3078
|
+
return 0
|
|
3079
|
+
fi
|
|
3080
|
+
case "${prev}" in
|
|
3081
|
+
--game)
|
|
3082
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3083
|
+
return 0
|
|
3084
|
+
;;
|
|
3085
|
+
--rom-sha1)
|
|
3086
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3087
|
+
return 0
|
|
3088
|
+
;;
|
|
3089
|
+
--log-level)
|
|
3090
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
3091
|
+
return 0
|
|
3092
|
+
;;
|
|
3093
|
+
*)
|
|
3094
|
+
COMPREPLY=()
|
|
3095
|
+
;;
|
|
3096
|
+
esac
|
|
3097
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3098
|
+
return 0
|
|
3099
|
+
;;
|
|
3100
|
+
rom__subcmd__weaver__subcmd__save__subcmd__set)
|
|
3101
|
+
opts="-n -o -v -q -y -h --game --rom-sha1 --dry-run --force --output --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
3102
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
3103
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
3104
|
+
return 0
|
|
3105
|
+
fi
|
|
3106
|
+
case "${prev}" in
|
|
3107
|
+
--game)
|
|
3108
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3109
|
+
return 0
|
|
3110
|
+
;;
|
|
3111
|
+
--rom-sha1)
|
|
3112
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3113
|
+
return 0
|
|
3114
|
+
;;
|
|
3115
|
+
--output)
|
|
3116
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3117
|
+
return 0
|
|
3118
|
+
;;
|
|
3119
|
+
-o)
|
|
3120
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2572
3121
|
return 0
|
|
2573
3122
|
;;
|
|
2574
3123
|
--log-level)
|
|
@@ -2583,7 +3132,7 @@ _rom__weaver() {
|
|
|
2583
3132
|
return 0
|
|
2584
3133
|
;;
|
|
2585
3134
|
rom__subcmd__weaver__subcmd__setup)
|
|
2586
|
-
opts="-v -q -y -h --database-dir --force --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
3135
|
+
opts="-n -v -q -y -h --database-dir --from --force --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2587
3136
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2588
3137
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2589
3138
|
return 0
|
|
@@ -2593,6 +3142,10 @@ _rom__weaver() {
|
|
|
2593
3142
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2594
3143
|
return 0
|
|
2595
3144
|
;;
|
|
3145
|
+
--from)
|
|
3146
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3147
|
+
return 0
|
|
3148
|
+
;;
|
|
2596
3149
|
--log-level)
|
|
2597
3150
|
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
2598
3151
|
return 0
|
|
@@ -2605,7 +3158,7 @@ _rom__weaver() {
|
|
|
2605
3158
|
return 0
|
|
2606
3159
|
;;
|
|
2607
3160
|
rom__subcmd__weaver__subcmd__tools)
|
|
2608
|
-
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help ppf-undo help"
|
|
3161
|
+
opts="-n -v -q -y -h --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help ppf-undo help"
|
|
2609
3162
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2610
3163
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2611
3164
|
return 0
|
|
@@ -2665,7 +3218,7 @@ _rom__weaver() {
|
|
|
2665
3218
|
return 0
|
|
2666
3219
|
;;
|
|
2667
3220
|
rom__subcmd__weaver__subcmd__tools__subcmd__ppf__subcmd__undo)
|
|
2668
|
-
opts="-i -o -v -q -y -h --input --patch --output --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
3221
|
+
opts="-i -o -n -v -q -y -h --input --patch --output --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2669
3222
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
2670
3223
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2671
3224
|
return 0
|
|
@@ -2703,45 +3256,45 @@ _rom__weaver() {
|
|
|
2703
3256
|
return 0
|
|
2704
3257
|
;;
|
|
2705
3258
|
rom__subcmd__weaver__subcmd__trim)
|
|
2706
|
-
opts="-
|
|
3259
|
+
opts="-e -j -i -o -n -v -q -y -h --extension --in-place --untrim --restore --revert --no-recursive --filter --no-filter --no-extract --reversible --revert-marker --threads --force --input --output --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2707
3260
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2708
3261
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2709
3262
|
return 0
|
|
2710
3263
|
fi
|
|
2711
3264
|
case "${prev}" in
|
|
2712
|
-
--
|
|
3265
|
+
--extension)
|
|
2713
3266
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2714
3267
|
return 0
|
|
2715
3268
|
;;
|
|
2716
|
-
-
|
|
3269
|
+
-e)
|
|
2717
3270
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2718
3271
|
return 0
|
|
2719
3272
|
;;
|
|
2720
|
-
--
|
|
2721
|
-
COMPREPLY=($(compgen -
|
|
3273
|
+
--filter)
|
|
3274
|
+
COMPREPLY=($(compgen -W "rom patch" -- "${cur}"))
|
|
2722
3275
|
return 0
|
|
2723
3276
|
;;
|
|
2724
|
-
|
|
3277
|
+
--threads)
|
|
2725
3278
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2726
3279
|
return 0
|
|
2727
3280
|
;;
|
|
2728
|
-
|
|
3281
|
+
-j)
|
|
2729
3282
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2730
3283
|
return 0
|
|
2731
3284
|
;;
|
|
2732
|
-
|
|
3285
|
+
--input)
|
|
2733
3286
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2734
3287
|
return 0
|
|
2735
3288
|
;;
|
|
2736
|
-
|
|
2737
|
-
COMPREPLY=($(compgen -
|
|
3289
|
+
-i)
|
|
3290
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
2738
3291
|
return 0
|
|
2739
3292
|
;;
|
|
2740
|
-
--
|
|
3293
|
+
--output)
|
|
2741
3294
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2742
3295
|
return 0
|
|
2743
3296
|
;;
|
|
2744
|
-
-
|
|
3297
|
+
-o)
|
|
2745
3298
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2746
3299
|
return 0
|
|
2747
3300
|
;;
|
|
@@ -2757,7 +3310,7 @@ _rom__weaver() {
|
|
|
2757
3310
|
return 0
|
|
2758
3311
|
;;
|
|
2759
3312
|
rom__subcmd__weaver__subcmd__weave)
|
|
2760
|
-
opts="-i -s -
|
|
3313
|
+
opts="-i -s -j -o -n -v -q -y -h --input --select --target --filter --no-extract --no-ignore --patch --patch-select --bundle --with --without --without-cheats --raw --no-compress --format --compress-format --codec --compress-codec --level --compress-level --assume-in --expect-in --patch-header --patch-basis --patch-input-check --patch-output-check --default-patch-basis --output-header --repair-checksum --n64-byte-order --ignore-checksum-validation --expect-out --code --code-system --code-kind --cheat --cheat-database --cheat-system --game --allow-cheat-conflicts --emit-bundle --tui --threads --force --output --dry-run --json --jsonl --progress --no-progress --log-level --verbose --debug --quiet --dep-trace --color --no-color --yes --help"
|
|
2761
3314
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
2762
3315
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
2763
3316
|
return 0
|
|
@@ -2795,14 +3348,6 @@ _rom__weaver() {
|
|
|
2795
3348
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2796
3349
|
return 0
|
|
2797
3350
|
;;
|
|
2798
|
-
--output)
|
|
2799
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
2800
|
-
return 0
|
|
2801
|
-
;;
|
|
2802
|
-
-o)
|
|
2803
|
-
COMPREPLY=($(compgen -f "${cur}"))
|
|
2804
|
-
return 0
|
|
2805
|
-
;;
|
|
2806
3351
|
--bundle)
|
|
2807
3352
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2808
3353
|
return 0
|
|
@@ -2855,6 +3400,18 @@ _rom__weaver() {
|
|
|
2855
3400
|
COMPREPLY=($(compgen -W "auto base previous" -- "${cur}"))
|
|
2856
3401
|
return 0
|
|
2857
3402
|
;;
|
|
3403
|
+
--patch-input-check)
|
|
3404
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3405
|
+
return 0
|
|
3406
|
+
;;
|
|
3407
|
+
--patch-output-check)
|
|
3408
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3409
|
+
return 0
|
|
3410
|
+
;;
|
|
3411
|
+
--default-patch-basis)
|
|
3412
|
+
COMPREPLY=($(compgen -W "auto base previous" -- "${cur}"))
|
|
3413
|
+
return 0
|
|
3414
|
+
;;
|
|
2858
3415
|
--output-header)
|
|
2859
3416
|
COMPREPLY=($(compgen -W "keep strip auto" -- "${cur}"))
|
|
2860
3417
|
return 0
|
|
@@ -2879,6 +3436,22 @@ _rom__weaver() {
|
|
|
2879
3436
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2880
3437
|
return 0
|
|
2881
3438
|
;;
|
|
3439
|
+
--cheat)
|
|
3440
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3441
|
+
return 0
|
|
3442
|
+
;;
|
|
3443
|
+
--cheat-database)
|
|
3444
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3445
|
+
return 0
|
|
3446
|
+
;;
|
|
3447
|
+
--cheat-system)
|
|
3448
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3449
|
+
return 0
|
|
3450
|
+
;;
|
|
3451
|
+
--game)
|
|
3452
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3453
|
+
return 0
|
|
3454
|
+
;;
|
|
2882
3455
|
--emit-bundle)
|
|
2883
3456
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2884
3457
|
return 0
|
|
@@ -2891,6 +3464,14 @@ _rom__weaver() {
|
|
|
2891
3464
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
2892
3465
|
return 0
|
|
2893
3466
|
;;
|
|
3467
|
+
--output)
|
|
3468
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3469
|
+
return 0
|
|
3470
|
+
;;
|
|
3471
|
+
-o)
|
|
3472
|
+
COMPREPLY=($(compgen -f "${cur}"))
|
|
3473
|
+
return 0
|
|
3474
|
+
;;
|
|
2894
3475
|
--log-level)
|
|
2895
3476
|
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
2896
3477
|
return 0
|