@rom-weaver/cli 0.13.0 → 0.14.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +1 -1
- package/docs/completions/_rom-weaver +752 -8
- package/docs/completions/rom-weaver.bash +926 -9
- package/docs/completions/rom-weaver.elv +341 -8
- package/docs/completions/rom-weaver.fish +87 -22
- package/docs/completions/rom-weaver.ps1 +386 -8
- package/docs/man/rom-weaver-identify-database-import-redump.1 +68 -0
- package/docs/man/rom-weaver-identify-database-install-all.1 +65 -0
- package/docs/man/rom-weaver-identify-database-install-group.1 +71 -0
- package/docs/man/rom-weaver-identify-database-install.1 +74 -0
- package/docs/man/rom-weaver-identify-database-list.1 +65 -0
- package/docs/man/rom-weaver-identify-database-path.1 +65 -0
- package/docs/man/rom-weaver-identify-database-remove.1 +68 -0
- package/docs/man/rom-weaver-identify-database-status.1 +65 -0
- package/docs/man/rom-weaver-identify-database-update.1 +71 -0
- package/docs/man/rom-weaver-identify-database.1 +90 -0
- package/docs/man/rom-weaver-identify.1 +123 -0
- package/docs/man/rom-weaver-patch-apply.1 +2 -2
- package/docs/man/rom-weaver-patch-create.1 +2 -2
- package/docs/man/rom-weaver-weave.1 +2 -2
- package/docs/man/rom-weaver.1 +5 -2
- package/package.json +14 -13
|
@@ -164,12 +164,411 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
164
164
|
'--help[Print help (see more with '\''--help'\'')]' \
|
|
165
165
|
&& ret=0
|
|
166
166
|
;;
|
|
167
|
+
(identify)
|
|
168
|
+
_arguments "${_arguments_options[@]}" : \
|
|
169
|
+
'-i+[ROM to identify. Use - to read from stdin]:INPUT:_files' \
|
|
170
|
+
'--input=[ROM to identify. Use - to read from stdin]:INPUT:_files' \
|
|
171
|
+
'*--hash=[Identify by a checksum instead of a file; accepts crc32/md5/sha1 hex (repeatable, one per algorithm)]:HEX:_default' \
|
|
172
|
+
'--size=[Exact byte size to pair with --hash, narrowing the lookup to records of that size]:BYTES:_default' \
|
|
173
|
+
'*-d+[RWFP1 identify pack, raw or Brotli, to search instead of the built-in data (repeatable)]:PACK:_files' \
|
|
174
|
+
'*--database=[RWFP1 identify pack, raw or Brotli, to search instead of the built-in data (repeatable)]:PACK:_files' \
|
|
175
|
+
'--system=[Search only this system'\''s pack. Takes a canonical platform name or a common alias (e.g. \`snes\`, \`psx\`)]:SYSTEM:_default' \
|
|
176
|
+
'--database-dir=[Directory of installed identify packs (*.pack plus optional catalog.json). Defaults to the per-user data directory]:DIR:_files' \
|
|
177
|
+
'*-s+[Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)]:SELECT:_default' \
|
|
178
|
+
'*--select=[Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)]:SELECT:_default' \
|
|
179
|
+
'*--filter=[Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)]:FILTER:(rom patch)' \
|
|
180
|
+
'-j+[How many threads to use at most. auto uses every core; a format may still use fewer]:auto|N:_default' \
|
|
181
|
+
'--threads=[How many threads to use at most. auto uses every core; a format may still use fewer]:auto|N:_default' \
|
|
182
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
183
|
+
'--offline[Assert that identify performs no network access (it never does natively; this flag records the guarantee)]' \
|
|
184
|
+
'--exhaustive-database-search[Search every installed pack instead of only the packs the detected platform routes to]' \
|
|
185
|
+
'--no-extract[Do not look inside archives; identify the file itself]' \
|
|
186
|
+
'--no-ignore[Also consider files normally skipped inside archives\: readmes, images, checksum sidecars, and OS clutter such as .DS_Store]' \
|
|
187
|
+
'--no-trim-fix[Skip extra checksums for trimmed and untrimmed ROM forms]' \
|
|
188
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
189
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
190
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
191
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
192
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
193
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
194
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
195
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
196
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
197
|
+
'(--color)--no-color[Turn colors off]' \
|
|
198
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
199
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
200
|
+
'-h[Print help (see more with '\''--help'\'')]' \
|
|
201
|
+
'--help[Print help (see more with '\''--help'\'')]' \
|
|
202
|
+
":: :_rom-weaver__subcmd__identify_commands" \
|
|
203
|
+
"*::: :->identify" \
|
|
204
|
+
&& ret=0
|
|
205
|
+
|
|
206
|
+
case $state in
|
|
207
|
+
(identify)
|
|
208
|
+
words=($line[1] "${words[@]}")
|
|
209
|
+
(( CURRENT += 1 ))
|
|
210
|
+
curcontext="${curcontext%:*:*}:rom-weaver-identify-command-$line[1]:"
|
|
211
|
+
case $line[1] in
|
|
212
|
+
(database)
|
|
213
|
+
_arguments "${_arguments_options[@]}" : \
|
|
214
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
215
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
216
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
217
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
218
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
219
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
220
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
221
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
222
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
223
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
224
|
+
'(--color)--no-color[Turn colors off]' \
|
|
225
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
226
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
227
|
+
'-h[Print help]' \
|
|
228
|
+
'--help[Print help]' \
|
|
229
|
+
":: :_rom-weaver__subcmd__identify__subcmd__database_commands" \
|
|
230
|
+
"*::: :->database" \
|
|
231
|
+
&& ret=0
|
|
232
|
+
|
|
233
|
+
case $state in
|
|
234
|
+
(database)
|
|
235
|
+
words=($line[1] "${words[@]}")
|
|
236
|
+
(( CURRENT += 1 ))
|
|
237
|
+
curcontext="${curcontext%:*:*}:rom-weaver-identify-database-command-$line[1]:"
|
|
238
|
+
case $line[1] in
|
|
239
|
+
(list)
|
|
240
|
+
_arguments "${_arguments_options[@]}" : \
|
|
241
|
+
'--database-dir=[Identify database directory. Defaults to the per-user data directory]:DIR:_files' \
|
|
242
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
243
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
244
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
245
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
246
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
247
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
248
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
249
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
250
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
251
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
252
|
+
'(--color)--no-color[Turn colors off]' \
|
|
253
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
254
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
255
|
+
'-h[Print help]' \
|
|
256
|
+
'--help[Print help]' \
|
|
257
|
+
&& ret=0
|
|
258
|
+
;;
|
|
259
|
+
(status)
|
|
260
|
+
_arguments "${_arguments_options[@]}" : \
|
|
261
|
+
'--database-dir=[Identify database directory. Defaults to the per-user data directory]:DIR:_files' \
|
|
262
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
263
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
264
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
265
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
266
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
267
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
268
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
269
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
270
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
271
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
272
|
+
'(--color)--no-color[Turn colors off]' \
|
|
273
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
274
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
275
|
+
'-h[Print help]' \
|
|
276
|
+
'--help[Print help]' \
|
|
277
|
+
&& ret=0
|
|
278
|
+
;;
|
|
279
|
+
(path)
|
|
280
|
+
_arguments "${_arguments_options[@]}" : \
|
|
281
|
+
'--database-dir=[Identify database directory. Defaults to the per-user data directory]:DIR:_files' \
|
|
282
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
283
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
284
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
285
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
286
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
287
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
288
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
289
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
290
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
291
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
292
|
+
'(--color)--no-color[Turn colors off]' \
|
|
293
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
294
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
295
|
+
'-h[Print help]' \
|
|
296
|
+
'--help[Print help]' \
|
|
297
|
+
&& ret=0
|
|
298
|
+
;;
|
|
299
|
+
(remove)
|
|
300
|
+
_arguments "${_arguments_options[@]}" : \
|
|
301
|
+
'--database-dir=[Identify database directory. Defaults to the per-user data directory]:DIR:_files' \
|
|
302
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
303
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
304
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
305
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
306
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
307
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
308
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
309
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
310
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
311
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
312
|
+
'(--color)--no-color[Turn colors off]' \
|
|
313
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
314
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
315
|
+
'-h[Print help]' \
|
|
316
|
+
'--help[Print help]' \
|
|
317
|
+
':system -- Canonical platform name or alias:_default' \
|
|
318
|
+
&& ret=0
|
|
319
|
+
;;
|
|
320
|
+
(import-redump)
|
|
321
|
+
_arguments "${_arguments_options[@]}" : \
|
|
322
|
+
'--database-dir=[Identify database directory. Defaults to the per-user data directory]:DIR:_files' \
|
|
323
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
324
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
325
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
326
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
327
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
328
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
329
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
330
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
331
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
332
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
333
|
+
'(--color)--no-color[Turn colors off]' \
|
|
334
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
335
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
336
|
+
'-h[Print help]' \
|
|
337
|
+
'--help[Print help]' \
|
|
338
|
+
':input -- Local Redump DAT ZIP file to import:_files' \
|
|
339
|
+
&& ret=0
|
|
340
|
+
;;
|
|
341
|
+
(install-all)
|
|
342
|
+
_arguments "${_arguments_options[@]}" : \
|
|
343
|
+
'--database-dir=[Identify database directory. Defaults to the per-user data directory]:DIR:_files' \
|
|
344
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
345
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
346
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
347
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
348
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
349
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
350
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
351
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
352
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
353
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
354
|
+
'(--color)--no-color[Turn colors off]' \
|
|
355
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
356
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
357
|
+
'-h[Print help]' \
|
|
358
|
+
'--help[Print help]' \
|
|
359
|
+
&& ret=0
|
|
360
|
+
;;
|
|
361
|
+
(install-group)
|
|
362
|
+
_arguments "${_arguments_options[@]}" : \
|
|
363
|
+
'--from=[Local group archive; omit to download the archive for this version]:ARCHIVE:_files' \
|
|
364
|
+
'--database-dir=[Identify database directory. Defaults to the per-user data directory]:DIR:_files' \
|
|
365
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
366
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
367
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
368
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
369
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
370
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
371
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
372
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
373
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
374
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
375
|
+
'(--color)--no-color[Turn colors off]' \
|
|
376
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
377
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
378
|
+
'-h[Print help]' \
|
|
379
|
+
'--help[Print help]' \
|
|
380
|
+
':group -- Optional identify pack group to install:_default' \
|
|
381
|
+
&& ret=0
|
|
382
|
+
;;
|
|
383
|
+
(install)
|
|
384
|
+
_arguments "${_arguments_options[@]}" : \
|
|
385
|
+
'--from=[Local Redump DAT ZIP file; omit to download from Redump]:ZIP:_files' \
|
|
386
|
+
'--database-dir=[Identify database directory. Defaults to the per-user data directory]:DIR:_files' \
|
|
387
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
388
|
+
'()--all[Install every platform in the dump]' \
|
|
389
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
390
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
391
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
392
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
393
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
394
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
395
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
396
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
397
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
398
|
+
'(--color)--no-color[Turn colors off]' \
|
|
399
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
400
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
401
|
+
'-h[Print help]' \
|
|
402
|
+
'--help[Print help]' \
|
|
403
|
+
'::system -- Canonical platform name or alias:_default' \
|
|
404
|
+
&& ret=0
|
|
405
|
+
;;
|
|
406
|
+
(update)
|
|
407
|
+
_arguments "${_arguments_options[@]}" : \
|
|
408
|
+
'--from=[Local Redump DAT ZIP file; omit to download from Redump]:ZIP:_files' \
|
|
409
|
+
'--database-dir=[Identify database directory. Defaults to the per-user data directory]:DIR:_files' \
|
|
410
|
+
'(-v --verbose -q --quiet)--log-level=[How much rom-weaver logs to stderr. Separate from the normal output \[default\: off\]]:LOG_LEVEL:(off error warn info debug trace)' \
|
|
411
|
+
'--json[Print one JSON object per line instead of human-readable output]' \
|
|
412
|
+
'(--no-progress)--progress[Show progress even when output is piped to a file or another program]' \
|
|
413
|
+
'(--progress)--no-progress[Hide progress]' \
|
|
414
|
+
'(--log-level -q --quiet)*-v[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
415
|
+
'(--log-level -q --quiet)*--verbose[Log more\: -v for info, -vv for debug, -vvv for trace]' \
|
|
416
|
+
'(--log-level -v --verbose)-q[Log errors only]' \
|
|
417
|
+
'(--log-level -v --verbose)--quiet[Log errors only]' \
|
|
418
|
+
'--dep-trace[Also log trace output from bundled libraries (for bug reports)]' \
|
|
419
|
+
'(--no-color)--color[Keep colors even when output is piped]' \
|
|
420
|
+
'(--color)--no-color[Turn colors off]' \
|
|
421
|
+
'-y[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
422
|
+
'--yes[Answer yes to every confirmation instead of asking. Does not choose between candidates]' \
|
|
423
|
+
'-h[Print help]' \
|
|
424
|
+
'--help[Print help]' \
|
|
425
|
+
'::system -- Canonical platform name or alias; omit to update every installed pack:_default' \
|
|
426
|
+
&& ret=0
|
|
427
|
+
;;
|
|
428
|
+
(help)
|
|
429
|
+
_arguments "${_arguments_options[@]}" : \
|
|
430
|
+
":: :_rom-weaver__subcmd__identify__subcmd__database__subcmd__help_commands" \
|
|
431
|
+
"*::: :->help" \
|
|
432
|
+
&& ret=0
|
|
433
|
+
|
|
434
|
+
case $state in
|
|
435
|
+
(help)
|
|
436
|
+
words=($line[1] "${words[@]}")
|
|
437
|
+
(( CURRENT += 1 ))
|
|
438
|
+
curcontext="${curcontext%:*:*}:rom-weaver-identify-database-help-command-$line[1]:"
|
|
439
|
+
case $line[1] in
|
|
440
|
+
(list)
|
|
441
|
+
_arguments "${_arguments_options[@]}" : \
|
|
442
|
+
&& ret=0
|
|
443
|
+
;;
|
|
444
|
+
(status)
|
|
445
|
+
_arguments "${_arguments_options[@]}" : \
|
|
446
|
+
&& ret=0
|
|
447
|
+
;;
|
|
448
|
+
(path)
|
|
449
|
+
_arguments "${_arguments_options[@]}" : \
|
|
450
|
+
&& ret=0
|
|
451
|
+
;;
|
|
452
|
+
(remove)
|
|
453
|
+
_arguments "${_arguments_options[@]}" : \
|
|
454
|
+
&& ret=0
|
|
455
|
+
;;
|
|
456
|
+
(import-redump)
|
|
457
|
+
_arguments "${_arguments_options[@]}" : \
|
|
458
|
+
&& ret=0
|
|
459
|
+
;;
|
|
460
|
+
(install-all)
|
|
461
|
+
_arguments "${_arguments_options[@]}" : \
|
|
462
|
+
&& ret=0
|
|
463
|
+
;;
|
|
464
|
+
(install-group)
|
|
465
|
+
_arguments "${_arguments_options[@]}" : \
|
|
466
|
+
&& ret=0
|
|
467
|
+
;;
|
|
468
|
+
(install)
|
|
469
|
+
_arguments "${_arguments_options[@]}" : \
|
|
470
|
+
&& ret=0
|
|
471
|
+
;;
|
|
472
|
+
(update)
|
|
473
|
+
_arguments "${_arguments_options[@]}" : \
|
|
474
|
+
&& ret=0
|
|
475
|
+
;;
|
|
476
|
+
(help)
|
|
477
|
+
_arguments "${_arguments_options[@]}" : \
|
|
478
|
+
&& ret=0
|
|
479
|
+
;;
|
|
480
|
+
esac
|
|
481
|
+
;;
|
|
482
|
+
esac
|
|
483
|
+
;;
|
|
484
|
+
esac
|
|
485
|
+
;;
|
|
486
|
+
esac
|
|
487
|
+
;;
|
|
488
|
+
(help)
|
|
489
|
+
_arguments "${_arguments_options[@]}" : \
|
|
490
|
+
":: :_rom-weaver__subcmd__identify__subcmd__help_commands" \
|
|
491
|
+
"*::: :->help" \
|
|
492
|
+
&& ret=0
|
|
493
|
+
|
|
494
|
+
case $state in
|
|
495
|
+
(help)
|
|
496
|
+
words=($line[1] "${words[@]}")
|
|
497
|
+
(( CURRENT += 1 ))
|
|
498
|
+
curcontext="${curcontext%:*:*}:rom-weaver-identify-help-command-$line[1]:"
|
|
499
|
+
case $line[1] in
|
|
500
|
+
(database)
|
|
501
|
+
_arguments "${_arguments_options[@]}" : \
|
|
502
|
+
":: :_rom-weaver__subcmd__identify__subcmd__help__subcmd__database_commands" \
|
|
503
|
+
"*::: :->database" \
|
|
504
|
+
&& ret=0
|
|
505
|
+
|
|
506
|
+
case $state in
|
|
507
|
+
(database)
|
|
508
|
+
words=($line[1] "${words[@]}")
|
|
509
|
+
(( CURRENT += 1 ))
|
|
510
|
+
curcontext="${curcontext%:*:*}:rom-weaver-identify-help-database-command-$line[1]:"
|
|
511
|
+
case $line[1] in
|
|
512
|
+
(list)
|
|
513
|
+
_arguments "${_arguments_options[@]}" : \
|
|
514
|
+
&& ret=0
|
|
515
|
+
;;
|
|
516
|
+
(status)
|
|
517
|
+
_arguments "${_arguments_options[@]}" : \
|
|
518
|
+
&& ret=0
|
|
519
|
+
;;
|
|
520
|
+
(path)
|
|
521
|
+
_arguments "${_arguments_options[@]}" : \
|
|
522
|
+
&& ret=0
|
|
523
|
+
;;
|
|
524
|
+
(remove)
|
|
525
|
+
_arguments "${_arguments_options[@]}" : \
|
|
526
|
+
&& ret=0
|
|
527
|
+
;;
|
|
528
|
+
(import-redump)
|
|
529
|
+
_arguments "${_arguments_options[@]}" : \
|
|
530
|
+
&& ret=0
|
|
531
|
+
;;
|
|
532
|
+
(install-all)
|
|
533
|
+
_arguments "${_arguments_options[@]}" : \
|
|
534
|
+
&& ret=0
|
|
535
|
+
;;
|
|
536
|
+
(install-group)
|
|
537
|
+
_arguments "${_arguments_options[@]}" : \
|
|
538
|
+
&& ret=0
|
|
539
|
+
;;
|
|
540
|
+
(install)
|
|
541
|
+
_arguments "${_arguments_options[@]}" : \
|
|
542
|
+
&& ret=0
|
|
543
|
+
;;
|
|
544
|
+
(update)
|
|
545
|
+
_arguments "${_arguments_options[@]}" : \
|
|
546
|
+
&& ret=0
|
|
547
|
+
;;
|
|
548
|
+
esac
|
|
549
|
+
;;
|
|
550
|
+
esac
|
|
551
|
+
;;
|
|
552
|
+
(help)
|
|
553
|
+
_arguments "${_arguments_options[@]}" : \
|
|
554
|
+
&& ret=0
|
|
555
|
+
;;
|
|
556
|
+
esac
|
|
557
|
+
;;
|
|
558
|
+
esac
|
|
559
|
+
;;
|
|
560
|
+
esac
|
|
561
|
+
;;
|
|
562
|
+
esac
|
|
563
|
+
;;
|
|
167
564
|
(ingest)
|
|
168
565
|
_arguments "${_arguments_options[@]}" : \
|
|
169
566
|
'-i+[File to sort into ROMs and patches]:INPUT:_files' \
|
|
170
567
|
'--input=[File to sort into ROMs and patches]:INPUT:_files' \
|
|
171
568
|
'-o+[Directory to write anything unpacked along the way into]:DIR:_files' \
|
|
172
569
|
'--output=[Directory to write anything unpacked along the way into]:DIR:_files' \
|
|
570
|
+
'*-d+[RWFP1 identify pack, raw or Brotli, for ROM titles (repeatable; native defaults to built-in data)]:PACK:_files' \
|
|
571
|
+
'*--database=[RWFP1 identify pack, raw or Brotli, for ROM titles (repeatable; native defaults to built-in data)]:PACK:_files' \
|
|
173
572
|
'*-s+[Pick which ROM to use when the archive holds more than one, by exact name, prefix, or glob (repeatable)]:SELECT:_default' \
|
|
174
573
|
'*--select=[Pick which ROM to use when the archive holds more than one, by exact name, prefix, or glob (repeatable)]:SELECT:_default' \
|
|
175
574
|
'*--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]:SIDECAR_NAMES:_default' \
|
|
@@ -325,8 +724,8 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
325
724
|
'*--n64-byte-order=[Byte order to put an N64 ROM in for each patch\: auto, keep, big-endian, little-endian, or byte-swapped \[default\: auto\]]:N64_BYTE_ORDER:(auto keep big-endian little-endian byte-swapped)' \
|
|
326
725
|
'*--expect-out=[Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)]:ALGO=HEX:_default' \
|
|
327
726
|
'*--code=[Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code]:CODES:_default' \
|
|
328
|
-
'--code-system=[Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say]:CODE_SYSTEM:_default' \
|
|
329
|
-
'--code-kind=[Which cheat scheme the --code values use\: auto, game-genie,
|
|
727
|
+
'--code-system=[Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say]:CODE_SYSTEM:_default' \
|
|
728
|
+
'--code-kind=[Which cheat scheme the --code values use\: auto, game-genie, gameshark/par, or xploder]:CODE_KIND:_default' \
|
|
330
729
|
'--emit-bundle=[Also write a rom-weaver-bundle.json recording this run, so someone else can repeat it]:PATH:_files' \
|
|
331
730
|
'-j+[How many threads to use at most. auto uses every core; a format may still use fewer]:auto|N:_default' \
|
|
332
731
|
'--threads=[How many threads to use at most. auto uses every core; a format may still use fewer]:auto|N:_default' \
|
|
@@ -385,8 +784,8 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
385
784
|
'*--n64-byte-order=[Byte order to put an N64 ROM in for each patch\: auto, keep, big-endian, little-endian, or byte-swapped \[default\: auto\]]:N64_BYTE_ORDER:(auto keep big-endian little-endian byte-swapped)' \
|
|
386
785
|
'*--expect-out=[Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)]:ALGO=HEX:_default' \
|
|
387
786
|
'*--code=[Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code]:CODES:_default' \
|
|
388
|
-
'--code-system=[Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say]:CODE_SYSTEM:_default' \
|
|
389
|
-
'--code-kind=[Which cheat scheme the --code values use\: auto, game-genie,
|
|
787
|
+
'--code-system=[Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say]:CODE_SYSTEM:_default' \
|
|
788
|
+
'--code-kind=[Which cheat scheme the --code values use\: auto, game-genie, gameshark/par, or xploder]:CODE_KIND:_default' \
|
|
390
789
|
'--emit-bundle=[Also write a rom-weaver-bundle.json recording this run, so someone else can repeat it]:PATH:_files' \
|
|
391
790
|
'-j+[How many threads to use at most. auto uses every core; a format may still use fewer]:auto|N:_default' \
|
|
392
791
|
'--threads=[How many threads to use at most. auto uses every core; a format may still use fewer]:auto|N:_default' \
|
|
@@ -466,8 +865,8 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
466
865
|
'--output=[Where to write the patch. Required unless --plan is used]:PATH:_files' \
|
|
467
866
|
'*--assume-in=[Take the original ROM'\''s checksum on trust rather than reading the file, as in crc32=1234abcd (repeatable, comma-separable)]:ALGO=HEX:_default' \
|
|
468
867
|
'*--code=[Build the patch from a Game Genie or GameShark/Pro Action Replay code instead of a second ROM. Repeat for each code; cannot be used with --modified]:CODES:_default' \
|
|
469
|
-
'--code-system=[Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say]:CODE_SYSTEM:_default' \
|
|
470
|
-
'--code-kind=[Which cheat scheme the --code values use\: auto, game-genie,
|
|
868
|
+
'--code-system=[Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say]:CODE_SYSTEM:_default' \
|
|
869
|
+
'--code-kind=[Which cheat scheme the --code values use\: auto, game-genie, gameshark/par, or xploder]:CODE_KIND:_default' \
|
|
471
870
|
'-j+[How many threads to use at most. auto uses every core; a format may still use fewer]:auto|N:_default' \
|
|
472
871
|
'--threads=[How many threads to use at most. auto uses every core; a format may still use fewer]:auto|N:_default' \
|
|
473
872
|
'--solid-system=[SOLID patches only\: console the ROM is for]:SOLID_SYSTEM:_default' \
|
|
@@ -831,8 +1230,8 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
831
1230
|
'*--n64-byte-order=[Byte order to put an N64 ROM in for each patch\: auto, keep, big-endian, little-endian, or byte-swapped \[default\: auto\]]:N64_BYTE_ORDER:(auto keep big-endian little-endian byte-swapped)' \
|
|
832
1231
|
'*--expect-out=[Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)]:ALGO=HEX:_default' \
|
|
833
1232
|
'*--code=[Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code]:CODES:_default' \
|
|
834
|
-
'--code-system=[Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say]:CODE_SYSTEM:_default' \
|
|
835
|
-
'--code-kind=[Which cheat scheme the --code values use\: auto, game-genie,
|
|
1233
|
+
'--code-system=[Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say]:CODE_SYSTEM:_default' \
|
|
1234
|
+
'--code-kind=[Which cheat scheme the --code values use\: auto, game-genie, gameshark/par, or xploder]:CODE_KIND:_default' \
|
|
836
1235
|
'--emit-bundle=[Also write a rom-weaver-bundle.json recording this run, so someone else can repeat it]:PATH:_files' \
|
|
837
1236
|
'-j+[How many threads to use at most. auto uses every core; a format may still use fewer]:auto|N:_default' \
|
|
838
1237
|
'--threads=[How many threads to use at most. auto uses every core; a format may still use fewer]:auto|N:_default' \
|
|
@@ -926,6 +1325,74 @@ _arguments "${_arguments_options[@]}" : \
|
|
|
926
1325
|
_arguments "${_arguments_options[@]}" : \
|
|
927
1326
|
&& ret=0
|
|
928
1327
|
;;
|
|
1328
|
+
(identify)
|
|
1329
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1330
|
+
":: :_rom-weaver__subcmd__help__subcmd__identify_commands" \
|
|
1331
|
+
"*::: :->identify" \
|
|
1332
|
+
&& ret=0
|
|
1333
|
+
|
|
1334
|
+
case $state in
|
|
1335
|
+
(identify)
|
|
1336
|
+
words=($line[1] "${words[@]}")
|
|
1337
|
+
(( CURRENT += 1 ))
|
|
1338
|
+
curcontext="${curcontext%:*:*}:rom-weaver-help-identify-command-$line[1]:"
|
|
1339
|
+
case $line[1] in
|
|
1340
|
+
(database)
|
|
1341
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1342
|
+
":: :_rom-weaver__subcmd__help__subcmd__identify__subcmd__database_commands" \
|
|
1343
|
+
"*::: :->database" \
|
|
1344
|
+
&& ret=0
|
|
1345
|
+
|
|
1346
|
+
case $state in
|
|
1347
|
+
(database)
|
|
1348
|
+
words=($line[1] "${words[@]}")
|
|
1349
|
+
(( CURRENT += 1 ))
|
|
1350
|
+
curcontext="${curcontext%:*:*}:rom-weaver-help-identify-database-command-$line[1]:"
|
|
1351
|
+
case $line[1] in
|
|
1352
|
+
(list)
|
|
1353
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1354
|
+
&& ret=0
|
|
1355
|
+
;;
|
|
1356
|
+
(status)
|
|
1357
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1358
|
+
&& ret=0
|
|
1359
|
+
;;
|
|
1360
|
+
(path)
|
|
1361
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1362
|
+
&& ret=0
|
|
1363
|
+
;;
|
|
1364
|
+
(remove)
|
|
1365
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1366
|
+
&& ret=0
|
|
1367
|
+
;;
|
|
1368
|
+
(import-redump)
|
|
1369
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1370
|
+
&& ret=0
|
|
1371
|
+
;;
|
|
1372
|
+
(install-all)
|
|
1373
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1374
|
+
&& ret=0
|
|
1375
|
+
;;
|
|
1376
|
+
(install-group)
|
|
1377
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1378
|
+
&& ret=0
|
|
1379
|
+
;;
|
|
1380
|
+
(install)
|
|
1381
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1382
|
+
&& ret=0
|
|
1383
|
+
;;
|
|
1384
|
+
(update)
|
|
1385
|
+
_arguments "${_arguments_options[@]}" : \
|
|
1386
|
+
&& ret=0
|
|
1387
|
+
;;
|
|
1388
|
+
esac
|
|
1389
|
+
;;
|
|
1390
|
+
esac
|
|
1391
|
+
;;
|
|
1392
|
+
esac
|
|
1393
|
+
;;
|
|
1394
|
+
esac
|
|
1395
|
+
;;
|
|
929
1396
|
(ingest)
|
|
930
1397
|
_arguments "${_arguments_options[@]}" : \
|
|
931
1398
|
&& ret=0
|
|
@@ -1050,6 +1517,7 @@ _rom-weaver_commands() {
|
|
|
1050
1517
|
'inspect:Identify a file\: its format, its platform, and any header it carries' \
|
|
1051
1518
|
'extract:Unpack an archive or single-payload compressed format' \
|
|
1052
1519
|
'checksum:Compute checksums for a file, or for a ROM inside an archive' \
|
|
1520
|
+
'identify:Identify a ROM title from its checksums' \
|
|
1053
1521
|
'ingest:Sort a file into ROMs and patches, unpacking and hashing along the way' \
|
|
1054
1522
|
'compress:Pack files into an archive, disc image, or ROM-specific compressed format' \
|
|
1055
1523
|
'trim:Cut the padding off a ROM, or put it back' \
|
|
@@ -1150,6 +1618,7 @@ _rom-weaver__subcmd__help_commands() {
|
|
|
1150
1618
|
'probe:Identify a file\: its format, its platform, and any header it carries' \
|
|
1151
1619
|
'extract:Unpack an archive or single-payload compressed format' \
|
|
1152
1620
|
'checksum:Compute checksums for a file, or for a ROM inside an archive' \
|
|
1621
|
+
'identify:Identify a ROM title from its checksums' \
|
|
1153
1622
|
'ingest:Sort a file into ROMs and patches, unpacking and hashing along the way' \
|
|
1154
1623
|
'compress:Pack files into an archive, disc image, or ROM-specific compressed format' \
|
|
1155
1624
|
'trim:Cut the padding off a ROM, or put it back' \
|
|
@@ -1218,6 +1687,73 @@ _rom-weaver__subcmd__help__subcmd__help_commands() {
|
|
|
1218
1687
|
local commands; commands=()
|
|
1219
1688
|
_describe -t commands 'rom-weaver help help commands' commands "$@"
|
|
1220
1689
|
}
|
|
1690
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify_commands] )) ||
|
|
1691
|
+
_rom-weaver__subcmd__help__subcmd__identify_commands() {
|
|
1692
|
+
local commands; commands=(
|
|
1693
|
+
'database:Manage the installed identify database packs' \
|
|
1694
|
+
)
|
|
1695
|
+
_describe -t commands 'rom-weaver help identify commands' commands "$@"
|
|
1696
|
+
}
|
|
1697
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify__subcmd__database_commands] )) ||
|
|
1698
|
+
_rom-weaver__subcmd__help__subcmd__identify__subcmd__database_commands() {
|
|
1699
|
+
local commands; commands=(
|
|
1700
|
+
'list:List every catalog platform, its source, and whether its pack is installed' \
|
|
1701
|
+
'status:List the installed pack files\: slug, format, size, and sha256' \
|
|
1702
|
+
'path:Print the identify database directory' \
|
|
1703
|
+
'remove:Remove one system'\''s installed pack' \
|
|
1704
|
+
'import-redump:Build identify packs from local Redump DAT ZIP files' \
|
|
1705
|
+
'install-all:Install the full identify database for this rom-weaver version' \
|
|
1706
|
+
'install-group:Download and install one optional identify pack group' \
|
|
1707
|
+
'install:Download and install one Redump system pack (or --all)' \
|
|
1708
|
+
'update:Download and update installed Redump system packs' \
|
|
1709
|
+
)
|
|
1710
|
+
_describe -t commands 'rom-weaver help identify database commands' commands "$@"
|
|
1711
|
+
}
|
|
1712
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__import-redump_commands] )) ||
|
|
1713
|
+
_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__import-redump_commands() {
|
|
1714
|
+
local commands; commands=()
|
|
1715
|
+
_describe -t commands 'rom-weaver help identify database import-redump commands' commands "$@"
|
|
1716
|
+
}
|
|
1717
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install_commands] )) ||
|
|
1718
|
+
_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install_commands() {
|
|
1719
|
+
local commands; commands=()
|
|
1720
|
+
_describe -t commands 'rom-weaver help identify database install commands' commands "$@"
|
|
1721
|
+
}
|
|
1722
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install-all_commands] )) ||
|
|
1723
|
+
_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install-all_commands() {
|
|
1724
|
+
local commands; commands=()
|
|
1725
|
+
_describe -t commands 'rom-weaver help identify database install-all commands' commands "$@"
|
|
1726
|
+
}
|
|
1727
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install-group_commands] )) ||
|
|
1728
|
+
_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__install-group_commands() {
|
|
1729
|
+
local commands; commands=()
|
|
1730
|
+
_describe -t commands 'rom-weaver help identify database install-group commands' commands "$@"
|
|
1731
|
+
}
|
|
1732
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__list_commands] )) ||
|
|
1733
|
+
_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__list_commands() {
|
|
1734
|
+
local commands; commands=()
|
|
1735
|
+
_describe -t commands 'rom-weaver help identify database list commands' commands "$@"
|
|
1736
|
+
}
|
|
1737
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__path_commands] )) ||
|
|
1738
|
+
_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__path_commands() {
|
|
1739
|
+
local commands; commands=()
|
|
1740
|
+
_describe -t commands 'rom-weaver help identify database path commands' commands "$@"
|
|
1741
|
+
}
|
|
1742
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__remove_commands] )) ||
|
|
1743
|
+
_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__remove_commands() {
|
|
1744
|
+
local commands; commands=()
|
|
1745
|
+
_describe -t commands 'rom-weaver help identify database remove commands' commands "$@"
|
|
1746
|
+
}
|
|
1747
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__status_commands] )) ||
|
|
1748
|
+
_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__status_commands() {
|
|
1749
|
+
local commands; commands=()
|
|
1750
|
+
_describe -t commands 'rom-weaver help identify database status commands' commands "$@"
|
|
1751
|
+
}
|
|
1752
|
+
(( $+functions[_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__update_commands] )) ||
|
|
1753
|
+
_rom-weaver__subcmd__help__subcmd__identify__subcmd__database__subcmd__update_commands() {
|
|
1754
|
+
local commands; commands=()
|
|
1755
|
+
_describe -t commands 'rom-weaver help identify database update commands' commands "$@"
|
|
1756
|
+
}
|
|
1221
1757
|
(( $+functions[_rom-weaver__subcmd__help__subcmd__ingest_commands] )) ||
|
|
1222
1758
|
_rom-weaver__subcmd__help__subcmd__ingest_commands() {
|
|
1223
1759
|
local commands; commands=()
|
|
@@ -1279,6 +1815,214 @@ _rom-weaver__subcmd__help__subcmd__weave_commands() {
|
|
|
1279
1815
|
local commands; commands=()
|
|
1280
1816
|
_describe -t commands 'rom-weaver help weave commands' commands "$@"
|
|
1281
1817
|
}
|
|
1818
|
+
(( $+functions[_rom-weaver__subcmd__identify_commands] )) ||
|
|
1819
|
+
_rom-weaver__subcmd__identify_commands() {
|
|
1820
|
+
local commands; commands=(
|
|
1821
|
+
'database:Manage the installed identify database packs' \
|
|
1822
|
+
'help:Print this message or the help of the given subcommand(s)' \
|
|
1823
|
+
)
|
|
1824
|
+
_describe -t commands 'rom-weaver identify commands' commands "$@"
|
|
1825
|
+
}
|
|
1826
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database_commands] )) ||
|
|
1827
|
+
_rom-weaver__subcmd__identify__subcmd__database_commands() {
|
|
1828
|
+
local commands; commands=(
|
|
1829
|
+
'list:List every catalog platform, its source, and whether its pack is installed' \
|
|
1830
|
+
'status:List the installed pack files\: slug, format, size, and sha256' \
|
|
1831
|
+
'path:Print the identify database directory' \
|
|
1832
|
+
'remove:Remove one system'\''s installed pack' \
|
|
1833
|
+
'import-redump:Build identify packs from local Redump DAT ZIP files' \
|
|
1834
|
+
'install-all:Install the full identify database for this rom-weaver version' \
|
|
1835
|
+
'install-group:Download and install one optional identify pack group' \
|
|
1836
|
+
'install:Download and install one Redump system pack (or --all)' \
|
|
1837
|
+
'update:Download and update installed Redump system packs' \
|
|
1838
|
+
'help:Print this message or the help of the given subcommand(s)' \
|
|
1839
|
+
)
|
|
1840
|
+
_describe -t commands 'rom-weaver identify database commands' commands "$@"
|
|
1841
|
+
}
|
|
1842
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help_commands] )) ||
|
|
1843
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help_commands() {
|
|
1844
|
+
local commands; commands=(
|
|
1845
|
+
'list:List every catalog platform, its source, and whether its pack is installed' \
|
|
1846
|
+
'status:List the installed pack files\: slug, format, size, and sha256' \
|
|
1847
|
+
'path:Print the identify database directory' \
|
|
1848
|
+
'remove:Remove one system'\''s installed pack' \
|
|
1849
|
+
'import-redump:Build identify packs from local Redump DAT ZIP files' \
|
|
1850
|
+
'install-all:Install the full identify database for this rom-weaver version' \
|
|
1851
|
+
'install-group:Download and install one optional identify pack group' \
|
|
1852
|
+
'install:Download and install one Redump system pack (or --all)' \
|
|
1853
|
+
'update:Download and update installed Redump system packs' \
|
|
1854
|
+
'help:Print this message or the help of the given subcommand(s)' \
|
|
1855
|
+
)
|
|
1856
|
+
_describe -t commands 'rom-weaver identify database help commands' commands "$@"
|
|
1857
|
+
}
|
|
1858
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__help_commands] )) ||
|
|
1859
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__help_commands() {
|
|
1860
|
+
local commands; commands=()
|
|
1861
|
+
_describe -t commands 'rom-weaver identify database help help commands' commands "$@"
|
|
1862
|
+
}
|
|
1863
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__import-redump_commands] )) ||
|
|
1864
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__import-redump_commands() {
|
|
1865
|
+
local commands; commands=()
|
|
1866
|
+
_describe -t commands 'rom-weaver identify database help import-redump commands' commands "$@"
|
|
1867
|
+
}
|
|
1868
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install_commands] )) ||
|
|
1869
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install_commands() {
|
|
1870
|
+
local commands; commands=()
|
|
1871
|
+
_describe -t commands 'rom-weaver identify database help install commands' commands "$@"
|
|
1872
|
+
}
|
|
1873
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install-all_commands] )) ||
|
|
1874
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install-all_commands() {
|
|
1875
|
+
local commands; commands=()
|
|
1876
|
+
_describe -t commands 'rom-weaver identify database help install-all commands' commands "$@"
|
|
1877
|
+
}
|
|
1878
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install-group_commands] )) ||
|
|
1879
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__install-group_commands() {
|
|
1880
|
+
local commands; commands=()
|
|
1881
|
+
_describe -t commands 'rom-weaver identify database help install-group commands' commands "$@"
|
|
1882
|
+
}
|
|
1883
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__list_commands] )) ||
|
|
1884
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__list_commands() {
|
|
1885
|
+
local commands; commands=()
|
|
1886
|
+
_describe -t commands 'rom-weaver identify database help list commands' commands "$@"
|
|
1887
|
+
}
|
|
1888
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__path_commands] )) ||
|
|
1889
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__path_commands() {
|
|
1890
|
+
local commands; commands=()
|
|
1891
|
+
_describe -t commands 'rom-weaver identify database help path commands' commands "$@"
|
|
1892
|
+
}
|
|
1893
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__remove_commands] )) ||
|
|
1894
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__remove_commands() {
|
|
1895
|
+
local commands; commands=()
|
|
1896
|
+
_describe -t commands 'rom-weaver identify database help remove commands' commands "$@"
|
|
1897
|
+
}
|
|
1898
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__status_commands] )) ||
|
|
1899
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__status_commands() {
|
|
1900
|
+
local commands; commands=()
|
|
1901
|
+
_describe -t commands 'rom-weaver identify database help status commands' commands "$@"
|
|
1902
|
+
}
|
|
1903
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__update_commands] )) ||
|
|
1904
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__help__subcmd__update_commands() {
|
|
1905
|
+
local commands; commands=()
|
|
1906
|
+
_describe -t commands 'rom-weaver identify database help update commands' commands "$@"
|
|
1907
|
+
}
|
|
1908
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__import-redump_commands] )) ||
|
|
1909
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__import-redump_commands() {
|
|
1910
|
+
local commands; commands=()
|
|
1911
|
+
_describe -t commands 'rom-weaver identify database import-redump commands' commands "$@"
|
|
1912
|
+
}
|
|
1913
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__install_commands] )) ||
|
|
1914
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__install_commands() {
|
|
1915
|
+
local commands; commands=()
|
|
1916
|
+
_describe -t commands 'rom-weaver identify database install commands' commands "$@"
|
|
1917
|
+
}
|
|
1918
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__install-all_commands] )) ||
|
|
1919
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__install-all_commands() {
|
|
1920
|
+
local commands; commands=()
|
|
1921
|
+
_describe -t commands 'rom-weaver identify database install-all commands' commands "$@"
|
|
1922
|
+
}
|
|
1923
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__install-group_commands] )) ||
|
|
1924
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__install-group_commands() {
|
|
1925
|
+
local commands; commands=()
|
|
1926
|
+
_describe -t commands 'rom-weaver identify database install-group commands' commands "$@"
|
|
1927
|
+
}
|
|
1928
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__list_commands] )) ||
|
|
1929
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__list_commands() {
|
|
1930
|
+
local commands; commands=()
|
|
1931
|
+
_describe -t commands 'rom-weaver identify database list commands' commands "$@"
|
|
1932
|
+
}
|
|
1933
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__path_commands] )) ||
|
|
1934
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__path_commands() {
|
|
1935
|
+
local commands; commands=()
|
|
1936
|
+
_describe -t commands 'rom-weaver identify database path commands' commands "$@"
|
|
1937
|
+
}
|
|
1938
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__remove_commands] )) ||
|
|
1939
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__remove_commands() {
|
|
1940
|
+
local commands; commands=()
|
|
1941
|
+
_describe -t commands 'rom-weaver identify database remove commands' commands "$@"
|
|
1942
|
+
}
|
|
1943
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__status_commands] )) ||
|
|
1944
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__status_commands() {
|
|
1945
|
+
local commands; commands=()
|
|
1946
|
+
_describe -t commands 'rom-weaver identify database status commands' commands "$@"
|
|
1947
|
+
}
|
|
1948
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__database__subcmd__update_commands] )) ||
|
|
1949
|
+
_rom-weaver__subcmd__identify__subcmd__database__subcmd__update_commands() {
|
|
1950
|
+
local commands; commands=()
|
|
1951
|
+
_describe -t commands 'rom-weaver identify database update commands' commands "$@"
|
|
1952
|
+
}
|
|
1953
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help_commands] )) ||
|
|
1954
|
+
_rom-weaver__subcmd__identify__subcmd__help_commands() {
|
|
1955
|
+
local commands; commands=(
|
|
1956
|
+
'database:Manage the installed identify database packs' \
|
|
1957
|
+
'help:Print this message or the help of the given subcommand(s)' \
|
|
1958
|
+
)
|
|
1959
|
+
_describe -t commands 'rom-weaver identify help commands' commands "$@"
|
|
1960
|
+
}
|
|
1961
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__database_commands] )) ||
|
|
1962
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__database_commands() {
|
|
1963
|
+
local commands; commands=(
|
|
1964
|
+
'list:List every catalog platform, its source, and whether its pack is installed' \
|
|
1965
|
+
'status:List the installed pack files\: slug, format, size, and sha256' \
|
|
1966
|
+
'path:Print the identify database directory' \
|
|
1967
|
+
'remove:Remove one system'\''s installed pack' \
|
|
1968
|
+
'import-redump:Build identify packs from local Redump DAT ZIP files' \
|
|
1969
|
+
'install-all:Install the full identify database for this rom-weaver version' \
|
|
1970
|
+
'install-group:Download and install one optional identify pack group' \
|
|
1971
|
+
'install:Download and install one Redump system pack (or --all)' \
|
|
1972
|
+
'update:Download and update installed Redump system packs' \
|
|
1973
|
+
)
|
|
1974
|
+
_describe -t commands 'rom-weaver identify help database commands' commands "$@"
|
|
1975
|
+
}
|
|
1976
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__import-redump_commands] )) ||
|
|
1977
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__import-redump_commands() {
|
|
1978
|
+
local commands; commands=()
|
|
1979
|
+
_describe -t commands 'rom-weaver identify help database import-redump commands' commands "$@"
|
|
1980
|
+
}
|
|
1981
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install_commands] )) ||
|
|
1982
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install_commands() {
|
|
1983
|
+
local commands; commands=()
|
|
1984
|
+
_describe -t commands 'rom-weaver identify help database install commands' commands "$@"
|
|
1985
|
+
}
|
|
1986
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install-all_commands] )) ||
|
|
1987
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install-all_commands() {
|
|
1988
|
+
local commands; commands=()
|
|
1989
|
+
_describe -t commands 'rom-weaver identify help database install-all commands' commands "$@"
|
|
1990
|
+
}
|
|
1991
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install-group_commands] )) ||
|
|
1992
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__install-group_commands() {
|
|
1993
|
+
local commands; commands=()
|
|
1994
|
+
_describe -t commands 'rom-weaver identify help database install-group commands' commands "$@"
|
|
1995
|
+
}
|
|
1996
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__list_commands] )) ||
|
|
1997
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__list_commands() {
|
|
1998
|
+
local commands; commands=()
|
|
1999
|
+
_describe -t commands 'rom-weaver identify help database list commands' commands "$@"
|
|
2000
|
+
}
|
|
2001
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__path_commands] )) ||
|
|
2002
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__path_commands() {
|
|
2003
|
+
local commands; commands=()
|
|
2004
|
+
_describe -t commands 'rom-weaver identify help database path commands' commands "$@"
|
|
2005
|
+
}
|
|
2006
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__remove_commands] )) ||
|
|
2007
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__remove_commands() {
|
|
2008
|
+
local commands; commands=()
|
|
2009
|
+
_describe -t commands 'rom-weaver identify help database remove commands' commands "$@"
|
|
2010
|
+
}
|
|
2011
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__status_commands] )) ||
|
|
2012
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__status_commands() {
|
|
2013
|
+
local commands; commands=()
|
|
2014
|
+
_describe -t commands 'rom-weaver identify help database status commands' commands "$@"
|
|
2015
|
+
}
|
|
2016
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__update_commands] )) ||
|
|
2017
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__database__subcmd__update_commands() {
|
|
2018
|
+
local commands; commands=()
|
|
2019
|
+
_describe -t commands 'rom-weaver identify help database update commands' commands "$@"
|
|
2020
|
+
}
|
|
2021
|
+
(( $+functions[_rom-weaver__subcmd__identify__subcmd__help__subcmd__help_commands] )) ||
|
|
2022
|
+
_rom-weaver__subcmd__identify__subcmd__help__subcmd__help_commands() {
|
|
2023
|
+
local commands; commands=()
|
|
2024
|
+
_describe -t commands 'rom-weaver identify help help commands' commands "$@"
|
|
2025
|
+
}
|
|
1282
2026
|
(( $+functions[_rom-weaver__subcmd__ingest_commands] )) ||
|
|
1283
2027
|
_rom-weaver__subcmd__ingest_commands() {
|
|
1284
2028
|
local commands; commands=()
|