Use @inquirer/prompts for interactive login input
Replaces the hand-rolled readline/raw-mode password prompt with @inquirer/prompts (input + password). The manual approach broke in bun-compiled binaries because bun doesn't properly re-open stdin after closing a readline instance. inquirer handles TTY, raw mode, and password masking correctly across both node and bun runtimes.
This commit is contained in:
@@ -38,6 +38,7 @@
|
||||
"vitest": "2.1.9"
|
||||
},
|
||||
"dependencies": {
|
||||
"@inquirer/prompts": "8.5.2",
|
||||
"commander": "14.0.3",
|
||||
"env-paths": "4.0.0",
|
||||
"exif-reader": "2.0.3",
|
||||
|
||||
Reference in New Issue
Block a user