feat: add version flag to CLI, enhance error handling for stdin and argument parsing

This commit is contained in:
2026-06-12 18:57:10 +08:00
parent 3cecb23ea1
commit fd01d78d3d
6 changed files with 32 additions and 27 deletions
+2 -1
View File
@@ -5,7 +5,8 @@
"rand": "./index.ts"
},
"scripts": {
"build": "bun build ./index.ts --compile --outfile dist/rand"
"build": "bun build ./index.ts --compile --outfile dist/rand",
"test": "bun test"
},
"private": true,
"devDependencies": {