export const ask = async (question: string): Promise => { let answer = ""; console.write(question); console.write("\n"); for await (const line of console) { answer = line; break; } return answer; };