@rom-weaver/cli 0.12.3 → 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 +38 -270
- package/docs/completions/_rom-weaver +878 -23
- package/docs/completions/rom-weaver.bash +1052 -53
- package/docs/completions/rom-weaver.elv +442 -12
- package/docs/completions/rom-weaver.fish +258 -41
- package/docs/completions/rom-weaver.ps1 +489 -12
- package/docs/man/rom-weaver-bundle-create.1 +75 -3
- package/docs/man/rom-weaver-bundle-parse.1 +4 -1
- package/docs/man/rom-weaver-bundle-schema.1 +4 -1
- package/docs/man/rom-weaver-bundle.1 +4 -1
- package/docs/man/rom-weaver-checksum.1 +28 -3
- package/docs/man/rom-weaver-completions.1 +4 -1
- package/docs/man/rom-weaver-compress.1 +58 -1
- package/docs/man/rom-weaver-extract.1 +49 -2
- package/docs/man/rom-weaver-formats.1 +66 -0
- package/docs/man/rom-weaver-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 +128 -68
- package/docs/man/rom-weaver-patch-create.1 +9 -3
- package/docs/man/rom-weaver-patch-validate.1 +4 -1
- package/docs/man/rom-weaver-patch.1 +4 -1
- package/docs/man/rom-weaver-probe.1 +4 -1
- package/docs/man/rom-weaver-tools-ppf-undo.1 +4 -1
- package/docs/man/rom-weaver-tools.1 +4 -1
- package/docs/man/rom-weaver-trim.1 +20 -1
- package/docs/man/rom-weaver-weave.1 +128 -68
- package/docs/man/rom-weaver.1 +11 -5
- package/package.json +14 -13
- package/docs/man/rom-weaver-ingest.1 +0 -98
|
@@ -32,6 +32,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
32
32
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
33
33
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
34
34
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
35
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
36
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
35
37
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
36
38
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
37
39
|
[CompletionResult]::new('-V', '-V ', [CompletionResultType]::ParameterName, 'Print version')
|
|
@@ -40,6 +42,7 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
40
42
|
[CompletionResult]::new('inspect', 'inspect', [CompletionResultType]::ParameterValue, 'Identify a file: its format, its platform, and any header it carries')
|
|
41
43
|
[CompletionResult]::new('extract', 'extract', [CompletionResultType]::ParameterValue, 'Unpack an archive or single-payload compressed format')
|
|
42
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')
|
|
43
46
|
[CompletionResult]::new('ingest', 'ingest', [CompletionResultType]::ParameterValue, 'Sort a file into ROMs and patches, unpacking and hashing along the way')
|
|
44
47
|
[CompletionResult]::new('compress', 'compress', [CompletionResultType]::ParameterValue, 'Pack files into an archive, disc image, or ROM-specific compressed format')
|
|
45
48
|
[CompletionResult]::new('trim', 'trim', [CompletionResultType]::ParameterValue, 'Cut the padding off a ROM, or put it back')
|
|
@@ -49,6 +52,7 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
49
52
|
[CompletionResult]::new('plan-extract-batch', 'plan-extract-batch', [CompletionResultType]::ParameterValue, 'Plan a memory-/thread-aware concurrent extraction schedule from per-job source sizes (no I/O)')
|
|
50
53
|
[CompletionResult]::new('weave', 'weave', [CompletionResultType]::ParameterValue, 'Apply one or more patches to a ROM, in order (same as `patch apply`)')
|
|
51
54
|
[CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Print a tab-completion script for your shell')
|
|
55
|
+
[CompletionResult]::new('formats', 'formats', [CompletionResultType]::ParameterValue, 'List the formats, codecs, and checksum algorithms this build supports')
|
|
52
56
|
[CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)')
|
|
53
57
|
break
|
|
54
58
|
}
|
|
@@ -71,6 +75,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
71
75
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
72
76
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
73
77
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
78
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
79
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
74
80
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
75
81
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
76
82
|
break
|
|
@@ -94,6 +100,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
94
100
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
95
101
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
96
102
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
103
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
104
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
97
105
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
98
106
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
99
107
|
break
|
|
@@ -107,7 +115,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
107
115
|
[CompletionResult]::new('-o', '-o', [CompletionResultType]::ParameterName, 'Directory to write the extracted files into')
|
|
108
116
|
[CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Directory to write the extracted files into')
|
|
109
117
|
[CompletionResult]::new('--checksum', '--checksum', [CompletionResultType]::ParameterName, 'Also hash every extracted file (repeatable, comma-separable)')
|
|
110
|
-
[CompletionResult]::new('--
|
|
118
|
+
[CompletionResult]::new('--algo', '--algo', [CompletionResultType]::ParameterName, 'Also hash every extracted file (repeatable, comma-separable)')
|
|
119
|
+
[CompletionResult]::new('--checksum-rom', '--checksum-rom', [CompletionResultType]::ParameterName, 'Like --checksum, but hash only the ROMs and skip sidecar files. Cannot be combined with --checksum')
|
|
111
120
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
112
121
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
113
122
|
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
@@ -126,6 +135,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
126
135
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
127
136
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
128
137
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
138
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
139
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
129
140
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
130
141
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
131
142
|
break
|
|
@@ -133,8 +144,9 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
133
144
|
'rom-weaver;checksum' {
|
|
134
145
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'File to hash. Use - to read from stdin')
|
|
135
146
|
[CompletionResult]::new('--input', '--input', [CompletionResultType]::ParameterName, 'File to hash. Use - to read from stdin')
|
|
136
|
-
[CompletionResult]::new('-a', '-a', [CompletionResultType]::ParameterName, 'Which checksum to compute
|
|
137
|
-
[CompletionResult]::new('--algo', '--algo', [CompletionResultType]::ParameterName, 'Which checksum to compute
|
|
147
|
+
[CompletionResult]::new('-a', '-a', [CompletionResultType]::ParameterName, 'Which checksum to compute (repeatable, comma-separable)')
|
|
148
|
+
[CompletionResult]::new('--algo', '--algo', [CompletionResultType]::ParameterName, 'Which checksum to compute (repeatable, comma-separable)')
|
|
149
|
+
[CompletionResult]::new('--checksum', '--checksum', [CompletionResultType]::ParameterName, 'Which checksum to compute (repeatable, comma-separable)')
|
|
138
150
|
[CompletionResult]::new('-s', '-s', [CompletionResultType]::ParameterName, 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)')
|
|
139
151
|
[CompletionResult]::new('--select', '--select', [CompletionResultType]::ParameterName, 'Pick which file inside the archive to use, by exact name, prefix, or glob (repeatable)')
|
|
140
152
|
[CompletionResult]::new('--filter', '--filter', [CompletionResultType]::ParameterName, 'Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)')
|
|
@@ -157,20 +169,356 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
157
169
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
158
170
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
159
171
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
172
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
173
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
160
174
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
161
175
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
162
176
|
break
|
|
163
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
|
+
}
|
|
164
509
|
'rom-weaver;ingest' {
|
|
165
510
|
[CompletionResult]::new('-i', '-i', [CompletionResultType]::ParameterName, 'File to sort into ROMs and patches')
|
|
166
511
|
[CompletionResult]::new('--input', '--input', [CompletionResultType]::ParameterName, 'File to sort into ROMs and patches')
|
|
167
512
|
[CompletionResult]::new('-o', '-o', [CompletionResultType]::ParameterName, 'Directory to write anything unpacked along the way into')
|
|
168
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)')
|
|
169
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)')
|
|
170
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)')
|
|
171
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')
|
|
172
519
|
[CompletionResult]::new('--split-bin', '--split-bin', [CompletionResultType]::ParameterName, 'For a multi-track CD-format CHD, write one BIN per track (--split-bin) or one merged BIN (--split-bin false). Omit to be asked')
|
|
173
520
|
[CompletionResult]::new('--checksum', '--checksum', [CompletionResultType]::ParameterName, 'Which checksums to compute for each ROM found (repeatable, comma-separable) [default: crc32,md5,sha1]')
|
|
521
|
+
[CompletionResult]::new('--algo', '--algo', [CompletionResultType]::ParameterName, 'Which checksums to compute for each ROM found (repeatable, comma-separable) [default: crc32,md5,sha1]')
|
|
174
522
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
175
523
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
176
524
|
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
@@ -187,6 +535,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
187
535
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
188
536
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
189
537
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
538
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
539
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
190
540
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
191
541
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
192
542
|
break
|
|
@@ -203,6 +553,9 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
203
553
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
204
554
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
205
555
|
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
556
|
+
[CompletionResult]::new('--force', '--force', [CompletionResultType]::ParameterName, 'Overwrite the output if it already exists (without this, the command stops instead)')
|
|
557
|
+
[CompletionResult]::new('-n', '-n', [CompletionResultType]::ParameterName, 'Print the plan (inputs, output, format, codec, level, threads) and stop without writing')
|
|
558
|
+
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Print the plan (inputs, output, format, codec, level, threads) and stop without writing')
|
|
206
559
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
207
560
|
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
208
561
|
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
@@ -213,6 +566,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
213
566
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
214
567
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
215
568
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
569
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
570
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
216
571
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
217
572
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
218
573
|
break
|
|
@@ -224,6 +579,7 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
224
579
|
[CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Where to write the trimmed file. Only valid with a single trimmable input')
|
|
225
580
|
[CompletionResult]::new('-e', '-e', [CompletionResultType]::ParameterName, 'Save next to each original under this extension. {ext} stands for the original one, as in trim.{ext}')
|
|
226
581
|
[CompletionResult]::new('--extension', '--extension', [CompletionResultType]::ParameterName, 'Save next to each original under this extension. {ext} stands for the original one, as in trim.{ext}')
|
|
582
|
+
[CompletionResult]::new('--filter', '--filter', [CompletionResultType]::ParameterName, 'Consider only files that look like a rom or a patch, judged by extension (repeatable, comma-separable)')
|
|
227
583
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
228
584
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
229
585
|
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
@@ -238,6 +594,7 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
238
594
|
[CompletionResult]::new('--no-extract', '--no-extract', [CompletionResultType]::ParameterName, 'Do not look inside archives; trim only the files named directly')
|
|
239
595
|
[CompletionResult]::new('--revert-marker', '--revert-marker', [CompletionResultType]::ParameterName, 'Add a small footer recording what was cut, so --revert can restore the original exactly')
|
|
240
596
|
[CompletionResult]::new('--reversible', '--reversible', [CompletionResultType]::ParameterName, 'Add a small footer recording what was cut, so --revert can restore the original exactly')
|
|
597
|
+
[CompletionResult]::new('--force', '--force', [CompletionResultType]::ParameterName, 'Overwrite the output if it already exists (without this, the command stops instead)')
|
|
241
598
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
242
599
|
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
243
600
|
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
@@ -248,6 +605,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
248
605
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
249
606
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
250
607
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
608
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
609
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
251
610
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
252
611
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
253
612
|
break
|
|
@@ -264,6 +623,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
264
623
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
265
624
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
266
625
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
626
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
627
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
267
628
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
268
629
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
269
630
|
[CompletionResult]::new('apply', 'apply', [CompletionResultType]::ParameterValue, 'Apply one or more patches to a ROM, in order')
|
|
@@ -287,8 +648,11 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
287
648
|
[CompletionResult]::new('--with', '--with', [CompletionResultType]::ParameterName, 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)')
|
|
288
649
|
[CompletionResult]::new('--without', '--without', [CompletionResultType]::ParameterName, 'Turn off a bundle patch, matched by name or file name (repeatable)')
|
|
289
650
|
[CompletionResult]::new('--compress-format', '--compress-format', [CompletionResultType]::ParameterName, 'Format to compress the patched ROM into [default: from the --output extension]')
|
|
651
|
+
[CompletionResult]::new('--format', '--format', [CompletionResultType]::ParameterName, 'Format to compress the patched ROM into [default: from the --output extension]')
|
|
290
652
|
[CompletionResult]::new('--compress-codec', '--compress-codec', [CompletionResultType]::ParameterName, 'Compression method to use, as codec or codec:level (repeatable, comma-separable)')
|
|
653
|
+
[CompletionResult]::new('--codec', '--codec', [CompletionResultType]::ParameterName, 'Compression method to use, as codec or codec:level (repeatable, comma-separable)')
|
|
291
654
|
[CompletionResult]::new('--compress-level', '--compress-level', [CompletionResultType]::ParameterName, 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]')
|
|
655
|
+
[CompletionResult]::new('--level', '--level', [CompletionResultType]::ParameterName, 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]')
|
|
292
656
|
[CompletionResult]::new('--assume-in', '--assume-in', [CompletionResultType]::ParameterName, 'Take this checksum on trust instead of reading the ROM to compute it, as in crc32=1234abcd (repeatable, comma-separable)')
|
|
293
657
|
[CompletionResult]::new('--expect-in', '--expect-in', [CompletionResultType]::ParameterName, 'Stop unless the ROM about to be patched has this checksum, as in crc32=1234abcd (repeatable, comma-separable)')
|
|
294
658
|
[CompletionResult]::new('--patch-header', '--patch-header', [CompletionResultType]::ParameterName, 'Whether a patch applies to the ROM with or without its copier header: auto, keep, or strip [default: auto]')
|
|
@@ -297,8 +661,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
297
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]')
|
|
298
662
|
[CompletionResult]::new('--expect-out', '--expect-out', [CompletionResultType]::ParameterName, 'Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)')
|
|
299
663
|
[CompletionResult]::new('--code', '--code', [CompletionResultType]::ParameterName, 'Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code')
|
|
300
|
-
[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')
|
|
301
|
-
[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')
|
|
302
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')
|
|
303
667
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
304
668
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
@@ -306,9 +670,13 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
306
670
|
[CompletionResult]::new('--no-extract', '--no-extract', [CompletionResultType]::ParameterName, 'Do not look inside archives; treat the input and every patch as raw files')
|
|
307
671
|
[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')
|
|
308
672
|
[CompletionResult]::new('--no-compress', '--no-compress', [CompletionResultType]::ParameterName, 'Write a plain ROM instead of compressing the result')
|
|
673
|
+
[CompletionResult]::new('--raw', '--raw', [CompletionResultType]::ParameterName, 'Write a plain ROM instead of compressing the result')
|
|
309
674
|
[CompletionResult]::new('--repair-checksum', '--repair-checksum', [CompletionResultType]::ParameterName, 'Recompute the ROM''s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)')
|
|
310
675
|
[CompletionResult]::new('--ignore-checksum-validation', '--ignore-checksum-validation', [CompletionResultType]::ParameterName, 'Apply the patch even when its own checksums do not match. Can produce a broken ROM')
|
|
311
676
|
[CompletionResult]::new('--tui', '--tui', [CompletionResultType]::ParameterName, 'Ask for each patch''s name, version, and author, then apply and write a bundle. Needs a terminal')
|
|
677
|
+
[CompletionResult]::new('--force', '--force', [CompletionResultType]::ParameterName, 'Overwrite the output if it already exists (without this, the command stops instead)')
|
|
678
|
+
[CompletionResult]::new('-n', '-n', [CompletionResultType]::ParameterName, 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing')
|
|
679
|
+
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing')
|
|
312
680
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
313
681
|
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
314
682
|
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
@@ -319,6 +687,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
319
687
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
320
688
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
321
689
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
690
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
691
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
322
692
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
323
693
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
324
694
|
break
|
|
@@ -337,8 +707,11 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
337
707
|
[CompletionResult]::new('--with', '--with', [CompletionResultType]::ParameterName, 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)')
|
|
338
708
|
[CompletionResult]::new('--without', '--without', [CompletionResultType]::ParameterName, 'Turn off a bundle patch, matched by name or file name (repeatable)')
|
|
339
709
|
[CompletionResult]::new('--compress-format', '--compress-format', [CompletionResultType]::ParameterName, 'Format to compress the patched ROM into [default: from the --output extension]')
|
|
710
|
+
[CompletionResult]::new('--format', '--format', [CompletionResultType]::ParameterName, 'Format to compress the patched ROM into [default: from the --output extension]')
|
|
340
711
|
[CompletionResult]::new('--compress-codec', '--compress-codec', [CompletionResultType]::ParameterName, 'Compression method to use, as codec or codec:level (repeatable, comma-separable)')
|
|
712
|
+
[CompletionResult]::new('--codec', '--codec', [CompletionResultType]::ParameterName, 'Compression method to use, as codec or codec:level (repeatable, comma-separable)')
|
|
341
713
|
[CompletionResult]::new('--compress-level', '--compress-level', [CompletionResultType]::ParameterName, 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]')
|
|
714
|
+
[CompletionResult]::new('--level', '--level', [CompletionResultType]::ParameterName, 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]')
|
|
342
715
|
[CompletionResult]::new('--assume-in', '--assume-in', [CompletionResultType]::ParameterName, 'Take this checksum on trust instead of reading the ROM to compute it, as in crc32=1234abcd (repeatable, comma-separable)')
|
|
343
716
|
[CompletionResult]::new('--expect-in', '--expect-in', [CompletionResultType]::ParameterName, 'Stop unless the ROM about to be patched has this checksum, as in crc32=1234abcd (repeatable, comma-separable)')
|
|
344
717
|
[CompletionResult]::new('--patch-header', '--patch-header', [CompletionResultType]::ParameterName, 'Whether a patch applies to the ROM with or without its copier header: auto, keep, or strip [default: auto]')
|
|
@@ -347,8 +720,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
347
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]')
|
|
348
721
|
[CompletionResult]::new('--expect-out', '--expect-out', [CompletionResultType]::ParameterName, 'Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)')
|
|
349
722
|
[CompletionResult]::new('--code', '--code', [CompletionResultType]::ParameterName, 'Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code')
|
|
350
|
-
[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')
|
|
351
|
-
[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')
|
|
352
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')
|
|
353
726
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
354
727
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
@@ -356,9 +729,13 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
356
729
|
[CompletionResult]::new('--no-extract', '--no-extract', [CompletionResultType]::ParameterName, 'Do not look inside archives; treat the input and every patch as raw files')
|
|
357
730
|
[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')
|
|
358
731
|
[CompletionResult]::new('--no-compress', '--no-compress', [CompletionResultType]::ParameterName, 'Write a plain ROM instead of compressing the result')
|
|
732
|
+
[CompletionResult]::new('--raw', '--raw', [CompletionResultType]::ParameterName, 'Write a plain ROM instead of compressing the result')
|
|
359
733
|
[CompletionResult]::new('--repair-checksum', '--repair-checksum', [CompletionResultType]::ParameterName, 'Recompute the ROM''s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)')
|
|
360
734
|
[CompletionResult]::new('--ignore-checksum-validation', '--ignore-checksum-validation', [CompletionResultType]::ParameterName, 'Apply the patch even when its own checksums do not match. Can produce a broken ROM')
|
|
361
735
|
[CompletionResult]::new('--tui', '--tui', [CompletionResultType]::ParameterName, 'Ask for each patch''s name, version, and author, then apply and write a bundle. Needs a terminal')
|
|
736
|
+
[CompletionResult]::new('--force', '--force', [CompletionResultType]::ParameterName, 'Overwrite the output if it already exists (without this, the command stops instead)')
|
|
737
|
+
[CompletionResult]::new('-n', '-n', [CompletionResultType]::ParameterName, 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing')
|
|
738
|
+
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing')
|
|
362
739
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
363
740
|
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
364
741
|
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
@@ -369,6 +746,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
369
746
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
370
747
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
371
748
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
749
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
750
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
372
751
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
373
752
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
374
753
|
break
|
|
@@ -405,6 +784,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
405
784
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
406
785
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
407
786
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
787
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
788
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
408
789
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
409
790
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
410
791
|
break
|
|
@@ -418,8 +799,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
418
799
|
[CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Where to write the patch. Required unless --plan is used')
|
|
419
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)')
|
|
420
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')
|
|
421
|
-
[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')
|
|
422
|
-
[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')
|
|
423
804
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
424
805
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
425
806
|
[CompletionResult]::new('--solid-system', '--solid-system', [CompletionResultType]::ParameterName, 'SOLID patches only: console the ROM is for')
|
|
@@ -435,6 +816,7 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
435
816
|
[CompletionResult]::new('--ignore-checksum-validation', '--ignore-checksum-validation', [CompletionResultType]::ParameterName, 'Write the patch even when the format''s own consistency checks fail, and leave its checksums out')
|
|
436
817
|
[CompletionResult]::new('--checksum-name', '--checksum-name', [CompletionResultType]::ParameterName, 'Put the original ROM''s crc32 in the patch file name, as [crc32:HEX]')
|
|
437
818
|
[CompletionResult]::new('--solid-extended', '--solid-extended', [CompletionResultType]::ParameterName, 'SOLID patches only: use the extended header even with none of the extended fields filled in')
|
|
819
|
+
[CompletionResult]::new('--force', '--force', [CompletionResultType]::ParameterName, 'Overwrite the output if it already exists (without this, the command stops instead)')
|
|
438
820
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
439
821
|
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
440
822
|
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
@@ -445,6 +827,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
445
827
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
446
828
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
447
829
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
830
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
831
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
448
832
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
449
833
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
450
834
|
break
|
|
@@ -480,6 +864,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
480
864
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
481
865
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
482
866
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
867
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
868
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
483
869
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
484
870
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
485
871
|
[CompletionResult]::new('create', 'create', [CompletionResultType]::ParameterValue, 'Write a rom-weaver-bundle.json recipe from local ROM and patch files')
|
|
@@ -514,13 +900,15 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
514
900
|
[CompletionResult]::new('--output', '--output', [CompletionResultType]::ParameterName, 'Where to write the bundle. Name it rom-weaver-bundle.json, or add .gz or .zst to compress it')
|
|
515
901
|
[CompletionResult]::new('--bundle', '--bundle', [CompletionResultType]::ParameterName, 'Also pack the bundle and its ROM and patches into one shareable archive, such as release.zip')
|
|
516
902
|
[CompletionResult]::new('--bundle-rom', '--bundle-rom', [CompletionResultType]::ParameterName, 'Pack this file into --bundle as the ROM, while --input supplies the checksums and metadata')
|
|
517
|
-
[CompletionResult]::new('--checksum', '--checksum', [CompletionResultType]::ParameterName, 'Which checksums to record for the ROM (repeatable) [default: crc32,md5,sha1]')
|
|
903
|
+
[CompletionResult]::new('--checksum', '--checksum', [CompletionResultType]::ParameterName, 'Which checksums to record for the ROM (repeatable, comma-separable) [default: crc32,md5,sha1]')
|
|
904
|
+
[CompletionResult]::new('--algo', '--algo', [CompletionResultType]::ParameterName, 'Which checksums to record for the ROM (repeatable, comma-separable) [default: crc32,md5,sha1]')
|
|
518
905
|
[CompletionResult]::new('--from', '--from', [CompletionResultType]::ParameterName, 'Build the bundle from a hand-written rom-weaver-bundle.json instead of flags. Use - to read it from stdin')
|
|
519
906
|
[CompletionResult]::new('--schema-ref', '--schema-ref', [CompletionResultType]::ParameterName, 'Record this $schema URL in the bundle so editors can validate it. Left out unless asked for')
|
|
520
907
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
521
908
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
522
909
|
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
523
910
|
[CompletionResult]::new('--no-bundle-rom', '--no-bundle-rom', [CompletionResultType]::ParameterName, 'Keep the ROM out of --bundle and record only its checksums, so whoever applies the bundle brings their own copy')
|
|
911
|
+
[CompletionResult]::new('--force', '--force', [CompletionResultType]::ParameterName, 'Overwrite the output if it already exists (without this, the command stops instead)')
|
|
524
912
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
525
913
|
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
526
914
|
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
@@ -531,6 +919,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
531
919
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
532
920
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
533
921
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
922
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
923
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
534
924
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
535
925
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
536
926
|
break
|
|
@@ -557,6 +947,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
557
947
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
558
948
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
559
949
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
950
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
951
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
560
952
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
561
953
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
562
954
|
break
|
|
@@ -573,6 +965,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
573
965
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
574
966
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
575
967
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
968
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
969
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
576
970
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
577
971
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
578
972
|
break
|
|
@@ -608,6 +1002,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
608
1002
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
609
1003
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
610
1004
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
1005
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
1006
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
611
1007
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
612
1008
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
613
1009
|
[CompletionResult]::new('ppf-undo', 'ppf-undo', [CompletionResultType]::ParameterValue, 'Undo a PPF3 patch, using the undo data stored inside it')
|
|
@@ -631,6 +1027,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
631
1027
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
632
1028
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
633
1029
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
1030
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
1031
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
634
1032
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
635
1033
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
636
1034
|
break
|
|
@@ -664,6 +1062,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
664
1062
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
665
1063
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
666
1064
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
1065
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
1066
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
667
1067
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help')
|
|
668
1068
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help')
|
|
669
1069
|
break
|
|
@@ -682,8 +1082,11 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
682
1082
|
[CompletionResult]::new('--with', '--with', [CompletionResultType]::ParameterName, 'Turn on a bundle patch the bundle leaves off by default, matched by name or file name (repeatable)')
|
|
683
1083
|
[CompletionResult]::new('--without', '--without', [CompletionResultType]::ParameterName, 'Turn off a bundle patch, matched by name or file name (repeatable)')
|
|
684
1084
|
[CompletionResult]::new('--compress-format', '--compress-format', [CompletionResultType]::ParameterName, 'Format to compress the patched ROM into [default: from the --output extension]')
|
|
1085
|
+
[CompletionResult]::new('--format', '--format', [CompletionResultType]::ParameterName, 'Format to compress the patched ROM into [default: from the --output extension]')
|
|
685
1086
|
[CompletionResult]::new('--compress-codec', '--compress-codec', [CompletionResultType]::ParameterName, 'Compression method to use, as codec or codec:level (repeatable, comma-separable)')
|
|
1087
|
+
[CompletionResult]::new('--codec', '--codec', [CompletionResultType]::ParameterName, 'Compression method to use, as codec or codec:level (repeatable, comma-separable)')
|
|
686
1088
|
[CompletionResult]::new('--compress-level', '--compress-level', [CompletionResultType]::ParameterName, 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]')
|
|
1089
|
+
[CompletionResult]::new('--level', '--level', [CompletionResultType]::ParameterName, 'How hard to compress: min, very-low, low, medium, high, very-high, or max [default: max]')
|
|
687
1090
|
[CompletionResult]::new('--assume-in', '--assume-in', [CompletionResultType]::ParameterName, 'Take this checksum on trust instead of reading the ROM to compute it, as in crc32=1234abcd (repeatable, comma-separable)')
|
|
688
1091
|
[CompletionResult]::new('--expect-in', '--expect-in', [CompletionResultType]::ParameterName, 'Stop unless the ROM about to be patched has this checksum, as in crc32=1234abcd (repeatable, comma-separable)')
|
|
689
1092
|
[CompletionResult]::new('--patch-header', '--patch-header', [CompletionResultType]::ParameterName, 'Whether a patch applies to the ROM with or without its copier header: auto, keep, or strip [default: auto]')
|
|
@@ -692,8 +1095,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
692
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]')
|
|
693
1096
|
[CompletionResult]::new('--expect-out', '--expect-out', [CompletionResultType]::ParameterName, 'Fail unless the patched ROM has this checksum, as in sha1=abc... (repeatable, comma-separable)')
|
|
694
1097
|
[CompletionResult]::new('--code', '--code', [CompletionResultType]::ParameterName, 'Game Genie or GameShark/Pro Action Replay code to bake into the ROM. Repeat for each code')
|
|
695
|
-
[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')
|
|
696
|
-
[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')
|
|
697
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')
|
|
698
1101
|
[CompletionResult]::new('-j', '-j', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
699
1102
|
[CompletionResult]::new('--threads', '--threads', [CompletionResultType]::ParameterName, 'How many threads to use at most. auto uses every core; a format may still use fewer')
|
|
@@ -701,9 +1104,13 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
701
1104
|
[CompletionResult]::new('--no-extract', '--no-extract', [CompletionResultType]::ParameterName, 'Do not look inside archives; treat the input and every patch as raw files')
|
|
702
1105
|
[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')
|
|
703
1106
|
[CompletionResult]::new('--no-compress', '--no-compress', [CompletionResultType]::ParameterName, 'Write a plain ROM instead of compressing the result')
|
|
1107
|
+
[CompletionResult]::new('--raw', '--raw', [CompletionResultType]::ParameterName, 'Write a plain ROM instead of compressing the result')
|
|
704
1108
|
[CompletionResult]::new('--repair-checksum', '--repair-checksum', [CompletionResultType]::ParameterName, 'Recompute the ROM''s internal header checksum afterwards, so the console does not reject it (SNES, NES, GB, GBA, Mega Drive, SMS, N64, NDS)')
|
|
705
1109
|
[CompletionResult]::new('--ignore-checksum-validation', '--ignore-checksum-validation', [CompletionResultType]::ParameterName, 'Apply the patch even when its own checksums do not match. Can produce a broken ROM')
|
|
706
1110
|
[CompletionResult]::new('--tui', '--tui', [CompletionResultType]::ParameterName, 'Ask for each patch''s name, version, and author, then apply and write a bundle. Needs a terminal')
|
|
1111
|
+
[CompletionResult]::new('--force', '--force', [CompletionResultType]::ParameterName, 'Overwrite the output if it already exists (without this, the command stops instead)')
|
|
1112
|
+
[CompletionResult]::new('-n', '-n', [CompletionResultType]::ParameterName, 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing')
|
|
1113
|
+
[CompletionResult]::new('--dry-run', '--dry-run', [CompletionResultType]::ParameterName, 'Print the plan (inputs, patches, output, format, codec, level, threads) and stop without writing')
|
|
707
1114
|
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
708
1115
|
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
709
1116
|
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
@@ -714,6 +1121,8 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
714
1121
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
715
1122
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
716
1123
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
1124
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
1125
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
717
1126
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
718
1127
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
719
1128
|
break
|
|
@@ -730,6 +1139,26 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
730
1139
|
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
731
1140
|
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
732
1141
|
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
1142
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
1143
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
1144
|
+
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
1145
|
+
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
1146
|
+
break
|
|
1147
|
+
}
|
|
1148
|
+
'rom-weaver;formats' {
|
|
1149
|
+
[CompletionResult]::new('--log-level', '--log-level', [CompletionResultType]::ParameterName, 'How much rom-weaver logs to stderr. Separate from the normal output [default: off]')
|
|
1150
|
+
[CompletionResult]::new('--json', '--json', [CompletionResultType]::ParameterName, 'Print one JSON object per line instead of human-readable output')
|
|
1151
|
+
[CompletionResult]::new('--progress', '--progress', [CompletionResultType]::ParameterName, 'Show progress even when output is piped to a file or another program')
|
|
1152
|
+
[CompletionResult]::new('--no-progress', '--no-progress', [CompletionResultType]::ParameterName, 'Hide progress')
|
|
1153
|
+
[CompletionResult]::new('-v', '-v', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
1154
|
+
[CompletionResult]::new('--verbose', '--verbose', [CompletionResultType]::ParameterName, 'Log more: -v for info, -vv for debug, -vvv for trace')
|
|
1155
|
+
[CompletionResult]::new('-q', '-q', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
1156
|
+
[CompletionResult]::new('--quiet', '--quiet', [CompletionResultType]::ParameterName, 'Log errors only')
|
|
1157
|
+
[CompletionResult]::new('--dep-trace', '--dep-trace', [CompletionResultType]::ParameterName, 'Also log trace output from bundled libraries (for bug reports)')
|
|
1158
|
+
[CompletionResult]::new('--color', '--color', [CompletionResultType]::ParameterName, 'Keep colors even when output is piped')
|
|
1159
|
+
[CompletionResult]::new('--no-color', '--no-color', [CompletionResultType]::ParameterName, 'Turn colors off')
|
|
1160
|
+
[CompletionResult]::new('-y', '-y', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
1161
|
+
[CompletionResult]::new('--yes', '--yes', [CompletionResultType]::ParameterName, 'Answer yes to every confirmation instead of asking. Does not choose between candidates')
|
|
733
1162
|
[CompletionResult]::new('-h', '-h', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
734
1163
|
[CompletionResult]::new('--help', '--help', [CompletionResultType]::ParameterName, 'Print help (see more with ''--help'')')
|
|
735
1164
|
break
|
|
@@ -738,6 +1167,7 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
738
1167
|
[CompletionResult]::new('probe', 'probe', [CompletionResultType]::ParameterValue, 'Identify a file: its format, its platform, and any header it carries')
|
|
739
1168
|
[CompletionResult]::new('extract', 'extract', [CompletionResultType]::ParameterValue, 'Unpack an archive or single-payload compressed format')
|
|
740
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')
|
|
741
1171
|
[CompletionResult]::new('ingest', 'ingest', [CompletionResultType]::ParameterValue, 'Sort a file into ROMs and patches, unpacking and hashing along the way')
|
|
742
1172
|
[CompletionResult]::new('compress', 'compress', [CompletionResultType]::ParameterValue, 'Pack files into an archive, disc image, or ROM-specific compressed format')
|
|
743
1173
|
[CompletionResult]::new('trim', 'trim', [CompletionResultType]::ParameterValue, 'Cut the padding off a ROM, or put it back')
|
|
@@ -747,6 +1177,7 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
747
1177
|
[CompletionResult]::new('plan-extract-batch', 'plan-extract-batch', [CompletionResultType]::ParameterValue, 'Plan a memory-/thread-aware concurrent extraction schedule from per-job source sizes (no I/O)')
|
|
748
1178
|
[CompletionResult]::new('weave', 'weave', [CompletionResultType]::ParameterValue, 'Apply one or more patches to a ROM, in order (same as `patch apply`)')
|
|
749
1179
|
[CompletionResult]::new('completions', 'completions', [CompletionResultType]::ParameterValue, 'Print a tab-completion script for your shell')
|
|
1180
|
+
[CompletionResult]::new('formats', 'formats', [CompletionResultType]::ParameterValue, 'List the formats, codecs, and checksum algorithms this build supports')
|
|
750
1181
|
[CompletionResult]::new('help', 'help', [CompletionResultType]::ParameterValue, 'Print this message or the help of the given subcommand(s)')
|
|
751
1182
|
break
|
|
752
1183
|
}
|
|
@@ -759,6 +1190,49 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
759
1190
|
'rom-weaver;help;checksum' {
|
|
760
1191
|
break
|
|
761
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
|
+
}
|
|
762
1236
|
'rom-weaver;help;ingest' {
|
|
763
1237
|
break
|
|
764
1238
|
}
|
|
@@ -814,6 +1288,9 @@ Register-ArgumentCompleter -Native -CommandName 'rom-weaver' -ScriptBlock {
|
|
|
814
1288
|
'rom-weaver;help;completions' {
|
|
815
1289
|
break
|
|
816
1290
|
}
|
|
1291
|
+
'rom-weaver;help;formats' {
|
|
1292
|
+
break
|
|
1293
|
+
}
|
|
817
1294
|
'rom-weaver;help;help' {
|
|
818
1295
|
break
|
|
819
1296
|
}
|