(questionText: string)
| 101 | |
| 102 | |
| 103 | export function passwordQuestion(questionText: string) { |
| 104 | return prompt(questionText, { |
| 105 | hideEchoBack: true, |
| 106 | mask: "" |
| 107 | }); |
| 108 | } |
| 109 | |
| 110 | export function ynQuestion(questionText: string, defaultValue: boolean = false): boolean { |
| 111 | const response = readlineSync.keyInYN(questionText); |