(label: string)
| 20 | import type { ImpureGraphContext } from "./graph/context-types"; |
| 21 | |
| 22 | const promptVisible = async (label: string): Promise<string> => { |
| 23 | const rl = createInterface({ input: process.stdin, output: process.stdout }); |
| 24 | try { |
| 25 | return (await rl.question(`${label}: `)).trim(); |
| 26 | } finally { |
| 27 | rl.close(); |
| 28 | } |
| 29 | }; |
| 30 | |
| 31 | /** |
| 32 | * Reads a line from stdin without echoing characters, masking each typed |
no test coverage detected