@polderlabs/bizar 10.19.0 → 10.19.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/cli/bin.mjs
CHANGED
|
@@ -192,6 +192,9 @@ async function main() {
|
|
|
192
192
|
// Pass --help to the command. Commands dispatched through util.mjs
|
|
193
193
|
// (audit, init, export, doctor, backup, restore, etc.) don't have
|
|
194
194
|
// their own cli/commands/<name>.mjs — they all live in util.mjs.
|
|
195
|
+
// Direct command modules (bench, release-provenance, verify-release,
|
|
196
|
+
// spec-list, …) have their own --help handling and accept
|
|
197
|
+
// run(cmdArgs); they fall through to the switch below.
|
|
195
198
|
const UTIL_COMMANDS = new Set([
|
|
196
199
|
'audit', 'init', 'export', 'test-gate',
|
|
197
200
|
'doctor', 'repair', 'heads-up', 'backup', 'restore',
|
|
@@ -208,8 +211,6 @@ async function main() {
|
|
|
208
211
|
const { runMigrate } = await import('./migrate.mjs');
|
|
209
212
|
await runMigrate(['--help']);
|
|
210
213
|
return;
|
|
211
|
-
} else {
|
|
212
|
-
mod = await importCommand(cmd);
|
|
213
214
|
}
|
|
214
215
|
if (mod && typeof mod.run === 'function') {
|
|
215
216
|
await mod.run(cmd, cmdArgs, true);
|
package/package.json
CHANGED