@rom-weaver/cli 0.13.0 → 0.14.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +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
|
@@ -42,6 +42,7 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
42
42
|
[CompletionResult]::new('inspect', 'inspect', [CompletionResultType]::ParameterValue, 'Identify a file: its format, its platform, and any header it carries')
|
|
43
43
|
[CompletionResult]::new('extract', 'extract', [CompletionResultType]::ParameterValue, 'Unpack an archive or single-payload compressed format')
|
|
44
44
|
[CompletionResult]::new('checksum', 'checksum', [CompletionResultType]::ParameterValue, 'Compute checksums for a file, or for a ROM inside an archive')
|
|
45
|
+
[CompletionResult]::new('identify', 'identify', [CompletionResultType]::ParameterValue, 'Identify a ROM title from its checksums')
|
|
45
46
|
[CompletionResult]::new('ingest', 'ingest', [CompletionResultType]::ParameterValue, 'Sort a file into ROMs and patches, unpacking and hashing along the way')
|
|
46
47
|
[CompletionResult]::new('compress', 'compress', [CompletionResultType]::ParameterValue, 'Pack files into an archive, disc image, or ROM-specific compressed format')
|
|
47
48
|
[CompletionResult]::new('trim', 'trim', [CompletionResultType]::ParameterValue, 'Cut the padding off a ROM, or put it back')
|
|
@@ -174,11 +175,344 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
174
175
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
175
176
|
break
|
|
176
177
|
}
|
|
178
|
+
'rom-weaver;identify' {
|
|
179
|
+
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'ROM to identify. Use - to read from stdin')
|
|
180
|
+
[CompletionResult]::new('--input', '--input', [CompletionResultType]::ParameterName, 'ROM to identify. Use - to read from stdin')
|
|
181
|
+
[CompletionResult]::new('--hash', '--hash', [CompletionResultType]::ParameterName, 'Identify by a checksum instead of a file; accepts crc32/md5/sha1 hex (repeatable, one per algorithm)')
|
|
182
|
+
[CompletionResult]::new('--size', '--size', [CompletionResultType]::ParameterName, 'Exact byte size to pair with --hash, narrowing the lookup to records of that size')
|
|
183
|
+
[CompletionResult]::new('-d', '-d', [CompletionResultType]::ParameterName, 'RWFP1 identify pack, raw or Brotli, to search instead of the built-in data (repeatable)')
|
|
184
|
+
[CompletionResult]::new('--database', '--database', [CompletionResultType]::ParameterName, 'RWFP1 identify pack, raw or Brotli, to search instead of the built-in data (repeatable)')
|
|
185
|
+
[CompletionResult]::new('--system', '--system', [CompletionResultType]::ParameterName, 'Search only this system''s pack. Takes a canonical platform name or a common alias (e.g. `snes`, `psx`)')
|
|
186
|
+
[CompletionResult]::new('--database-dir', '--database-dir', [CompletionResultType]::ParameterName, 'Directory of installed identify packs (*.pack plus optional catalog.json). Defaults to the per-user data directory')
|
|
187
|
+
[CompletionResult]::new('-s', '-s', [CompletionResultType]::ParameterName, 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)')
|
|
188
|
+
[CompletionResult]::new('--select', '--select', [CompletionResultType]::ParameterName, 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)')
|
|
189
|
+
[CompletionResult]::new('--filter', '--filter', [CompletionResultType]::ParameterName, 'Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)')
|
|
190
|
+
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
191
|
+
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
192
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
193
|
+
[CompletionResult]::new('--offline', '--offline', [CompletionResultType]::ParameterName, 'Assert that identify performs no network access (it never does natively; this flag records the guarantee)')
|
|
194
|
+
[CompletionResult]::new('--exhaustive-database-search', '--exhaustive-database-search', [CompletionResultType]::ParameterName, 'Search every installed pack instead of only the packs the detected platform routes to')
|
|
195
|
+
[CompletionResult]::new('--no-extract', '--no-extract', [CompletionResultType]::ParameterName, 'Do not look inside archives; identify the file itself')
|
|
196
|
+
[CompletionResult]::new('--no-ignore', '--no-ignore', [CompletionResultType]::ParameterName, 'Also consider files normally skipped inside archives: readmes, images, checksum sidecars, and OS clutter such as .DS_Store')
|
|
197
|
+
[CompletionResult]::new('--no-trim-fix', '--no-trim-fix', [CompletionResultType]::ParameterName, 'Skip extra checksums for trimmed and untrimmed ROM forms')
|
|
198
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
199
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
200
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
201
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
202
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
203
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
204
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
205
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
206
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
207
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
208
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
209
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
210
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
211
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
212
|
+
[CompletionResult]::new('database', 'database', [CompletionResultType]::ParameterValue, 'Manage the installed identify database packs')
|
|
213
|
+
[CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)')
|
|
214
|
+
break
|
|
215
|
+
}
|
|
216
|
+
'rom-weaver;identify;database' {
|
|
217
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
218
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
219
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
220
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
221
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
222
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
223
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
224
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
225
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
226
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
227
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
228
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
229
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
230
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
231
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
232
|
+
[CompletionResult]::new('list', 'list', [CompletionResultType]::ParameterValue, 'List every catalog platform, its source, and whether its pack is installed')
|
|
233
|
+
[CompletionResult]::new('status', 'status', [CompletionResultType]::ParameterValue, 'List the installed pack files: slug, format, size, and sha256')
|
|
234
|
+
[CompletionResult]::new('path', 'path', [CompletionResultType]::ParameterValue, 'Print the identify database directory')
|
|
235
|
+
[CompletionResult]::new('remove', 'remove', [CompletionResultType]::ParameterValue, 'Remove one system''s installed pack')
|
|
236
|
+
[CompletionResult]::new('import-redump', 'import-redump', [CompletionResultType]::ParameterValue, 'Build identify packs from local Redump DAT ZIP files')
|
|
237
|
+
[CompletionResult]::new('install-all', 'install-all', [CompletionResultType]::ParameterValue, 'Install the full identify database for this rom-weaver version')
|
|
238
|
+
[CompletionResult]::new('install-group', 'install-group', [CompletionResultType]::ParameterValue, 'Download and install one optional identify pack group')
|
|
239
|
+
[CompletionResult]::new('install', 'install', [CompletionResultType]::ParameterValue, 'Download and install one Redump system pack (or --all)')
|
|
240
|
+
[CompletionResult]::new('update', 'update', [CompletionResultType]::ParameterValue, 'Download and update installed Redump system packs')
|
|
241
|
+
[CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)')
|
|
242
|
+
break
|
|
243
|
+
}
|
|
244
|
+
'rom-weaver;identify;database;list' {
|
|
245
|
+
[CompletionResult]::new('--database-dir', '--database-dir', [CompletionResultType]::ParameterName, 'Identify database directory. Defaults to the per-user data directory')
|
|
246
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
247
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
248
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
249
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
250
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
251
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
252
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
253
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
254
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
255
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
256
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
257
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
258
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
259
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
260
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
261
|
+
break
|
|
262
|
+
}
|
|
263
|
+
'rom-weaver;identify;database;status' {
|
|
264
|
+
[CompletionResult]::new('--database-dir', '--database-dir', [CompletionResultType]::ParameterName, 'Identify database directory. Defaults to the per-user data directory')
|
|
265
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
266
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
267
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
268
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
269
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
270
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
271
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
272
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
273
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
274
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
275
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
276
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
277
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
278
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
279
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
280
|
+
break
|
|
281
|
+
}
|
|
282
|
+
'rom-weaver;identify;database;path' {
|
|
283
|
+
[CompletionResult]::new('--database-dir', '--database-dir', [CompletionResultType]::ParameterName, 'Identify database directory. Defaults to the per-user data directory')
|
|
284
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
285
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
286
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
287
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
288
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
289
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
290
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
291
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
292
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
293
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
294
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
295
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
296
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
297
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
298
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
299
|
+
break
|
|
300
|
+
}
|
|
301
|
+
'rom-weaver;identify;database;remove' {
|
|
302
|
+
[CompletionResult]::new('--database-dir', '--database-dir', [CompletionResultType]::ParameterName, 'Identify database directory. Defaults to the per-user data directory')
|
|
303
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
304
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
305
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
306
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
307
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
308
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
309
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
310
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
311
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
312
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
313
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
314
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
315
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
316
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
317
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
318
|
+
break
|
|
319
|
+
}
|
|
320
|
+
'rom-weaver;identify;database;import-redump' {
|
|
321
|
+
[CompletionResult]::new('--database-dir', '--database-dir', [CompletionResultType]::ParameterName, 'Identify database directory. Defaults to the per-user data directory')
|
|
322
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
323
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
324
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
325
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
326
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
327
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
328
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
329
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
330
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
331
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
332
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
333
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
334
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
335
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
336
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
337
|
+
break
|
|
338
|
+
}
|
|
339
|
+
'rom-weaver;identify;database;install-all' {
|
|
340
|
+
[CompletionResult]::new('--database-dir', '--database-dir', [CompletionResultType]::ParameterName, 'Identify database directory. Defaults to the per-user data directory')
|
|
341
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
342
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
343
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
344
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
345
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
346
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
347
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
348
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
349
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
350
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
351
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
352
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
353
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
354
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
355
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
356
|
+
break
|
|
357
|
+
}
|
|
358
|
+
'rom-weaver;identify;database;install-group' {
|
|
359
|
+
[CompletionResult]::new('--from', '--from', [CompletionResultType]::ParameterName, 'Local group archive; omit to download the archive for this version')
|
|
360
|
+
[CompletionResult]::new('--database-dir', '--database-dir', [CompletionResultType]::ParameterName, 'Identify database directory. Defaults to the per-user data directory')
|
|
361
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
362
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
363
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
364
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
365
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
366
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
367
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
368
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
369
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
370
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
371
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
372
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
373
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
374
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
375
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
376
|
+
break
|
|
377
|
+
}
|
|
378
|
+
'rom-weaver;identify;database;install' {
|
|
379
|
+
[CompletionResult]::new('--from', '--from', [CompletionResultType]::ParameterName, 'Local Redump DAT ZIP file; omit to download from Redump')
|
|
380
|
+
[CompletionResult]::new('--database-dir', '--database-dir', [CompletionResultType]::ParameterName, 'Identify database directory. Defaults to the per-user data directory')
|
|
381
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
382
|
+
[CompletionResult]::new('--all', '--all', [CompletionResultType]::ParameterName, 'Install every platform in the dump')
|
|
383
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
384
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
385
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
386
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
387
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
388
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
389
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
390
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
391
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
392
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
393
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
394
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
395
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
396
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
397
|
+
break
|
|
398
|
+
}
|
|
399
|
+
'rom-weaver;identify;database;update' {
|
|
400
|
+
[CompletionResult]::new('--from', '--from', [CompletionResultType]::ParameterName, 'Local Redump DAT ZIP file; omit to download from Redump')
|
|
401
|
+
[CompletionResult]::new('--database-dir', '--database-dir', [CompletionResultType]::ParameterName, 'Identify database directory. Defaults to the per-user data directory')
|
|
402
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
403
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
404
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
405
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
406
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
407
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
408
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
409
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
410
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
411
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
412
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
413
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
414
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
415
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
416
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
417
|
+
break
|
|
418
|
+
}
|
|
419
|
+
'rom-weaver;identify;database;help' {
|
|
420
|
+
[CompletionResult]::new('list', 'list', [CompletionResultType]::ParameterValue, 'List every catalog platform, its source, and whether its pack is installed')
|
|
421
|
+
[CompletionResult]::new('status', 'status', [CompletionResultType]::ParameterValue, 'List the installed pack files: slug, format, size, and sha256')
|
|
422
|
+
[CompletionResult]::new('path', 'path', [CompletionResultType]::ParameterValue, 'Print the identify database directory')
|
|
423
|
+
[CompletionResult]::new('remove', 'remove', [CompletionResultType]::ParameterValue, 'Remove one system''s installed pack')
|
|
424
|
+
[CompletionResult]::new('import-redump', 'import-redump', [CompletionResultType]::ParameterValue, 'Build identify packs from local Redump DAT ZIP files')
|
|
425
|
+
[CompletionResult]::new('install-all', 'install-all', [CompletionResultType]::ParameterValue, 'Install the full identify database for this rom-weaver version')
|
|
426
|
+
[CompletionResult]::new('install-group', 'install-group', [CompletionResultType]::ParameterValue, 'Download and install one optional identify pack group')
|
|
427
|
+
[CompletionResult]::new('install', 'install', [CompletionResultType]::ParameterValue, 'Download and install one Redump system pack (or --all)')
|
|
428
|
+
[CompletionResult]::new('update', 'update', [CompletionResultType]::ParameterValue, 'Download and update installed Redump system packs')
|
|
429
|
+
[CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)')
|
|
430
|
+
break
|
|
431
|
+
}
|
|
432
|
+
'rom-weaver;identify;database;help;list' {
|
|
433
|
+
break
|
|
434
|
+
}
|
|
435
|
+
'rom-weaver;identify;database;help;status' {
|
|
436
|
+
break
|
|
437
|
+
}
|
|
438
|
+
'rom-weaver;identify;database;help;path' {
|
|
439
|
+
break
|
|
440
|
+
}
|
|
441
|
+
'rom-weaver;identify;database;help;remove' {
|
|
442
|
+
break
|
|
443
|
+
}
|
|
444
|
+
'rom-weaver;identify;database;help;import-redump' {
|
|
445
|
+
break
|
|
446
|
+
}
|
|
447
|
+
'rom-weaver;identify;database;help;install-all' {
|
|
448
|
+
break
|
|
449
|
+
}
|
|
450
|
+
'rom-weaver;identify;database;help;install-group' {
|
|
451
|
+
break
|
|
452
|
+
}
|
|
453
|
+
'rom-weaver;identify;database;help;install' {
|
|
454
|
+
break
|
|
455
|
+
}
|
|
456
|
+
'rom-weaver;identify;database;help;update' {
|
|
457
|
+
break
|
|
458
|
+
}
|
|
459
|
+
'rom-weaver;identify;database;help;help' {
|
|
460
|
+
break
|
|
461
|
+
}
|
|
462
|
+
'rom-weaver;identify;help' {
|
|
463
|
+
[CompletionResult]::new('database', 'database', [CompletionResultType]::ParameterValue, 'Manage the installed identify database packs')
|
|
464
|
+
[CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)')
|
|
465
|
+
break
|
|
466
|
+
}
|
|
467
|
+
'rom-weaver;identify;help;database' {
|
|
468
|
+
[CompletionResult]::new('list', 'list', [CompletionResultType]::ParameterValue, 'List every catalog platform, its source, and whether its pack is installed')
|
|
469
|
+
[CompletionResult]::new('status', 'status', [CompletionResultType]::ParameterValue, 'List the installed pack files: slug, format, size, and sha256')
|
|
470
|
+
[CompletionResult]::new('path', 'path', [CompletionResultType]::ParameterValue, 'Print the identify database directory')
|
|
471
|
+
[CompletionResult]::new('remove', 'remove', [CompletionResultType]::ParameterValue, 'Remove one system''s installed pack')
|
|
472
|
+
[CompletionResult]::new('import-redump', 'import-redump', [CompletionResultType]::ParameterValue, 'Build identify packs from local Redump DAT ZIP files')
|
|
473
|
+
[CompletionResult]::new('install-all', 'install-all', [CompletionResultType]::ParameterValue, 'Install the full identify database for this rom-weaver version')
|
|
474
|
+
[CompletionResult]::new('install-group', 'install-group', [CompletionResultType]::ParameterValue, 'Download and install one optional identify pack group')
|
|
475
|
+
[CompletionResult]::new('install', 'install', [CompletionResultType]::ParameterValue, 'Download and install one Redump system pack (or --all)')
|
|
476
|
+
[CompletionResult]::new('update', 'update', [CompletionResultType]::ParameterValue, 'Download and update installed Redump system packs')
|
|
477
|
+
break
|
|
478
|
+
}
|
|
479
|
+
'rom-weaver;identify;help;database;list' {
|
|
480
|
+
break
|
|
481
|
+
}
|
|
482
|
+
'rom-weaver;identify;help;database;status' {
|
|
483
|
+
break
|
|
484
|
+
}
|
|
485
|
+
'rom-weaver;identify;help;database;path' {
|
|
486
|
+
break
|
|
487
|
+
}
|
|
488
|
+
'rom-weaver;identify;help;database;remove' {
|
|
489
|
+
break
|
|
490
|
+
}
|
|
491
|
+
'rom-weaver;identify;help;database;import-redump' {
|
|
492
|
+
break
|
|
493
|
+
}
|
|
494
|
+
'rom-weaver;identify;help;database;install-all' {
|
|
495
|
+
break
|
|
496
|
+
}
|
|
497
|
+
'rom-weaver;identify;help;database;install-group' {
|
|
498
|
+
break
|
|
499
|
+
}
|
|
500
|
+
'rom-weaver;identify;help;database;install' {
|
|
501
|
+
break
|
|
502
|
+
}
|
|
503
|
+
'rom-weaver;identify;help;database;update' {
|
|
504
|
+
break
|
|
505
|
+
}
|
|
506
|
+
'rom-weaver;identify;help;help' {
|
|
507
|
+
break
|
|
508
|
+
}
|
|
177
509
|
'rom-weaver;ingest' {
|
|
178
510
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'File to sort into ROMs and patches')
|
|
179
511
|
[CompletionResult]::new('--input', '--input', [CompletionResultType]::ParameterName, 'File to sort into ROMs and patches')
|
|
180
512
|
[CompletionResult]::new('-o', '-o', [CompletionResultType]::ParameterName, 'Directory to write anything unpacked along the way into')
|
|
181
513
|
[CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Directory to write anything unpacked along the way into')
|
|
514
|
+
[CompletionResult]::new('-d', '-d', [CompletionResultType]::ParameterName, 'RWFP1 identify pack, raw or Brotli, for ROM titles (repeatable; native defaults to built-in data)')
|
|
515
|
+
[CompletionResult]::new('--database', '--database', [CompletionResultType]::ParameterName, 'RWFP1 identify pack, raw or Brotli, for ROM titles (repeatable; native defaults to built-in data)')
|
|
182
516
|
[CompletionResult]::new('-s', '-s', [CompletionResultType]::ParameterName, 'Pick which ROM to use when the archive holds more than one, by exact name, prefix, or glob (repeatable)')
|
|
183
517
|
[CompletionResult]::new('--select', '--select', [CompletionResultType]::ParameterName, 'Pick which ROM to use when the archive holds more than one, by exact name, prefix, or glob (repeatable)')
|
|
184
518
|
[CompletionResult]::new('--sidecar-name', '--sidecar-name', [CompletionResultType]::ParameterName, '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')
|
|
@@ -327,8 +661,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
327
661
|
[CompletionResult]::new('--n64-byte-order', '--n64-byte-order', [CompletionResultType]::ParameterName, 'Byte order to put an N64 ROM in for each patch: auto, keep, big-endian, little-endian, or byte-swapped [default: auto]')
|
|
328
662
|
[CompletionResult]::new('--expect-out', '--expect-out', [CompletionResultType]::ParameterName, 'Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)')
|
|
329
663
|
[CompletionResult]::new('--code', '--code', [CompletionResultType]::ParameterName, 'Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code')
|
|
330
|
-
[CompletionResult]::new('--code-system', '--code-system', [CompletionResultType]::ParameterName, 'Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say')
|
|
331
|
-
[CompletionResult]::new('--code-kind', '--code-kind', [CompletionResultType]::ParameterName, 'Which cheat scheme the --code values use: auto, game-genie,
|
|
664
|
+
[CompletionResult]::new('--code-system', '--code-system', [CompletionResultType]::ParameterName, 'Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say')
|
|
665
|
+
[CompletionResult]::new('--code-kind', '--code-kind', [CompletionResultType]::ParameterName, 'Which cheat scheme the --code values use: auto, game-genie, gameshark/par, or xploder')
|
|
332
666
|
[CompletionResult]::new('--emit-bundle', '--emit-bundle', [CompletionResultType]::ParameterName, 'Also write a rom-weaver-bundle.json recording this run, so someone else can repeat it')
|
|
333
667
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
334
668
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
@@ -386,8 +720,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
386
720
|
[CompletionResult]::new('--n64-byte-order', '--n64-byte-order', [CompletionResultType]::ParameterName, 'Byte order to put an N64 ROM in for each patch: auto, keep, big-endian, little-endian, or byte-swapped [default: auto]')
|
|
387
721
|
[CompletionResult]::new('--expect-out', '--expect-out', [CompletionResultType]::ParameterName, 'Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)')
|
|
388
722
|
[CompletionResult]::new('--code', '--code', [CompletionResultType]::ParameterName, 'Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code')
|
|
389
|
-
[CompletionResult]::new('--code-system', '--code-system', [CompletionResultType]::ParameterName, 'Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say')
|
|
390
|
-
[CompletionResult]::new('--code-kind', '--code-kind', [CompletionResultType]::ParameterName, 'Which cheat scheme the --code values use: auto, game-genie,
|
|
723
|
+
[CompletionResult]::new('--code-system', '--code-system', [CompletionResultType]::ParameterName, 'Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say')
|
|
724
|
+
[CompletionResult]::new('--code-kind', '--code-kind', [CompletionResultType]::ParameterName, 'Which cheat scheme the --code values use: auto, game-genie, gameshark/par, or xploder')
|
|
391
725
|
[CompletionResult]::new('--emit-bundle', '--emit-bundle', [CompletionResultType]::ParameterName, 'Also write a rom-weaver-bundle.json recording this run, so someone else can repeat it')
|
|
392
726
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
393
727
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
@@ -465,8 +799,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
465
799
|
[CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Where to write the patch. Required unless --plan is used')
|
|
466
800
|
[CompletionResult]::new('--assume-in', '--assume-in', [CompletionResultType]::ParameterName, 'Take the original ROM''s checksum on trust rather than reading the file, as in crc32=1234abcd (repeatable, comma-separable)')
|
|
467
801
|
[CompletionResult]::new('--code', '--code', [CompletionResultType]::ParameterName, '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')
|
|
468
|
-
[CompletionResult]::new('--code-system', '--code-system', [CompletionResultType]::ParameterName, 'Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say')
|
|
469
|
-
[CompletionResult]::new('--code-kind', '--code-kind', [CompletionResultType]::ParameterName, 'Which cheat scheme the --code values use: auto, game-genie,
|
|
802
|
+
[CompletionResult]::new('--code-system', '--code-system', [CompletionResultType]::ParameterName, 'Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say')
|
|
803
|
+
[CompletionResult]::new('--code-kind', '--code-kind', [CompletionResultType]::ParameterName, 'Which cheat scheme the --code values use: auto, game-genie, gameshark/par, or xploder')
|
|
470
804
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
471
805
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
472
806
|
[CompletionResult]::new('--solid-system', '--solid-system', [CompletionResultType]::ParameterName, 'SOLID patches only: console the ROM is for')
|
|
@@ -761,8 +1095,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
761
1095
|
[CompletionResult]::new('--n64-byte-order', '--n64-byte-order', [CompletionResultType]::ParameterName, 'Byte order to put an N64 ROM in for each patch: auto, keep, big-endian, little-endian, or byte-swapped [default: auto]')
|
|
762
1096
|
[CompletionResult]::new('--expect-out', '--expect-out', [CompletionResultType]::ParameterName, 'Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)')
|
|
763
1097
|
[CompletionResult]::new('--code', '--code', [CompletionResultType]::ParameterName, 'Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code')
|
|
764
|
-
[CompletionResult]::new('--code-system', '--code-system', [CompletionResultType]::ParameterName, 'Console the --code values are for (nes, snes, genesis, gameboy), when the ROM header does not say')
|
|
765
|
-
[CompletionResult]::new('--code-kind', '--code-kind', [CompletionResultType]::ParameterName, 'Which cheat scheme the --code values use: auto, game-genie,
|
|
1098
|
+
[CompletionResult]::new('--code-system', '--code-system', [CompletionResultType]::ParameterName, 'Console the --code values are for (nes, snes, genesis, gameboy, gba, psx), when the ROM header does not say')
|
|
1099
|
+
[CompletionResult]::new('--code-kind', '--code-kind', [CompletionResultType]::ParameterName, 'Which cheat scheme the --code values use: auto, game-genie, gameshark/par, or xploder')
|
|
766
1100
|
[CompletionResult]::new('--emit-bundle', '--emit-bundle', [CompletionResultType]::ParameterName, 'Also write a rom-weaver-bundle.json recording this run, so someone else can repeat it')
|
|
767
1101
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
768
1102
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
@@ -833,6 +1167,7 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
833
1167
|
[CompletionResult]::new('probe', 'probe', [CompletionResultType]::ParameterValue, 'Identify a file: its format, its platform, and any header it carries')
|
|
834
1168
|
[CompletionResult]::new('extract', 'extract', [CompletionResultType]::ParameterValue, 'Unpack an archive or single-payload compressed format')
|
|
835
1169
|
[CompletionResult]::new('checksum', 'checksum', [CompletionResultType]::ParameterValue, 'Compute checksums for a file, or for a ROM inside an archive')
|
|
1170
|
+
[CompletionResult]::new('identify', 'identify', [CompletionResultType]::ParameterValue, 'Identify a ROM title from its checksums')
|
|
836
1171
|
[CompletionResult]::new('ingest', 'ingest', [CompletionResultType]::ParameterValue, 'Sort a file into ROMs and patches, unpacking and hashing along the way')
|
|
837
1172
|
[CompletionResult]::new('compress', 'compress', [CompletionResultType]::ParameterValue, 'Pack files into an archive, disc image, or ROM-specific compressed format')
|
|
838
1173
|
[CompletionResult]::new('trim', 'trim', [CompletionResultType]::ParameterValue, 'Cut the padding off a ROM, or put it back')
|
|
@@ -855,6 +1190,49 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
855
1190
|
'rom-weaver;help;checksum' {
|
|
856
1191
|
break
|
|
857
1192
|
}
|
|
1193
|
+
'rom-weaver;help;identify' {
|
|
1194
|
+
[CompletionResult]::new('database', 'database', [CompletionResultType]::ParameterValue, 'Manage the installed identify database packs')
|
|
1195
|
+
break
|
|
1196
|
+
}
|
|
1197
|
+
'rom-weaver;help;identify;database' {
|
|
1198
|
+
[CompletionResult]::new('list', 'list', [CompletionResultType]::ParameterValue, 'List every catalog platform, its source, and whether its pack is installed')
|
|
1199
|
+
[CompletionResult]::new('status', 'status', [CompletionResultType]::ParameterValue, 'List the installed pack files: slug, format, size, and sha256')
|
|
1200
|
+
[CompletionResult]::new('path', 'path', [CompletionResultType]::ParameterValue, 'Print the identify database directory')
|
|
1201
|
+
[CompletionResult]::new('remove', 'remove', [CompletionResultType]::ParameterValue, 'Remove one system''s installed pack')
|
|
1202
|
+
[CompletionResult]::new('import-redump', 'import-redump', [CompletionResultType]::ParameterValue, 'Build identify packs from local Redump DAT ZIP files')
|
|
1203
|
+
[CompletionResult]::new('install-all', 'install-all', [CompletionResultType]::ParameterValue, 'Install the full identify database for this rom-weaver version')
|
|
1204
|
+
[CompletionResult]::new('install-group', 'install-group', [CompletionResultType]::ParameterValue, 'Download and install one optional identify pack group')
|
|
1205
|
+
[CompletionResult]::new('install', 'install', [CompletionResultType]::ParameterValue, 'Download and install one Redump system pack (or --all)')
|
|
1206
|
+
[CompletionResult]::new('update', 'update', [CompletionResultType]::ParameterValue, 'Download and update installed Redump system packs')
|
|
1207
|
+
break
|
|
1208
|
+
}
|
|
1209
|
+
'rom-weaver;help;identify;database;list' {
|
|
1210
|
+
break
|
|
1211
|
+
}
|
|
1212
|
+
'rom-weaver;help;identify;database;status' {
|
|
1213
|
+
break
|
|
1214
|
+
}
|
|
1215
|
+
'rom-weaver;help;identify;database;path' {
|
|
1216
|
+
break
|
|
1217
|
+
}
|
|
1218
|
+
'rom-weaver;help;identify;database;remove' {
|
|
1219
|
+
break
|
|
1220
|
+
}
|
|
1221
|
+
'rom-weaver;help;identify;database;import-redump' {
|
|
1222
|
+
break
|
|
1223
|
+
}
|
|
1224
|
+
'rom-weaver;help;identify;database;install-all' {
|
|
1225
|
+
break
|
|
1226
|
+
}
|
|
1227
|
+
'rom-weaver;help;identify;database;install-group' {
|
|
1228
|
+
break
|
|
1229
|
+
}
|
|
1230
|
+
'rom-weaver;help;identify;database;install' {
|
|
1231
|
+
break
|
|
1232
|
+
}
|
|
1233
|
+
'rom-weaver;help;identify;database;update' {
|
|
1234
|
+
break
|
|
1235
|
+
}
|
|
858
1236
|
'rom-weaver;help;ingest' {
|
|
859
1237
|
break
|
|
860
1238
|
}
|
|
@@ -0,0 +1,68 @@
|
|
|
1
|
+
.ie \n(.g .ds Aq \(aq
|
|
2
|
+
.el .ds Aq '
|
|
3
|
+
.TH rom-weaver-identify-database-import-redump 1 "rom-weaver-identify-database-import-redump "
|
|
4
|
+
.SH NAME
|
|
5
|
+
rom\-weaver\-identify\-database\-import\-redump \- Build identify packs from local Redump DAT ZIP files
|
|
6
|
+
.SH SYNOPSIS
|
|
7
|
+
\fBrom\-weaver identify database import\-redump\fR [\fB\-\-database\-dir\fR] [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-no\-color\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-h\fR|\fB\-\-help\fR] <\fIZIP\fR>
|
|
8
|
+
.SH DESCRIPTION
|
|
9
|
+
Build identify packs from local Redump DAT ZIP files
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
\fB\-\-database\-dir\fR \fI<DIR>\fR
|
|
13
|
+
Identify database directory. Defaults to the per\-user data directory
|
|
14
|
+
.TP
|
|
15
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
16
|
+
Print help
|
|
17
|
+
.TP
|
|
18
|
+
<\fIZIP\fR>
|
|
19
|
+
Local Redump DAT ZIP file to import
|
|
20
|
+
.SH "GLOBAL OPTIONS"
|
|
21
|
+
.TP
|
|
22
|
+
\fB\-\-json\fR
|
|
23
|
+
Print one JSON object per line instead of human\-readable output
|
|
24
|
+
.TP
|
|
25
|
+
\fB\-\-progress\fR
|
|
26
|
+
Show progress even when output is piped to a file or another program
|
|
27
|
+
.TP
|
|
28
|
+
\fB\-\-no\-progress\fR
|
|
29
|
+
Hide progress
|
|
30
|
+
.TP
|
|
31
|
+
\fB\-\-log\-level\fR \fI<LOG_LEVEL>\fR
|
|
32
|
+
How much rom\-weaver logs to stderr. Separate from the normal output [default: off]
|
|
33
|
+
.br
|
|
34
|
+
|
|
35
|
+
.br
|
|
36
|
+
\fIPossible values:\fR
|
|
37
|
+
.RS 14
|
|
38
|
+
.IP \(bu 2
|
|
39
|
+
off
|
|
40
|
+
.IP \(bu 2
|
|
41
|
+
error
|
|
42
|
+
.IP \(bu 2
|
|
43
|
+
warn
|
|
44
|
+
.IP \(bu 2
|
|
45
|
+
info
|
|
46
|
+
.IP \(bu 2
|
|
47
|
+
debug
|
|
48
|
+
.IP \(bu 2
|
|
49
|
+
trace
|
|
50
|
+
.RE
|
|
51
|
+
.TP
|
|
52
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
|
53
|
+
Log more: \-v for info, \-vv for debug, \-vvv for trace
|
|
54
|
+
.TP
|
|
55
|
+
\fB\-q\fR, \fB\-\-quiet\fR
|
|
56
|
+
Log errors only
|
|
57
|
+
.TP
|
|
58
|
+
\fB\-\-dep\-trace\fR
|
|
59
|
+
Also log trace output from bundled libraries (for bug reports)
|
|
60
|
+
.TP
|
|
61
|
+
\fB\-\-color\fR
|
|
62
|
+
Keep colors even when output is piped
|
|
63
|
+
.TP
|
|
64
|
+
\fB\-\-no\-color\fR
|
|
65
|
+
Turn colors off
|
|
66
|
+
.TP
|
|
67
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
68
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
.ie \n(.g .ds Aq \(aq
|
|
2
|
+
.el .ds Aq '
|
|
3
|
+
.TH rom-weaver-identify-database-install-all 1 "rom-weaver-identify-database-install-all "
|
|
4
|
+
.SH NAME
|
|
5
|
+
rom\-weaver\-identify\-database\-install\-all \- Install the full identify database for this rom\-weaver version
|
|
6
|
+
.SH SYNOPSIS
|
|
7
|
+
\fBrom\-weaver identify database install\-all\fR [\fB\-\-database\-dir\fR] [\fB\-\-json\fR] [\fB\-\-progress\fR] [\fB\-\-no\-progress\fR] [\fB\-\-log\-level\fR] [\fB\-v\fR|\fB\-\-verbose\fR]... [\fB\-q\fR|\fB\-\-quiet\fR] [\fB\-\-dep\-trace\fR] [\fB\-\-color\fR] [\fB\-\-no\-color\fR] [\fB\-y\fR|\fB\-\-yes\fR] [\fB\-h\fR|\fB\-\-help\fR]
|
|
8
|
+
.SH DESCRIPTION
|
|
9
|
+
Install the full identify database for this rom\-weaver version
|
|
10
|
+
.SH OPTIONS
|
|
11
|
+
.TP
|
|
12
|
+
\fB\-\-database\-dir\fR \fI<DIR>\fR
|
|
13
|
+
Identify database directory. Defaults to the per\-user data directory
|
|
14
|
+
.TP
|
|
15
|
+
\fB\-h\fR, \fB\-\-help\fR
|
|
16
|
+
Print help
|
|
17
|
+
.SH "GLOBAL OPTIONS"
|
|
18
|
+
.TP
|
|
19
|
+
\fB\-\-json\fR
|
|
20
|
+
Print one JSON object per line instead of human\-readable output
|
|
21
|
+
.TP
|
|
22
|
+
\fB\-\-progress\fR
|
|
23
|
+
Show progress even when output is piped to a file or another program
|
|
24
|
+
.TP
|
|
25
|
+
\fB\-\-no\-progress\fR
|
|
26
|
+
Hide progress
|
|
27
|
+
.TP
|
|
28
|
+
\fB\-\-log\-level\fR \fI<LOG_LEVEL>\fR
|
|
29
|
+
How much rom\-weaver logs to stderr. Separate from the normal output [default: off]
|
|
30
|
+
.br
|
|
31
|
+
|
|
32
|
+
.br
|
|
33
|
+
\fIPossible values:\fR
|
|
34
|
+
.RS 14
|
|
35
|
+
.IP \(bu 2
|
|
36
|
+
off
|
|
37
|
+
.IP \(bu 2
|
|
38
|
+
error
|
|
39
|
+
.IP \(bu 2
|
|
40
|
+
warn
|
|
41
|
+
.IP \(bu 2
|
|
42
|
+
info
|
|
43
|
+
.IP \(bu 2
|
|
44
|
+
debug
|
|
45
|
+
.IP \(bu 2
|
|
46
|
+
trace
|
|
47
|
+
.RE
|
|
48
|
+
.TP
|
|
49
|
+
\fB\-v\fR, \fB\-\-verbose\fR
|
|
50
|
+
Log more: \-v for info, \-vv for debug, \-vvv for trace
|
|
51
|
+
.TP
|
|
52
|
+
\fB\-q\fR, \fB\-\-quiet\fR
|
|
53
|
+
Log errors only
|
|
54
|
+
.TP
|
|
55
|
+
\fB\-\-dep\-trace\fR
|
|
56
|
+
Also log trace output from bundled libraries (for bug reports)
|
|
57
|
+
.TP
|
|
58
|
+
\fB\-\-color\fR
|
|
59
|
+
Keep colors even when output is piped
|
|
60
|
+
.TP
|
|
61
|
+
\fB\-\-no\-color\fR
|
|
62
|
+
Turn colors off
|
|
63
|
+
.TP
|
|
64
|
+
\fB\-y\fR, \fB\-\-yes\fR
|
|
65
|
+
Answer yes to every confirmation instead of asking. Does not choose between candidates
|