fix: show help on invalid CLI commands and debounce watch rebuilds

- Change .showHelpOnFail(false) to true for better new-user UX
- Add 100ms debounce to watch mode rebuilds to batch rapid file changes
This commit is contained in:
saberzero1 committed 2026-05-24 17:23:11 +02:00
1 parent 455985f7ef
commit 2455c87167
2 files changed
+14 -10

No files matched your search

+1 -1
View File
@@ -278,7 +278,7 @@ yargs(hideBin(process.argv))
await handlePluginStatus()
},
)
.showHelpOnFail(false)
.showHelpOnFail(true)
.help()
.strict()
.demandCommand().argv