/**
 * penguins-eggs
 * lib: get_netmask.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 getNetmask(initial) {
    return new Promise(function (resolve) {
        const questions = [
            {
                type: 'input',
                name: 'netmask',
                message: 'What is netmask of this computer? ',
                default: initial,
            },
        ];
        inquirer.prompt(questions).then(function (options) {
            resolve(options.netmask);
        });
    });
}
exports.default = getNetmask;
