fix: make CLI bin invoke program parse

This commit is contained in:
Peter Steinberger
2025-11-25 13:22:54 +01:00
parent d62fedda32
commit cadd29e147
4 changed files with 11 additions and 5 deletions

6
bin/warelay.js Normal file
View File

@@ -0,0 +1,6 @@
#!/usr/bin/env node
import("../dist/index.js").then((mod) => {
if (mod?.program?.parseAsync) {
mod.program.parseAsync(process.argv);
}
});