@rom-weaver/cli 0.12.3 → 0.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +38 -270
- package/docs/completions/_rom-weaver +126 -15
- package/docs/completions/rom-weaver.bash +116 -34
- package/docs/completions/rom-weaver.elv +101 -4
- package/docs/completions/rom-weaver.fish +185 -33
- package/docs/completions/rom-weaver.ps1 +103 -4
- package/docs/man/rom-weaver-bundle-create.1 +75 -3
- package/docs/man/rom-weaver-bundle-parse.1 +4 -1
- package/docs/man/rom-weaver-bundle-schema.1 +4 -1
- package/docs/man/rom-weaver-bundle.1 +4 -1
- package/docs/man/rom-weaver-checksum.1 +28 -3
- package/docs/man/rom-weaver-completions.1 +4 -1
- package/docs/man/rom-weaver-compress.1 +58 -1
- package/docs/man/rom-weaver-extract.1 +49 -2
- package/docs/man/rom-weaver-formats.1 +66 -0
- package/docs/man/rom-weaver-patch-apply.1 +126 -66
- package/docs/man/rom-weaver-patch-create.1 +7 -1
- package/docs/man/rom-weaver-patch-validate.1 +4 -1
- package/docs/man/rom-weaver-patch.1 +4 -1
- package/docs/man/rom-weaver-probe.1 +4 -1
- package/docs/man/rom-weaver-tools-ppf-undo.1 +4 -1
- package/docs/man/rom-weaver-tools.1 +4 -1
- package/docs/man/rom-weaver-trim.1 +20 -1
- package/docs/man/rom-weaver-weave.1 +126 -66
- package/docs/man/rom-weaver.1 +9 -6
- package/package.json +11 -11
- package/docs/man/rom-weaver-ingest.1 +0 -98
|
@@ -31,6 +31,9 @@ _rom-weaver() {
|
|
|
31
31
|
rom__weaver,extract)
|
|
32
32
|
cmd="rom__weaver__subcmd__extract"
|
|
33
33
|
;;
|
|
34
|
+
rom__weaver,formats)
|
|
35
|
+
cmd="rom__weaver__subcmd__formats"
|
|
36
|
+
;;
|
|
34
37
|
rom__weaver,help)
|
|
35
38
|
cmd="rom__weaver__subcmd__help"
|
|
36
39
|
;;
|
|
@@ -97,6 +100,9 @@ _rom-weaver() {
|
|
|
97
100
|
rom__weaver__subcmd__help,extract)
|
|
98
101
|
cmd="rom__weaver__subcmd__help__subcmd__extract"
|
|
99
102
|
;;
|
|
103
|
+
rom__weaver__subcmd__help,formats)
|
|
104
|
+
cmd="rom__weaver__subcmd__help__subcmd__formats"
|
|
105
|
+
;;
|
|
100
106
|
rom__weaver__subcmd__help,help)
|
|
101
107
|
cmd="rom__weaver__subcmd__help__subcmd__help"
|
|
102
108
|
;;
|
|
@@ -188,7 +194,7 @@ _rom-weaver() {
|
|
|
188
194
|
|
|
189
195
|
case "${cmd}" in
|
|
190
196
|
rom__weaver)
|
|
191
|
-
opts="-v -q -h -V --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help --version probe inspect extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help"
|
|
197
|
+
opts="-v -q -y -h -V --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help --version probe inspect extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help"
|
|
192
198
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 1 ]] ; then
|
|
193
199
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
194
200
|
return 0
|
|
@@ -206,7 +212,7 @@ _rom-weaver() {
|
|
|
206
212
|
return 0
|
|
207
213
|
;;
|
|
208
214
|
rom__subcmd__weaver__subcmd__bundle)
|
|
209
|
-
opts="-v -q -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help create parse schema help"
|
|
215
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help create parse schema help"
|
|
210
216
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
211
217
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
212
218
|
return 0
|
|
@@ -224,7 +230,7 @@ _rom-weaver() {
|
|
|
224
230
|
return 0
|
|
225
231
|
;;
|
|
226
232
|
rom__subcmd__weaver__subcmd__bundle__subcmd__create)
|
|
227
|
-
opts="-i -o -j -v -q -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 --checksum --from --schema-ref --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
233
|
+
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"
|
|
228
234
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
229
235
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
230
236
|
return 0
|
|
@@ -331,7 +337,11 @@ _rom-weaver() {
|
|
|
331
337
|
return 0
|
|
332
338
|
;;
|
|
333
339
|
--checksum)
|
|
334
|
-
COMPREPLY=($(compgen -
|
|
340
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
341
|
+
return 0
|
|
342
|
+
;;
|
|
343
|
+
--algo)
|
|
344
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
335
345
|
return 0
|
|
336
346
|
;;
|
|
337
347
|
--from)
|
|
@@ -432,7 +442,7 @@ _rom-weaver() {
|
|
|
432
442
|
return 0
|
|
433
443
|
;;
|
|
434
444
|
rom__subcmd__weaver__subcmd__bundle__subcmd__parse)
|
|
435
|
-
opts="-i -s -o -j -v -q -h --input --select --filter --no-extract --output --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
445
|
+
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"
|
|
436
446
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
437
447
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
438
448
|
return 0
|
|
@@ -486,7 +496,7 @@ _rom-weaver() {
|
|
|
486
496
|
return 0
|
|
487
497
|
;;
|
|
488
498
|
rom__subcmd__weaver__subcmd__bundle__subcmd__schema)
|
|
489
|
-
opts="-v -q -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
499
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
490
500
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
491
501
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
492
502
|
return 0
|
|
@@ -504,7 +514,7 @@ _rom-weaver() {
|
|
|
504
514
|
return 0
|
|
505
515
|
;;
|
|
506
516
|
rom__subcmd__weaver__subcmd__checksum)
|
|
507
|
-
opts="-i -a -s -j -v -q -h --input --algo --select --filter --no-extract --no-ignore --no-trim-fix --start --length --probe --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
517
|
+
opts="-i -a -s -j -v -q -y -h --input --checksum --algo --select --filter --no-extract --no-ignore --no-trim-fix --start --length --probe --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
508
518
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
509
519
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
510
520
|
return 0
|
|
@@ -519,11 +529,15 @@ _rom-weaver() {
|
|
|
519
529
|
return 0
|
|
520
530
|
;;
|
|
521
531
|
--algo)
|
|
522
|
-
COMPREPLY=($(compgen -
|
|
532
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
533
|
+
return 0
|
|
534
|
+
;;
|
|
535
|
+
--checksum)
|
|
536
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
523
537
|
return 0
|
|
524
538
|
;;
|
|
525
539
|
-a)
|
|
526
|
-
COMPREPLY=($(compgen -
|
|
540
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
527
541
|
return 0
|
|
528
542
|
;;
|
|
529
543
|
--select)
|
|
@@ -566,7 +580,7 @@ _rom-weaver() {
|
|
|
566
580
|
return 0
|
|
567
581
|
;;
|
|
568
582
|
rom__subcmd__weaver__subcmd__completions)
|
|
569
|
-
opts="-v -q -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help bash elvish fish powershell zsh"
|
|
583
|
+
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"
|
|
570
584
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
571
585
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
572
586
|
return 0
|
|
@@ -584,7 +598,7 @@ _rom-weaver() {
|
|
|
584
598
|
return 0
|
|
585
599
|
;;
|
|
586
600
|
rom__subcmd__weaver__subcmd__compress)
|
|
587
|
-
opts="-i -f -o -j -v -q -h --input --format --output --codec --level --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
601
|
+
opts="-i -f -o -n -j -v -q -y -h --input --format --output --codec --level --force --dry-run --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
588
602
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
589
603
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
590
604
|
return 0
|
|
@@ -599,11 +613,11 @@ _rom-weaver() {
|
|
|
599
613
|
return 0
|
|
600
614
|
;;
|
|
601
615
|
--format)
|
|
602
|
-
COMPREPLY=($(compgen -
|
|
616
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
603
617
|
return 0
|
|
604
618
|
;;
|
|
605
619
|
-f)
|
|
606
|
-
COMPREPLY=($(compgen -
|
|
620
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
607
621
|
return 0
|
|
608
622
|
;;
|
|
609
623
|
--output)
|
|
@@ -615,7 +629,7 @@ _rom-weaver() {
|
|
|
615
629
|
return 0
|
|
616
630
|
;;
|
|
617
631
|
--codec)
|
|
618
|
-
COMPREPLY=($(compgen -
|
|
632
|
+
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
619
633
|
return 0
|
|
620
634
|
;;
|
|
621
635
|
--level)
|
|
@@ -642,7 +656,7 @@ _rom-weaver() {
|
|
|
642
656
|
return 0
|
|
643
657
|
;;
|
|
644
658
|
rom__subcmd__weaver__subcmd__extract)
|
|
645
|
-
opts="-i -s -o -j -v -q -h --input --select --filter --output --split-bin --no-ignore --no-nested-extract --force --checksum --checksum-rom --probe --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
659
|
+
opts="-i -s -o -j -v -q -y -h --input --select --filter --output --split-bin --no-ignore --no-nested-extract --force --algo --checksum --checksum-rom --probe --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
646
660
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
647
661
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
648
662
|
return 0
|
|
@@ -677,11 +691,15 @@ _rom-weaver() {
|
|
|
677
691
|
return 0
|
|
678
692
|
;;
|
|
679
693
|
--checksum)
|
|
680
|
-
COMPREPLY=($(compgen -
|
|
694
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
695
|
+
return 0
|
|
696
|
+
;;
|
|
697
|
+
--algo)
|
|
698
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
681
699
|
return 0
|
|
682
700
|
;;
|
|
683
701
|
--checksum-rom)
|
|
684
|
-
COMPREPLY=($(compgen -
|
|
702
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
685
703
|
return 0
|
|
686
704
|
;;
|
|
687
705
|
--threads)
|
|
@@ -703,8 +721,26 @@ _rom-weaver() {
|
|
|
703
721
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
704
722
|
return 0
|
|
705
723
|
;;
|
|
724
|
+
rom__subcmd__weaver__subcmd__formats)
|
|
725
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
726
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
727
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
728
|
+
return 0
|
|
729
|
+
fi
|
|
730
|
+
case "${prev}" in
|
|
731
|
+
--log-level)
|
|
732
|
+
COMPREPLY=($(compgen -W "off error warn info debug trace" -- "${cur}"))
|
|
733
|
+
return 0
|
|
734
|
+
;;
|
|
735
|
+
*)
|
|
736
|
+
COMPREPLY=()
|
|
737
|
+
;;
|
|
738
|
+
esac
|
|
739
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
740
|
+
return 0
|
|
741
|
+
;;
|
|
706
742
|
rom__subcmd__weaver__subcmd__help)
|
|
707
|
-
opts="probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help"
|
|
743
|
+
opts="probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help"
|
|
708
744
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
709
745
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
710
746
|
return 0
|
|
@@ -829,6 +865,20 @@ _rom-weaver() {
|
|
|
829
865
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
830
866
|
return 0
|
|
831
867
|
;;
|
|
868
|
+
rom__subcmd__weaver__subcmd__help__subcmd__formats)
|
|
869
|
+
opts=""
|
|
870
|
+
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
871
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
872
|
+
return 0
|
|
873
|
+
fi
|
|
874
|
+
case "${prev}" in
|
|
875
|
+
*)
|
|
876
|
+
COMPREPLY=()
|
|
877
|
+
;;
|
|
878
|
+
esac
|
|
879
|
+
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
880
|
+
return 0
|
|
881
|
+
;;
|
|
832
882
|
rom__subcmd__weaver__subcmd__help__subcmd__help)
|
|
833
883
|
opts=""
|
|
834
884
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
@@ -998,7 +1048,7 @@ _rom-weaver() {
|
|
|
998
1048
|
return 0
|
|
999
1049
|
;;
|
|
1000
1050
|
rom__subcmd__weaver__subcmd__ingest)
|
|
1001
|
-
opts="-i -o -s -j -v -q -h --input --output --select --sidecar-name --sidecar-only --no-ignore --no-nested-extract --split-bin --checksum --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
1051
|
+
opts="-i -o -s -j -v -q -y -h --input --output --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"
|
|
1002
1052
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1003
1053
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1004
1054
|
return 0
|
|
@@ -1037,7 +1087,11 @@ _rom-weaver() {
|
|
|
1037
1087
|
return 0
|
|
1038
1088
|
;;
|
|
1039
1089
|
--checksum)
|
|
1040
|
-
COMPREPLY=($(compgen -
|
|
1090
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
1091
|
+
return 0
|
|
1092
|
+
;;
|
|
1093
|
+
--algo)
|
|
1094
|
+
COMPREPLY=($(compgen -W "crc32 md5 sha1 sha256 blake3 crc32c crc16 adler32" -- "${cur}"))
|
|
1041
1095
|
return 0
|
|
1042
1096
|
;;
|
|
1043
1097
|
--threads)
|
|
@@ -1060,7 +1114,7 @@ _rom-weaver() {
|
|
|
1060
1114
|
return 0
|
|
1061
1115
|
;;
|
|
1062
1116
|
rom__subcmd__weaver__subcmd__patch)
|
|
1063
|
-
opts="-v -q -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help apply weave validate create help"
|
|
1117
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help apply weave validate create help"
|
|
1064
1118
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1065
1119
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1066
1120
|
return 0
|
|
@@ -1078,7 +1132,7 @@ _rom-weaver() {
|
|
|
1078
1132
|
return 0
|
|
1079
1133
|
;;
|
|
1080
1134
|
rom__subcmd__weaver__subcmd__patch__subcmd__apply)
|
|
1081
|
-
opts="-i -s -o -j -v -q -h --input --select --target --filter --no-extract --no-ignore --patch --output --bundle --with --without --no-compress --compress-format --compress-codec --compress-level --assume-in --expect-in --patch-header --patch-basis --output-header --repair-checksum --n64-byte-order --ignore-checksum-validation --expect-out --code --code-system --code-kind --emit-bundle --tui --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
1135
|
+
opts="-i -s -o -j -n -v -q -y -h --input --select --target --filter --no-extract --no-ignore --patch --output --bundle --with --without --raw --no-compress --format --compress-format --codec --compress-codec --level --compress-level --assume-in --expect-in --patch-header --patch-basis --output-header --repair-checksum --n64-byte-order --ignore-checksum-validation --expect-out --code --code-system --code-kind --emit-bundle --tui --threads --force --dry-run --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1082
1136
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1083
1137
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1084
1138
|
return 0
|
|
@@ -1133,17 +1187,29 @@ _rom-weaver() {
|
|
|
1133
1187
|
return 0
|
|
1134
1188
|
;;
|
|
1135
1189
|
--compress-format)
|
|
1136
|
-
COMPREPLY=($(compgen -
|
|
1190
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
1191
|
+
return 0
|
|
1192
|
+
;;
|
|
1193
|
+
--format)
|
|
1194
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
1137
1195
|
return 0
|
|
1138
1196
|
;;
|
|
1139
1197
|
--compress-codec)
|
|
1140
|
-
COMPREPLY=($(compgen -
|
|
1198
|
+
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
1199
|
+
return 0
|
|
1200
|
+
;;
|
|
1201
|
+
--codec)
|
|
1202
|
+
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
1141
1203
|
return 0
|
|
1142
1204
|
;;
|
|
1143
1205
|
--compress-level)
|
|
1144
1206
|
COMPREPLY=($(compgen -W "min very-low low medium high very-high max" -- "${cur}"))
|
|
1145
1207
|
return 0
|
|
1146
1208
|
;;
|
|
1209
|
+
--level)
|
|
1210
|
+
COMPREPLY=($(compgen -W "min very-low low medium high very-high max" -- "${cur}"))
|
|
1211
|
+
return 0
|
|
1212
|
+
;;
|
|
1147
1213
|
--assume-in)
|
|
1148
1214
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1149
1215
|
return 0
|
|
@@ -1208,7 +1274,7 @@ _rom-weaver() {
|
|
|
1208
1274
|
return 0
|
|
1209
1275
|
;;
|
|
1210
1276
|
rom__subcmd__weaver__subcmd__patch__subcmd__create)
|
|
1211
|
-
opts="-f -o -j -v -q -h --original --modified --format --output --plan --ignore-checksum-validation --checksum-name --assume-in --code --code-system --code-kind --threads --solid-system --solid-game --solid-hack --solid-version --solid-author --solid-contact --solid-comment --solid-extended --xdelta-secondary --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
1277
|
+
opts="-f -o -j -v -q -y -h --original --modified --format --output --plan --ignore-checksum-validation --checksum-name --assume-in --code --code-system --code-kind --threads --solid-system --solid-game --solid-hack --solid-version --solid-author --solid-contact --solid-comment --solid-extended --xdelta-secondary --force --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1212
1278
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1213
1279
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1214
1280
|
return 0
|
|
@@ -1376,7 +1442,7 @@ _rom-weaver() {
|
|
|
1376
1442
|
return 0
|
|
1377
1443
|
;;
|
|
1378
1444
|
rom__subcmd__weaver__subcmd__patch__subcmd__validate)
|
|
1379
|
-
opts="-i -s -j -v -q -h --input --select --filter --no-extract --no-ignore --patch --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 --help"
|
|
1445
|
+
opts="-i -s -j -v -q -y -h --input --select --filter --no-extract --no-ignore --patch --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"
|
|
1380
1446
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1381
1447
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1382
1448
|
return 0
|
|
@@ -1450,7 +1516,7 @@ _rom-weaver() {
|
|
|
1450
1516
|
return 0
|
|
1451
1517
|
;;
|
|
1452
1518
|
rom__subcmd__weaver__subcmd__plan__subcmd__extract__subcmd__batch)
|
|
1453
|
-
opts="-j -v -q -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 --help"
|
|
1519
|
+
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"
|
|
1454
1520
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1455
1521
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1456
1522
|
return 0
|
|
@@ -1492,7 +1558,7 @@ _rom-weaver() {
|
|
|
1492
1558
|
return 0
|
|
1493
1559
|
;;
|
|
1494
1560
|
rom__subcmd__weaver__subcmd__probe)
|
|
1495
|
-
opts="-i -s -v -q -h --input --select --filter --no-extract --no-ignore --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
1561
|
+
opts="-i -s -v -q -y -h --input --select --filter --no-extract --no-ignore --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1496
1562
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1497
1563
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1498
1564
|
return 0
|
|
@@ -1530,7 +1596,7 @@ _rom-weaver() {
|
|
|
1530
1596
|
return 0
|
|
1531
1597
|
;;
|
|
1532
1598
|
rom__subcmd__weaver__subcmd__tools)
|
|
1533
|
-
opts="-v -q -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help ppf-undo help"
|
|
1599
|
+
opts="-v -q -y -h --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help ppf-undo help"
|
|
1534
1600
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1535
1601
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1536
1602
|
return 0
|
|
@@ -1590,7 +1656,7 @@ _rom-weaver() {
|
|
|
1590
1656
|
return 0
|
|
1591
1657
|
;;
|
|
1592
1658
|
rom__subcmd__weaver__subcmd__tools__subcmd__ppf__subcmd__undo)
|
|
1593
|
-
opts="-i -o -v -q -h --input --patch --output --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
1659
|
+
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"
|
|
1594
1660
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 3 ]] ; then
|
|
1595
1661
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1596
1662
|
return 0
|
|
@@ -1628,7 +1694,7 @@ _rom-weaver() {
|
|
|
1628
1694
|
return 0
|
|
1629
1695
|
;;
|
|
1630
1696
|
rom__subcmd__weaver__subcmd__trim)
|
|
1631
|
-
opts="-i -o -e -n -j -v -q -h --input --output --extension --in-place --dry-run --untrim --restore --revert --no-recursive --no-filter --no-extract --reversible --revert-marker --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
1697
|
+
opts="-i -o -e -n -j -v -q -y -h --input --output --extension --in-place --dry-run --untrim --restore --revert --no-recursive --filter --no-filter --no-extract --reversible --revert-marker --threads --force --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1632
1698
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1633
1699
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1634
1700
|
return 0
|
|
@@ -1658,6 +1724,10 @@ _rom-weaver() {
|
|
|
1658
1724
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1659
1725
|
return 0
|
|
1660
1726
|
;;
|
|
1727
|
+
--filter)
|
|
1728
|
+
COMPREPLY=($(compgen -W "rom patch" -- "${cur}"))
|
|
1729
|
+
return 0
|
|
1730
|
+
;;
|
|
1661
1731
|
--threads)
|
|
1662
1732
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1663
1733
|
return 0
|
|
@@ -1678,7 +1748,7 @@ _rom-weaver() {
|
|
|
1678
1748
|
return 0
|
|
1679
1749
|
;;
|
|
1680
1750
|
rom__subcmd__weaver__subcmd__weave)
|
|
1681
|
-
opts="-i -s -o -j -v -q -h --input --select --target --filter --no-extract --no-ignore --patch --output --bundle --with --without --no-compress --compress-format --compress-codec --compress-level --assume-in --expect-in --patch-header --patch-basis --output-header --repair-checksum --n64-byte-order --ignore-checksum-validation --expect-out --code --code-system --code-kind --emit-bundle --tui --threads --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --help"
|
|
1751
|
+
opts="-i -s -o -j -n -v -q -y -h --input --select --target --filter --no-extract --no-ignore --patch --output --bundle --with --without --raw --no-compress --format --compress-format --codec --compress-codec --level --compress-level --assume-in --expect-in --patch-header --patch-basis --output-header --repair-checksum --n64-byte-order --ignore-checksum-validation --expect-out --code --code-system --code-kind --emit-bundle --tui --threads --force --dry-run --json --progress --no-progress --log-level --verbose --quiet --dep-trace --color --no-color --yes --help"
|
|
1682
1752
|
if [[ ${cur} == -* || ${COMP_CWORD} -eq 2 ]] ; then
|
|
1683
1753
|
COMPREPLY=( $(compgen -W "${opts}" -- "${cur}") )
|
|
1684
1754
|
return 0
|
|
@@ -1733,17 +1803,29 @@ _rom-weaver() {
|
|
|
1733
1803
|
return 0
|
|
1734
1804
|
;;
|
|
1735
1805
|
--compress-format)
|
|
1736
|
-
COMPREPLY=($(compgen -
|
|
1806
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
1807
|
+
return 0
|
|
1808
|
+
;;
|
|
1809
|
+
--format)
|
|
1810
|
+
COMPREPLY=($(compgen -W "zip 7z chd rvz z3ds" -- "${cur}"))
|
|
1737
1811
|
return 0
|
|
1738
1812
|
;;
|
|
1739
1813
|
--compress-codec)
|
|
1740
|
-
COMPREPLY=($(compgen -
|
|
1814
|
+
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
1815
|
+
return 0
|
|
1816
|
+
;;
|
|
1817
|
+
--codec)
|
|
1818
|
+
COMPREPLY=($(compgen -W "store deflate zstd lzma lzma2 zlib huff flac cdzs cdlz cdzl cdfl avhuff" -- "${cur}"))
|
|
1741
1819
|
return 0
|
|
1742
1820
|
;;
|
|
1743
1821
|
--compress-level)
|
|
1744
1822
|
COMPREPLY=($(compgen -W "min very-low low medium high very-high max" -- "${cur}"))
|
|
1745
1823
|
return 0
|
|
1746
1824
|
;;
|
|
1825
|
+
--level)
|
|
1826
|
+
COMPREPLY=($(compgen -W "min very-low low medium high very-high max" -- "${cur}"))
|
|
1827
|
+
return 0
|
|
1828
|
+
;;
|
|
1747
1829
|
--assume-in)
|
|
1748
1830
|
COMPREPLY=($(compgen -f "${cur}"))
|
|
1749
1831
|
return 0
|