@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.
@@ -1,6 +1,6 @@
1
1
  # Print an optspec for argparse to handle cmd's options that are independent of any subcommand.
2
2
  function __fish_rom_weaver_global_optspecs
3
- string join \n json progress no-progress log-level= v/verbose q/quiet dep-trace color no-color h/help V/version
3
+ string join \n json progress no-progress log-level= v/verbose q/quiet dep-trace color no-color y/yes h/help V/version
4
4
  end
5
5
 
6
6
  function __fish_rom_weaver_needs_command
@@ -38,6 +38,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -s q -l quiet -d 'Lo
38
38
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
39
39
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -l color -d 'Keep colors even when output is piped'
40
40
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -l no-color -d 'Turn colors off'
41
+ complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
41
42
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -s h -l help -d 'Print help (see more with \'--help\')'
42
43
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -s V -l version -d 'Print version'
43
44
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "probe" -d 'Identify a file: its format, its platform, and any header it carries'
@@ -53,6 +54,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "tools" -d 'On
53
54
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "plan-extract-batch" -d 'Plan a memory-/thread-aware concurrent extraction schedule from per-job source sizes (no I/O)'
54
55
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "weave" -d 'Apply one or more patches to a ROM, in order (same as `patch apply`)'
55
56
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "completions" -d 'Print a tab-completion script for your shell'
57
+ complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "formats" -d 'List the formats, codecs, and checksum algorithms this build supports'
56
58
  complete -c rom-weaver -n "__fish_rom_weaver_needs_command" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
57
59
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -s i -l input -d 'File to identify. Use - to read from stdin' -r -F
58
60
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -s s -l select -d 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)' -r
@@ -74,6 +76,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -s q -l qui
74
76
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
75
77
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -l color -d 'Keep colors even when output is piped'
76
78
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -l no-color -d 'Turn colors off'
79
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
77
80
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand probe" -s h -l help -d 'Print help (see more with \'--help\')'
78
81
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -s i -l input -d 'File to identify. Use - to read from stdin' -r -F
79
82
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -s s -l select -d 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)' -r
@@ -95,14 +98,29 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -s q -l q
95
98
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
96
99
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -l color -d 'Keep colors even when output is piped'
97
100
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -l no-color -d 'Turn colors off'
101
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
98
102
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand inspect" -s h -l help -d 'Print help (see more with \'--help\')'
99
103
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s i -l input -d 'Archive or single-payload compressed format to unpack' -r -F
100
104
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s s -l select -d 'Extract only these files, by exact name, prefix, or glob (repeatable). For example: --select \'game.disc0?.bin\'' -r
101
105
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l filter -d 'Extract only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)' -r -f -a "rom\t''
102
106
  patch\t''"
103
107
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s o -l output -d 'Directory to write the extracted files into' -r -F
104
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l checksum -d 'Also hash every extracted file (repeatable, comma-separable)' -r
105
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l checksum-rom -d 'Like --checksum, but hash only the ROMs and skip sidecar files. Ignored when --checksum is also given' -r
108
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l checksum -l algo -d 'Also hash every extracted file (repeatable, comma-separable)' -r -f -a "crc32\t''
109
+ md5\t''
110
+ sha1\t''
111
+ sha256\t''
112
+ blake3\t''
113
+ crc32c\t''
114
+ crc16\t''
115
+ adler32\t''"
116
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l checksum-rom -d 'Like --checksum, but hash only the ROMs and skip sidecar files. Cannot be combined with --checksum' -r -f -a "crc32\t''
117
+ md5\t''
118
+ sha1\t''
119
+ sha256\t''
120
+ blake3\t''
121
+ crc32c\t''
122
+ crc16\t''
123
+ adler32\t''"
106
124
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
107
125
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
108
126
  error\t''
@@ -123,9 +141,17 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s q -l q
123
141
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
124
142
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l color -d 'Keep colors even when output is piped'
125
143
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -l no-color -d 'Turn colors off'
144
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
126
145
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand extract" -s h -l help -d 'Print help (see more with \'--help\')'
127
146
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s i -l input -d 'File to hash. Use - to read from stdin' -r -F
128
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s a -l algo -d 'Which checksum to compute: crc32, md5, sha1, sha256, blake3, crc32c, crc16, or adler32 (repeatable, comma-separable)' -r
147
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s a -l algo -l checksum -d 'Which checksum to compute (repeatable, comma-separable)' -r -f -a "crc32\t''
148
+ md5\t''
149
+ sha1\t''
150
+ sha256\t''
151
+ blake3\t''
152
+ crc32c\t''
153
+ crc16\t''
154
+ adler32\t''"
129
155
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s s -l select -d 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)' -r
130
156
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -l filter -d 'Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)' -r -f -a "rom\t''
131
157
  patch\t''"
@@ -150,6 +176,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s q -l
150
176
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
151
177
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -l color -d 'Keep colors even when output is piped'
152
178
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -l no-color -d 'Turn colors off'
179
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
153
180
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand checksum" -s h -l help -d 'Print help (see more with \'--help\')'
154
181
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s i -l input -d 'File to sort into ROMs and patches' -r -F
155
182
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s o -l output -d 'Directory to write anything unpacked along the way into' -r -F
@@ -157,7 +184,14 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s s -l se
157
184
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l sidecar-name -d 'Optional loose patch names to match against `source` without ingesting it. This keeps the browser\'s sibling-sidecar lookup on the ingest command surface while reusing Rust\'s matcher' -r
158
185
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l split-bin -d 'For a multi-track CD-format CHD, write one BIN per track (--split-bin) or one merged BIN (--split-bin false). Omit to be asked' -r -f -a "true\t''
159
186
  false\t''"
160
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l checksum -d 'Which checksums to compute for each ROM found (repeatable, comma-separable) [default: crc32,md5,sha1]' -r
187
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l checksum -l algo -d 'Which checksums to compute for each ROM found (repeatable, comma-separable) [default: crc32,md5,sha1]' -r -f -a "crc32\t''
188
+ md5\t''
189
+ sha1\t''
190
+ sha256\t''
191
+ blake3\t''
192
+ crc32c\t''
193
+ crc16\t''
194
+ adler32\t''"
161
195
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
162
196
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
163
197
  error\t''
@@ -176,11 +210,28 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s q -l qu
176
210
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
177
211
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l color -d 'Keep colors even when output is piped'
178
212
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -l no-color -d 'Turn colors off'
213
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
179
214
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand ingest" -s h -l help -d 'Print help (see more with \'--help\')'
180
215
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s i -l input -d 'File to put in the archive; repeat for each one. For a disc image, pass the .cue or .gdi alone and its tracks come along' -r -F
181
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s f -l format -d 'Output format, such as zip, 7z, chd, rvz, or z3ds [default: from the --output extension]' -r
216
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s f -l format -d 'Output format, such as zip, 7z, chd, rvz, or z3ds [default: from the --output extension]' -r -f -a "zip\t''
217
+ 7z\t''
218
+ chd\t''
219
+ rvz\t''
220
+ z3ds\t''"
182
221
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s o -l output -d 'Where to write the archive' -r -F
183
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r
222
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r -f -a "store\t''
223
+ deflate\t''
224
+ zstd\t''
225
+ lzma\t''
226
+ lzma2\t''
227
+ zlib\t''
228
+ huff\t''
229
+ flac\t''
230
+ cdzs\t''
231
+ cdlz\t''
232
+ cdzl\t''
233
+ cdfl\t''
234
+ avhuff\t''"
184
235
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max' -r -f -a "min\t''
185
236
  very-low\t''
186
237
  low\t''
@@ -195,6 +246,8 @@ warn\t''
195
246
  info\t''
196
247
  debug\t''
197
248
  trace\t''"
249
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
250
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s n -l dry-run -d 'Print the plan (inputs, output, format, codec, level, threads) and stop without writing'
198
251
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l json -d 'Print one JSON object per line instead of human-readable output'
199
252
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l progress -d 'Show progress even when output is piped to a file or another program'
200
253
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l no-progress -d 'Hide progress'
@@ -203,10 +256,13 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s q -l
203
256
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
204
257
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l color -d 'Keep colors even when output is piped'
205
258
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -l no-color -d 'Turn colors off'
259
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
206
260
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand compress" -s h -l help -d 'Print help (see more with \'--help\')'
207
261
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s i -l input -d 'File or folder to trim. Repeat for each one' -r -F
208
262
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s o -l output -d 'Where to write the trimmed file. Only valid with a single trimmable input' -r -F
209
263
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s e -l extension -d 'Save next to each original under this extension. {ext} stands for the original one, as in trim.{ext}' -r
264
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l filter -d 'Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)' -r -f -a "rom\t''
265
+ patch\t''"
210
266
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
211
267
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
212
268
  error\t''
@@ -221,6 +277,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l no-recurs
221
277
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l no-filter -d 'Consider every file inside an archive, not just the ones that look like ROMs'
222
278
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l no-extract -d 'Do not look inside archives; trim only the files named directly'
223
279
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l revert-marker -l reversible -d 'Add a small footer recording what was cut, so --revert can restore the original exactly'
280
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
224
281
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l json -d 'Print one JSON object per line instead of human-readable output'
225
282
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l progress -d 'Show progress even when output is piped to a file or another program'
226
283
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l no-progress -d 'Hide progress'
@@ -229,6 +286,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s q -l quie
229
286
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
230
287
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l color -d 'Keep colors even when output is piped'
231
288
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -l no-color -d 'Turn colors off'
289
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
232
290
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand trim" -s h -l help -d 'Print help (see more with \'--help\')'
233
291
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
234
292
  error\t''
@@ -244,6 +302,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __f
244
302
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
245
303
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -l color -d 'Keep colors even when output is piped'
246
304
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -l no-color -d 'Turn colors off'
305
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
247
306
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -s h -l help -d 'Print help'
248
307
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -f -a "apply" -d 'Apply one or more patches to a ROM, in order'
249
308
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and not __fish_seen_subcommand_from apply weave validate create help" -f -a "weave" -d 'Apply one or more patches to a ROM, in order'
@@ -260,9 +319,25 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
260
319
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l bundle -d 'Follow a rom-weaver-bundle.json recipe: a file path, or an http(s) URL' -r -F
261
320
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l with -d 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)' -r
262
321
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l without -d 'Turn off a bundle patch, matched by name or file name (repeatable)' -r
263
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r
264
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r
265
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
322
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-format -l format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r -f -a "zip\t''
323
+ 7z\t''
324
+ chd\t''
325
+ rvz\t''
326
+ z3ds\t''"
327
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-codec -l codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r -f -a "store\t''
328
+ deflate\t''
329
+ zstd\t''
330
+ lzma\t''
331
+ lzma2\t''
332
+ zlib\t''
333
+ huff\t''
334
+ flac\t''
335
+ cdzs\t''
336
+ cdlz\t''
337
+ cdzl\t''
338
+ cdfl\t''
339
+ avhuff\t''"
340
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l compress-level -l level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
266
341
  very-low\t''
267
342
  low\t''
268
343
  medium\t''
@@ -299,10 +374,12 @@ debug\t''
299
374
  trace\t''"
300
375
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-extract -d 'Do not look inside archives; treat the input and every patch as raw files'
301
376
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-ignore -d 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store'
302
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-compress -d 'Write a plain ROM instead of compressing the result'
377
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-compress -l raw -d 'Write a plain ROM instead of compressing the result'
303
378
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l repair-checksum -d 'Recompute the ROM\'s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)'
304
379
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l ignore-checksum-validation -d 'Apply the patch even when its own checksums do not match. Can produce a broken ROM'
305
380
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l tui -d 'Ask for each patch\'s name, version, and author, then apply and write a bundle. Needs a terminal'
381
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
382
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -s n -l dry-run -d 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
306
383
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l json -d 'Print one JSON object per line instead of human-readable output'
307
384
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l progress -d 'Show progress even when output is piped to a file or another program'
308
385
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-progress -d 'Hide progress'
@@ -311,6 +388,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
311
388
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
312
389
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l color -d 'Keep colors even when output is piped'
313
390
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -l no-color -d 'Turn colors off'
391
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
314
392
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from apply" -s h -l help -d 'Print help (see more with \'--help\')'
315
393
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s i -l input -d 'ROM to patch. May be an archive, a disc sheet (.cue/.gdi), or a bundle' -r -F
316
394
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s s -l select -d 'Pick which file to use when the ROM or a patch is inside an archive, by exact name, prefix, or glob (repeatable)' -r
@@ -322,9 +400,25 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
322
400
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l bundle -d 'Follow a rom-weaver-bundle.json recipe: a file path, or an http(s) URL' -r -F
323
401
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l with -d 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)' -r
324
402
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l without -d 'Turn off a bundle patch, matched by name or file name (repeatable)' -r
325
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r
326
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r
327
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
403
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-format -l format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r -f -a "zip\t''
404
+ 7z\t''
405
+ chd\t''
406
+ rvz\t''
407
+ z3ds\t''"
408
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-codec -l codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r -f -a "store\t''
409
+ deflate\t''
410
+ zstd\t''
411
+ lzma\t''
412
+ lzma2\t''
413
+ zlib\t''
414
+ huff\t''
415
+ flac\t''
416
+ cdzs\t''
417
+ cdlz\t''
418
+ cdzl\t''
419
+ cdfl\t''
420
+ avhuff\t''"
421
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l compress-level -l level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
328
422
  very-low\t''
329
423
  low\t''
330
424
  medium\t''
@@ -361,10 +455,12 @@ debug\t''
361
455
  trace\t''"
362
456
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-extract -d 'Do not look inside archives; treat the input and every patch as raw files'
363
457
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-ignore -d 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store'
364
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-compress -d 'Write a plain ROM instead of compressing the result'
458
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-compress -l raw -d 'Write a plain ROM instead of compressing the result'
365
459
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l repair-checksum -d 'Recompute the ROM\'s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)'
366
460
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l ignore-checksum-validation -d 'Apply the patch even when its own checksums do not match. Can produce a broken ROM'
367
461
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l tui -d 'Ask for each patch\'s name, version, and author, then apply and write a bundle. Needs a terminal'
462
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
463
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s n -l dry-run -d 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
368
464
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l json -d 'Print one JSON object per line instead of human-readable output'
369
465
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l progress -d 'Show progress even when output is piped to a file or another program'
370
466
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-progress -d 'Hide progress'
@@ -373,6 +469,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
373
469
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
374
470
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l color -d 'Keep colors even when output is piped'
375
471
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -l no-color -d 'Turn colors off'
472
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
376
473
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from weave" -s h -l help -d 'Print help (see more with \'--help\')'
377
474
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -s i -l input -d 'ROM to check the patches against. May be an archive' -r -F
378
475
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -s s -l select -d 'Pick which file to use when the ROM or a patch is inside an archive, by exact name, prefix, or glob (repeatable)' -r
@@ -412,6 +509,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
412
509
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
413
510
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -l color -d 'Keep colors even when output is piped'
414
511
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -l no-color -d 'Turn colors off'
512
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
415
513
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from validate" -s h -l help -d 'Print help (see more with \'--help\')'
416
514
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l original -d 'The unmodified ROM' -r -F
417
515
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l modified -d 'The changed ROM. Leave out when using --code, which produces the changed ROM for you' -r -F
@@ -444,6 +542,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
444
542
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l ignore-checksum-validation -d 'Write the patch even when the format\'s own consistency checks fail, and leave its checksums out'
445
543
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l checksum-name -d 'Put the original ROM\'s crc32 in the patch file name, as [crc32:HEX]'
446
544
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l solid-extended -d 'SOLID patches only: use the extended header even with none of the extended fields filled in'
545
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
447
546
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l json -d 'Print one JSON object per line instead of human-readable output'
448
547
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l progress -d 'Show progress even when output is piped to a file or another program'
449
548
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l no-progress -d 'Hide progress'
@@ -452,6 +551,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_
452
551
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
453
552
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l color -d 'Keep colors even when output is piped'
454
553
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -l no-color -d 'Turn colors off'
554
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
455
555
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from create" -s h -l help -d 'Print help (see more with \'--help\')'
456
556
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from help" -f -a "apply" -d 'Apply one or more patches to a ROM, in order'
457
557
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand patch; and __fish_seen_subcommand_from help" -f -a "validate" -d 'Check that patches would apply cleanly, without writing anything'
@@ -471,6 +571,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __
471
571
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
472
572
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -l color -d 'Keep colors even when output is piped'
473
573
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -l no-color -d 'Turn colors off'
574
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
474
575
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -s h -l help -d 'Print help'
475
576
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -f -a "create" -d 'Write a rom-weaver-bundle.json recipe from local ROM and patch files'
476
577
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and not __fish_seen_subcommand_from create parse schema help" -f -a "parse" -d 'Read a rom-weaver-bundle.json recipe and report what it points at'
@@ -506,7 +607,14 @@ auto\t''"
506
607
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -s o -l output -d 'Where to write the bundle. Name it rom-weaver-bundle.json, or add .gz or .zst to compress it' -r -F
507
608
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l bundle -d 'Also pack the bundle and its ROM and patches into one shareable archive, such as release.zip' -r -F
508
609
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l bundle-rom -d 'Pack this file into --bundle as the ROM, while --input supplies the checksums and metadata' -r -F
509
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l checksum -d 'Which checksums to record for the ROM (repeatable) [default: crc32,md5,sha1]' -r
610
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l checksum -l algo -d 'Which checksums to record for the ROM (repeatable, comma-separable) [default: crc32,md5,sha1]' -r -f -a "crc32\t''
611
+ md5\t''
612
+ sha1\t''
613
+ sha256\t''
614
+ blake3\t''
615
+ crc32c\t''
616
+ crc16\t''
617
+ adler32\t''"
510
618
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l from -d 'Build the bundle from a hand-written rom-weaver-bundle.json instead of flags. Use - to read it from stdin' -r -F
511
619
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l schema-ref -d 'Record this $schema URL in the bundle so editors can validate it. Left out unless asked for' -r
512
620
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -s j -l threads -d 'How many threads to use at most. auto uses every core; a format may still use fewer' -r
@@ -517,6 +625,7 @@ info\t''
517
625
  debug\t''
518
626
  trace\t''"
519
627
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l no-bundle-rom -d 'Keep the ROM out of --bundle and record only its checksums, so whoever applies the bundle brings their own copy'
628
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
520
629
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l json -d 'Print one JSON object per line instead of human-readable output'
521
630
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l progress -d 'Show progress even when output is piped to a file or another program'
522
631
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l no-progress -d 'Hide progress'
@@ -525,6 +634,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish
525
634
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
526
635
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l color -d 'Keep colors even when output is piped'
527
636
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -l no-color -d 'Turn colors off'
637
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
528
638
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from create" -s h -l help -d 'Print help (see more with \'--help\')'
529
639
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -s i -l input -d 'Bundle file, or an archive with a bundle at its root' -r -F
530
640
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -s s -l select -d 'Handle only the bundle entries whose file name matches this exact name, prefix, or glob (repeatable)' -r
@@ -547,6 +657,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish
547
657
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
548
658
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -l color -d 'Keep colors even when output is piped'
549
659
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -l no-color -d 'Turn colors off'
660
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
550
661
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from parse" -s h -l help -d 'Print help (see more with \'--help\')'
551
662
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
552
663
  error\t''
@@ -562,6 +673,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish
562
673
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
563
674
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -l color -d 'Keep colors even when output is piped'
564
675
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -l no-color -d 'Turn colors off'
676
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
565
677
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from schema" -s h -l help -d 'Print help (see more with \'--help\')'
566
678
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from help" -f -a "create" -d 'Write a rom-weaver-bundle.json recipe from local ROM and patch files'
567
679
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand bundle; and __fish_seen_subcommand_from help" -f -a "parse" -d 'Read a rom-weaver-bundle.json recipe and report what it points at'
@@ -581,6 +693,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __f
581
693
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
582
694
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -l color -d 'Keep colors even when output is piped'
583
695
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -l no-color -d 'Turn colors off'
696
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
584
697
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -s h -l help -d 'Print help'
585
698
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -f -a "ppf-undo" -d 'Undo a PPF3 patch, using the undo data stored inside it'
586
699
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and not __fish_seen_subcommand_from ppf-undo help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
@@ -601,6 +714,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_
601
714
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from ppf-undo" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
602
715
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from ppf-undo" -l color -d 'Keep colors even when output is piped'
603
716
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from ppf-undo" -l no-color -d 'Turn colors off'
717
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from ppf-undo" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
604
718
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from ppf-undo" -s h -l help -d 'Print help (see more with \'--help\')'
605
719
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from help" -f -a "ppf-undo" -d 'Undo a PPF3 patch, using the undo data stored inside it'
606
720
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand tools; and __fish_seen_subcommand_from help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
@@ -623,6 +737,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch
623
737
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
624
738
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch" -l color -d 'Keep colors even when output is piped'
625
739
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch" -l no-color -d 'Turn colors off'
740
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
626
741
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand plan-extract-batch" -s h -l help -d 'Print help'
627
742
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s i -l input -d 'ROM to patch. May be an archive, a disc sheet (.cue/.gdi), or a bundle' -r -F
628
743
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s s -l select -d 'Pick which file to use when the ROM or a patch is inside an archive, by exact name, prefix, or glob (repeatable)' -r
@@ -634,9 +749,25 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s o -l out
634
749
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l bundle -d 'Follow a rom-weaver-bundle.json recipe: a file path, or an http(s) URL' -r -F
635
750
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l with -d 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)' -r
636
751
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l without -d 'Turn off a bundle patch, matched by name or file name (repeatable)' -r
637
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r
638
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r
639
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
752
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-format -l format -d 'Format to compress the patched ROM into [default: from the --output extension]' -r -f -a "zip\t''
753
+ 7z\t''
754
+ chd\t''
755
+ rvz\t''
756
+ z3ds\t''"
757
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-codec -l codec -d 'Compression method to use, as codec or codec:level (repeatable, comma-separable)' -r -f -a "store\t''
758
+ deflate\t''
759
+ zstd\t''
760
+ lzma\t''
761
+ lzma2\t''
762
+ zlib\t''
763
+ huff\t''
764
+ flac\t''
765
+ cdzs\t''
766
+ cdlz\t''
767
+ cdzl\t''
768
+ cdfl\t''
769
+ avhuff\t''"
770
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l compress-level -l level -d 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]' -r -f -a "min\t''
640
771
  very-low\t''
641
772
  low\t''
642
773
  medium\t''
@@ -673,10 +804,12 @@ debug\t''
673
804
  trace\t''"
674
805
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-extract -d 'Do not look inside archives; treat the input and every patch as raw files'
675
806
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-ignore -d 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store'
676
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-compress -d 'Write a plain ROM instead of compressing the result'
807
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-compress -l raw -d 'Write a plain ROM instead of compressing the result'
677
808
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l repair-checksum -d 'Recompute the ROM\'s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)'
678
809
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l ignore-checksum-validation -d 'Apply the patch even when its own checksums do not match. Can produce a broken ROM'
679
810
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l tui -d 'Ask for each patch\'s name, version, and author, then apply and write a bundle. Needs a terminal'
811
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l force -d 'Overwrite the output if it already exists (without this, the command stops instead)'
812
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s n -l dry-run -d 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
680
813
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l json -d 'Print one JSON object per line instead of human-readable output'
681
814
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l progress -d 'Show progress even when output is piped to a file or another program'
682
815
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-progress -d 'Hide progress'
@@ -685,6 +818,7 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s q -l qui
685
818
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
686
819
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l color -d 'Keep colors even when output is piped'
687
820
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -l no-color -d 'Turn colors off'
821
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
688
822
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand weave" -s h -l help -d 'Print help (see more with \'--help\')'
689
823
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
690
824
  error\t''
@@ -700,20 +834,38 @@ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -s q
700
834
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
701
835
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -l color -d 'Keep colors even when output is piped'
702
836
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -l no-color -d 'Turn colors off'
837
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
703
838
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand completions" -s h -l help -d 'Print help (see more with \'--help\')'
704
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "probe" -d 'Identify a file: its format, its platform, and any header it carries'
705
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "extract" -d 'Unpack an archive or single-payload compressed format'
706
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "checksum" -d 'Compute checksums for a file, or for a ROM inside an archive'
707
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "ingest" -d 'Sort a file into ROMs and patches, unpacking and hashing along the way'
708
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "compress" -d 'Pack files into an archive, disc image, or ROM-specific compressed format'
709
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "trim" -d 'Cut the padding off a ROM, or put it back'
710
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "patch" -d 'Apply, create, or check ROM patches'
711
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "bundle" -d 'Build and read rom-weaver-bundle.json patch recipes'
712
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "tools" -d 'One-off recovery tools'
713
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "plan-extract-batch" -d 'Plan a memory-/thread-aware concurrent extraction schedule from per-job source sizes (no I/O)'
714
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "weave" -d 'Apply one or more patches to a ROM, in order (same as `patch apply`)'
715
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "completions" -d 'Print a tab-completion script for your shell'
716
- complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
839
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l log-level -d 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]' -r -f -a "off\t''
840
+ error\t''
841
+ warn\t''
842
+ info\t''
843
+ debug\t''
844
+ trace\t''"
845
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l json -d 'Print one JSON object per line instead of human-readable output'
846
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l progress -d 'Show progress even when output is piped to a file or another program'
847
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l no-progress -d 'Hide progress'
848
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -s v -l verbose -d 'Log more: -v for info, -vv for debug, -vvv for trace'
849
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -s q -l quiet -d 'Log errors only'
850
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l dep-trace -d 'Also log trace output from bundled libraries (for bug reports)'
851
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l color -d 'Keep colors even when output is piped'
852
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -l no-color -d 'Turn colors off'
853
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -s y -l yes -d 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
854
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand formats" -s h -l help -d 'Print help (see more with \'--help\')'
855
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "probe" -d 'Identify a file: its format, its platform, and any header it carries'
856
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "extract" -d 'Unpack an archive or single-payload compressed format'
857
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "checksum" -d 'Compute checksums for a file, or for a ROM inside an archive'
858
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "ingest" -d 'Sort a file into ROMs and patches, unpacking and hashing along the way'
859
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "compress" -d 'Pack files into an archive, disc image, or ROM-specific compressed format'
860
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "trim" -d 'Cut the padding off a ROM, or put it back'
861
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "patch" -d 'Apply, create, or check ROM patches'
862
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "bundle" -d 'Build and read rom-weaver-bundle.json patch recipes'
863
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "tools" -d 'One-off recovery tools'
864
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "plan-extract-batch" -d 'Plan a memory-/thread-aware concurrent extraction schedule from per-job source sizes (no I/O)'
865
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "weave" -d 'Apply one or more patches to a ROM, in order (same as `patch apply`)'
866
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "completions" -d 'Print a tab-completion script for your shell'
867
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "formats" -d 'List the formats, codecs, and checksum algorithms this build supports'
868
+ complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and not __fish_seen_subcommand_from probe extract checksum ingest compress trim patch bundle tools plan-extract-batch weave completions formats help" -f -a "help" -d 'Print this message or the help of the given subcommand(s)'
717
869
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and __fish_seen_subcommand_from patch" -f -a "apply" -d 'Apply one or more patches to a ROM, in order'
718
870
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and __fish_seen_subcommand_from patch" -f -a "validate" -d 'Check that patches would apply cleanly, without writing anything'
719
871
  complete -c rom-weaver -n "__fish_rom_weaver_using_subcommand help; and __fish_seen_subcommand_from patch" -f -a "create" -d 'Build a patch from an original ROM and a changed one'