/**
 * penguins-eggs
 * lib: get_gateway.ts
 * author: Piero Proietti
 * email: piero.proietti@gmail.com
 * license: MIT
 */
'use strict';
Object.defineProperty(exports, "__esModule", { value: true });
const inquirer = require('inquirer');
async function getGateway(initial) {
    return new Promise(function (resolve) {
        const questions = [
            {
                type: 'input',
                name: 'gateway',
                message: 'What is gateway of this network? ',
                default: initial,
            },
        ];
        inquirer.prompt(questions).then(function (options) {
            resolve(options.gateway);
        });
    });
}
exports.default = getGateway;
