@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.
@@ -29,6 +29,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
29
29
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
30
30
  cand --color 'Keep colors even when output is piped'
31
31
  cand --no-color 'Turn colors off'
32
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
33
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
32
34
  cand -h 'Print help (see more with ''--help'')'
33
35
  cand --help 'Print help (see more with ''--help'')'
34
36
  cand -V 'Print version'
@@ -46,6 +48,7 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
46
48
  cand plan-extract-batch 'Plan a memory-/thread-aware concurrent extraction schedule from per-job source sizes (no I/O)'
47
49
  cand weave 'Apply one or more patches to a ROM, in order (same as `patch apply`)'
48
50
  cand completions 'Print a tab-completion script for your shell'
51
+ cand formats 'List the formats, codecs, and checksum algorithms this build supports'
49
52
  cand help 'Print this message or the help of the given subcommand(s)'
50
53
  }
51
54
  &'rom-weaver;probe'= {
@@ -67,6 +70,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
67
70
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
68
71
  cand --color 'Keep colors even when output is piped'
69
72
  cand --no-color 'Turn colors off'
73
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
74
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
70
75
  cand -h 'Print help (see more with ''--help'')'
71
76
  cand --help 'Print help (see more with ''--help'')'
72
77
  }
@@ -89,6 +94,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
89
94
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
90
95
  cand --color 'Keep colors even when output is piped'
91
96
  cand --no-color 'Turn colors off'
97
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
98
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
92
99
  cand -h 'Print help (see more with ''--help'')'
93
100
  cand --help 'Print help (see more with ''--help'')'
94
101
  }
@@ -101,7 +108,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
101
108
  cand -o 'Directory to write the extracted files into'
102
109
  cand --output 'Directory to write the extracted files into'
103
110
  cand --checksum 'Also hash every extracted file (repeatable, comma-separable)'
104
- cand --checksum-rom 'Like --checksum, but hash only the ROMs and skip sidecar files. Ignored when --checksum is also given'
111
+ cand --algo 'Also hash every extracted file (repeatable, comma-separable)'
112
+ cand --checksum-rom 'Like --checksum, but hash only the ROMs and skip sidecar files. Cannot be combined with --checksum'
105
113
  cand -j 'How many threads to use at most. auto uses every core; a format may still use fewer'
106
114
  cand --threads 'How many threads to use at most. auto uses every core; a format may still use fewer'
107
115
  cand --log-level 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]'
@@ -120,14 +128,17 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
120
128
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
121
129
  cand --color 'Keep colors even when output is piped'
122
130
  cand --no-color 'Turn colors off'
131
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
132
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
123
133
  cand -h 'Print help (see more with ''--help'')'
124
134
  cand --help 'Print help (see more with ''--help'')'
125
135
  }
126
136
  &'rom-weaver;checksum'= {
127
137
  cand -i 'File to hash. Use - to read from stdin'
128
138
  cand --input 'File to hash. Use - to read from stdin'
129
- cand -a 'Which checksum to compute: crc32, md5, sha1, sha256, blake3, crc32c, crc16, or adler32 (repeatable, comma-separable)'
130
- cand --algo 'Which checksum to compute: crc32, md5, sha1, sha256, blake3, crc32c, crc16, or adler32 (repeatable, comma-separable)'
139
+ cand -a 'Which checksum to compute (repeatable, comma-separable)'
140
+ cand --algo 'Which checksum to compute (repeatable, comma-separable)'
141
+ cand --checksum 'Which checksum to compute (repeatable, comma-separable)'
131
142
  cand -s 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)'
132
143
  cand --select 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)'
133
144
  cand --filter 'Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)'
@@ -150,6 +161,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
150
161
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
151
162
  cand --color 'Keep colors even when output is piped'
152
163
  cand --no-color 'Turn colors off'
164
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
165
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
153
166
  cand -h 'Print help (see more with ''--help'')'
154
167
  cand --help 'Print help (see more with ''--help'')'
155
168
  }
@@ -163,6 +176,7 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
163
176
  cand --sidecar-name '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'
164
177
  cand --split-bin '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'
165
178
  cand --checksum 'Which checksums to compute for each ROM found (repeatable, comma-separable) [default: crc32,md5,sha1]'
179
+ cand --algo 'Which checksums to compute for each ROM found (repeatable, comma-separable) [default: crc32,md5,sha1]'
166
180
  cand -j 'How many threads to use at most. auto uses every core; a format may still use fewer'
167
181
  cand --threads 'How many threads to use at most. auto uses every core; a format may still use fewer'
168
182
  cand --log-level 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]'
@@ -179,6 +193,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
179
193
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
180
194
  cand --color 'Keep colors even when output is piped'
181
195
  cand --no-color 'Turn colors off'
196
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
197
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
182
198
  cand -h 'Print help (see more with ''--help'')'
183
199
  cand --help 'Print help (see more with ''--help'')'
184
200
  }
@@ -194,6 +210,9 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
194
210
  cand -j 'How many threads to use at most. auto uses every core; a format may still use fewer'
195
211
  cand --threads 'How many threads to use at most. auto uses every core; a format may still use fewer'
196
212
  cand --log-level 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]'
213
+ cand --force 'Overwrite the output if it already exists (without this, the command stops instead)'
214
+ cand -n 'Print the plan (inputs, output, format, codec, level, threads) and stop without writing'
215
+ cand --dry-run 'Print the plan (inputs, output, format, codec, level, threads) and stop without writing'
197
216
  cand --json 'Print one JSON object per line instead of human-readable output'
198
217
  cand --progress 'Show progress even when output is piped to a file or another program'
199
218
  cand --no-progress 'Hide progress'
@@ -204,6 +223,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
204
223
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
205
224
  cand --color 'Keep colors even when output is piped'
206
225
  cand --no-color 'Turn colors off'
226
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
227
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
207
228
  cand -h 'Print help (see more with ''--help'')'
208
229
  cand --help 'Print help (see more with ''--help'')'
209
230
  }
@@ -214,6 +235,7 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
214
235
  cand --output 'Where to write the trimmed file. Only valid with a single trimmable input'
215
236
  cand -e 'Save next to each original under this extension. {ext} stands for the original one, as in trim.{ext}'
216
237
  cand --extension 'Save next to each original under this extension. {ext} stands for the original one, as in trim.{ext}'
238
+ cand --filter 'Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)'
217
239
  cand -j 'How many threads to use at most. auto uses every core; a format may still use fewer'
218
240
  cand --threads 'How many threads to use at most. auto uses every core; a format may still use fewer'
219
241
  cand --log-level 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]'
@@ -228,6 +250,7 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
228
250
  cand --no-extract 'Do not look inside archives; trim only the files named directly'
229
251
  cand --revert-marker 'Add a small footer recording what was cut, so --revert can restore the original exactly'
230
252
  cand --reversible 'Add a small footer recording what was cut, so --revert can restore the original exactly'
253
+ cand --force 'Overwrite the output if it already exists (without this, the command stops instead)'
231
254
  cand --json 'Print one JSON object per line instead of human-readable output'
232
255
  cand --progress 'Show progress even when output is piped to a file or another program'
233
256
  cand --no-progress 'Hide progress'
@@ -238,6 +261,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
238
261
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
239
262
  cand --color 'Keep colors even when output is piped'
240
263
  cand --no-color 'Turn colors off'
264
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
265
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
241
266
  cand -h 'Print help (see more with ''--help'')'
242
267
  cand --help 'Print help (see more with ''--help'')'
243
268
  }
@@ -253,6 +278,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
253
278
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
254
279
  cand --color 'Keep colors even when output is piped'
255
280
  cand --no-color 'Turn colors off'
281
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
282
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
256
283
  cand -h 'Print help'
257
284
  cand --help 'Print help'
258
285
  cand apply 'Apply one or more patches to a ROM, in order'
@@ -275,8 +302,11 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
275
302
  cand --with 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)'
276
303
  cand --without 'Turn off a bundle patch, matched by name or file name (repeatable)'
277
304
  cand --compress-format 'Format to compress the patched ROM into [default: from the --output extension]'
305
+ cand --format 'Format to compress the patched ROM into [default: from the --output extension]'
278
306
  cand --compress-codec 'Compression method to use, as codec or codec:level (repeatable, comma-separable)'
307
+ cand --codec 'Compression method to use, as codec or codec:level (repeatable, comma-separable)'
279
308
  cand --compress-level 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]'
309
+ cand --level 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]'
280
310
  cand --assume-in 'Take this checksum on trust instead of reading the ROM to compute it, as in crc32=1234abcd (repeatable, comma-separable)'
281
311
  cand --expect-in 'Stop unless the ROM about to be patched has this checksum, as in crc32=1234abcd (repeatable, comma-separable)'
282
312
  cand --patch-header 'Whether a patch applies to the ROM with or without its copier header: auto, keep, or strip [default: auto]'
@@ -294,9 +324,13 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
294
324
  cand --no-extract 'Do not look inside archives; treat the input and every patch as raw files'
295
325
  cand --no-ignore 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store'
296
326
  cand --no-compress 'Write a plain ROM instead of compressing the result'
327
+ cand --raw 'Write a plain ROM instead of compressing the result'
297
328
  cand --repair-checksum 'Recompute the ROM''s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)'
298
329
  cand --ignore-checksum-validation 'Apply the patch even when its own checksums do not match. Can produce a broken ROM'
299
330
  cand --tui 'Ask for each patch''s name, version, and author, then apply and write a bundle. Needs a terminal'
331
+ cand --force 'Overwrite the output if it already exists (without this, the command stops instead)'
332
+ cand -n 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
333
+ cand --dry-run 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
300
334
  cand --json 'Print one JSON object per line instead of human-readable output'
301
335
  cand --progress 'Show progress even when output is piped to a file or another program'
302
336
  cand --no-progress 'Hide progress'
@@ -307,6 +341,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
307
341
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
308
342
  cand --color 'Keep colors even when output is piped'
309
343
  cand --no-color 'Turn colors off'
344
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
345
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
310
346
  cand -h 'Print help (see more with ''--help'')'
311
347
  cand --help 'Print help (see more with ''--help'')'
312
348
  }
@@ -324,8 +360,11 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
324
360
  cand --with 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)'
325
361
  cand --without 'Turn off a bundle patch, matched by name or file name (repeatable)'
326
362
  cand --compress-format 'Format to compress the patched ROM into [default: from the --output extension]'
363
+ cand --format 'Format to compress the patched ROM into [default: from the --output extension]'
327
364
  cand --compress-codec 'Compression method to use, as codec or codec:level (repeatable, comma-separable)'
365
+ cand --codec 'Compression method to use, as codec or codec:level (repeatable, comma-separable)'
328
366
  cand --compress-level 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]'
367
+ cand --level 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]'
329
368
  cand --assume-in 'Take this checksum on trust instead of reading the ROM to compute it, as in crc32=1234abcd (repeatable, comma-separable)'
330
369
  cand --expect-in 'Stop unless the ROM about to be patched has this checksum, as in crc32=1234abcd (repeatable, comma-separable)'
331
370
  cand --patch-header 'Whether a patch applies to the ROM with or without its copier header: auto, keep, or strip [default: auto]'
@@ -343,9 +382,13 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
343
382
  cand --no-extract 'Do not look inside archives; treat the input and every patch as raw files'
344
383
  cand --no-ignore 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store'
345
384
  cand --no-compress 'Write a plain ROM instead of compressing the result'
385
+ cand --raw 'Write a plain ROM instead of compressing the result'
346
386
  cand --repair-checksum 'Recompute the ROM''s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)'
347
387
  cand --ignore-checksum-validation 'Apply the patch even when its own checksums do not match. Can produce a broken ROM'
348
388
  cand --tui 'Ask for each patch''s name, version, and author, then apply and write a bundle. Needs a terminal'
389
+ cand --force 'Overwrite the output if it already exists (without this, the command stops instead)'
390
+ cand -n 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
391
+ cand --dry-run 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
349
392
  cand --json 'Print one JSON object per line instead of human-readable output'
350
393
  cand --progress 'Show progress even when output is piped to a file or another program'
351
394
  cand --no-progress 'Hide progress'
@@ -356,6 +399,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
356
399
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
357
400
  cand --color 'Keep colors even when output is piped'
358
401
  cand --no-color 'Turn colors off'
402
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
403
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
359
404
  cand -h 'Print help (see more with ''--help'')'
360
405
  cand --help 'Print help (see more with ''--help'')'
361
406
  }
@@ -391,6 +436,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
391
436
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
392
437
  cand --color 'Keep colors even when output is piped'
393
438
  cand --no-color 'Turn colors off'
439
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
440
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
394
441
  cand -h 'Print help (see more with ''--help'')'
395
442
  cand --help 'Print help (see more with ''--help'')'
396
443
  }
@@ -420,6 +467,7 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
420
467
  cand --ignore-checksum-validation 'Write the patch even when the format''s own consistency checks fail, and leave its checksums out'
421
468
  cand --checksum-name 'Put the original ROM''s crc32 in the patch file name, as [crc32:HEX]'
422
469
  cand --solid-extended 'SOLID patches only: use the extended header even with none of the extended fields filled in'
470
+ cand --force 'Overwrite the output if it already exists (without this, the command stops instead)'
423
471
  cand --json 'Print one JSON object per line instead of human-readable output'
424
472
  cand --progress 'Show progress even when output is piped to a file or another program'
425
473
  cand --no-progress 'Hide progress'
@@ -430,6 +478,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
430
478
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
431
479
  cand --color 'Keep colors even when output is piped'
432
480
  cand --no-color 'Turn colors off'
481
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
482
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
433
483
  cand -h 'Print help (see more with ''--help'')'
434
484
  cand --help 'Print help (see more with ''--help'')'
435
485
  }
@@ -459,6 +509,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
459
509
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
460
510
  cand --color 'Keep colors even when output is piped'
461
511
  cand --no-color 'Turn colors off'
512
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
513
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
462
514
  cand -h 'Print help'
463
515
  cand --help 'Print help'
464
516
  cand create 'Write a rom-weaver-bundle.json recipe from local ROM and patch files'
@@ -492,13 +544,15 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
492
544
  cand --output 'Where to write the bundle. Name it rom-weaver-bundle.json, or add .gz or .zst to compress it'
493
545
  cand --bundle 'Also pack the bundle and its ROM and patches into one shareable archive, such as release.zip'
494
546
  cand --bundle-rom 'Pack this file into --bundle as the ROM, while --input supplies the checksums and metadata'
495
- cand --checksum 'Which checksums to record for the ROM (repeatable) [default: crc32,md5,sha1]'
547
+ cand --checksum 'Which checksums to record for the ROM (repeatable, comma-separable) [default: crc32,md5,sha1]'
548
+ cand --algo 'Which checksums to record for the ROM (repeatable, comma-separable) [default: crc32,md5,sha1]'
496
549
  cand --from 'Build the bundle from a hand-written rom-weaver-bundle.json instead of flags. Use - to read it from stdin'
497
550
  cand --schema-ref 'Record this $schema URL in the bundle so editors can validate it. Left out unless asked for'
498
551
  cand -j 'How many threads to use at most. auto uses every core; a format may still use fewer'
499
552
  cand --threads 'How many threads to use at most. auto uses every core; a format may still use fewer'
500
553
  cand --log-level 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]'
501
554
  cand --no-bundle-rom 'Keep the ROM out of --bundle and record only its checksums, so whoever applies the bundle brings their own copy'
555
+ cand --force 'Overwrite the output if it already exists (without this, the command stops instead)'
502
556
  cand --json 'Print one JSON object per line instead of human-readable output'
503
557
  cand --progress 'Show progress even when output is piped to a file or another program'
504
558
  cand --no-progress 'Hide progress'
@@ -509,6 +563,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
509
563
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
510
564
  cand --color 'Keep colors even when output is piped'
511
565
  cand --no-color 'Turn colors off'
566
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
567
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
512
568
  cand -h 'Print help (see more with ''--help'')'
513
569
  cand --help 'Print help (see more with ''--help'')'
514
570
  }
@@ -534,6 +590,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
534
590
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
535
591
  cand --color 'Keep colors even when output is piped'
536
592
  cand --no-color 'Turn colors off'
593
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
594
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
537
595
  cand -h 'Print help (see more with ''--help'')'
538
596
  cand --help 'Print help (see more with ''--help'')'
539
597
  }
@@ -549,6 +607,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
549
607
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
550
608
  cand --color 'Keep colors even when output is piped'
551
609
  cand --no-color 'Turn colors off'
610
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
611
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
552
612
  cand -h 'Print help (see more with ''--help'')'
553
613
  cand --help 'Print help (see more with ''--help'')'
554
614
  }
@@ -578,6 +638,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
578
638
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
579
639
  cand --color 'Keep colors even when output is piped'
580
640
  cand --no-color 'Turn colors off'
641
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
642
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
581
643
  cand -h 'Print help'
582
644
  cand --help 'Print help'
583
645
  cand ppf-undo 'Undo a PPF3 patch, using the undo data stored inside it'
@@ -600,6 +662,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
600
662
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
601
663
  cand --color 'Keep colors even when output is piped'
602
664
  cand --no-color 'Turn colors off'
665
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
666
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
603
667
  cand -h 'Print help (see more with ''--help'')'
604
668
  cand --help 'Print help (see more with ''--help'')'
605
669
  }
@@ -629,6 +693,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
629
693
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
630
694
  cand --color 'Keep colors even when output is piped'
631
695
  cand --no-color 'Turn colors off'
696
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
697
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
632
698
  cand -h 'Print help'
633
699
  cand --help 'Print help'
634
700
  }
@@ -646,8 +712,11 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
646
712
  cand --with 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)'
647
713
  cand --without 'Turn off a bundle patch, matched by name or file name (repeatable)'
648
714
  cand --compress-format 'Format to compress the patched ROM into [default: from the --output extension]'
715
+ cand --format 'Format to compress the patched ROM into [default: from the --output extension]'
649
716
  cand --compress-codec 'Compression method to use, as codec or codec:level (repeatable, comma-separable)'
717
+ cand --codec 'Compression method to use, as codec or codec:level (repeatable, comma-separable)'
650
718
  cand --compress-level 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]'
719
+ cand --level 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]'
651
720
  cand --assume-in 'Take this checksum on trust instead of reading the ROM to compute it, as in crc32=1234abcd (repeatable, comma-separable)'
652
721
  cand --expect-in 'Stop unless the ROM about to be patched has this checksum, as in crc32=1234abcd (repeatable, comma-separable)'
653
722
  cand --patch-header 'Whether a patch applies to the ROM with or without its copier header: auto, keep, or strip [default: auto]'
@@ -665,9 +734,13 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
665
734
  cand --no-extract 'Do not look inside archives; treat the input and every patch as raw files'
666
735
  cand --no-ignore 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store'
667
736
  cand --no-compress 'Write a plain ROM instead of compressing the result'
737
+ cand --raw 'Write a plain ROM instead of compressing the result'
668
738
  cand --repair-checksum 'Recompute the ROM''s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)'
669
739
  cand --ignore-checksum-validation 'Apply the patch even when its own checksums do not match. Can produce a broken ROM'
670
740
  cand --tui 'Ask for each patch''s name, version, and author, then apply and write a bundle. Needs a terminal'
741
+ cand --force 'Overwrite the output if it already exists (without this, the command stops instead)'
742
+ cand -n 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
743
+ cand --dry-run 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing'
671
744
  cand --json 'Print one JSON object per line instead of human-readable output'
672
745
  cand --progress 'Show progress even when output is piped to a file or another program'
673
746
  cand --no-progress 'Hide progress'
@@ -678,6 +751,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
678
751
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
679
752
  cand --color 'Keep colors even when output is piped'
680
753
  cand --no-color 'Turn colors off'
754
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
755
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
681
756
  cand -h 'Print help (see more with ''--help'')'
682
757
  cand --help 'Print help (see more with ''--help'')'
683
758
  }
@@ -693,6 +768,25 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
693
768
  cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
694
769
  cand --color 'Keep colors even when output is piped'
695
770
  cand --no-color 'Turn colors off'
771
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
772
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
773
+ cand -h 'Print help (see more with ''--help'')'
774
+ cand --help 'Print help (see more with ''--help'')'
775
+ }
776
+ &'rom-weaver;formats'= {
777
+ cand --log-level 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]'
778
+ cand --json 'Print one JSON object per line instead of human-readable output'
779
+ cand --progress 'Show progress even when output is piped to a file or another program'
780
+ cand --no-progress 'Hide progress'
781
+ cand -v 'Log more: -v for info, -vv for debug, -vvv for trace'
782
+ cand --verbose 'Log more: -v for info, -vv for debug, -vvv for trace'
783
+ cand -q 'Log errors only'
784
+ cand --quiet 'Log errors only'
785
+ cand --dep-trace 'Also log trace output from bundled libraries (for bug reports)'
786
+ cand --color 'Keep colors even when output is piped'
787
+ cand --no-color 'Turn colors off'
788
+ cand -y 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
789
+ cand --yes 'Answer yes to every confirmation instead of asking. Does not choose between candidates'
696
790
  cand -h 'Print help (see more with ''--help'')'
697
791
  cand --help 'Print help (see more with ''--help'')'
698
792
  }
@@ -709,6 +803,7 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
709
803
  cand plan-extract-batch 'Plan a memory-/thread-aware concurrent extraction schedule from per-job source sizes (no I/O)'
710
804
  cand weave 'Apply one or more patches to a ROM, in order (same as `patch apply`)'
711
805
  cand completions 'Print a tab-completion script for your shell'
806
+ cand formats 'List the formats, codecs, and checksum algorithms this build supports'
712
807
  cand help 'Print this message or the help of the given subcommand(s)'
713
808
  }
714
809
  &'rom-weaver;help;probe'= {
@@ -756,6 +851,8 @@ set edit:completion:arg-completer[rom-weaver] = {|@words|
756
851
  }
757
852
  &'rom-weaver;help;completions'= {
758
853
  }
854
+ &'rom-weaver;help;formats'= {
855
+ }
759
856
  &'rom-weaver;help;help'= {
760
857
  }
761
858
  ]