ask = (question) => {
    return new Promise((resolve) => {
        rl.question(question, (answer) => {
            console.log();
            resolve(answer);
        });
    });
}
This script helps you set up your environment to run this demo in the
emulator or deploy it to Cloud Functions and Hosting. Its use is optional;
see the README for manual setup hints.