/**
 * penguins-eggs
 * lib: select_regiones.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 selectRegions(selected = '') {
    const questions = [
        {
            type: 'list',
            name: 'region',
            message: 'Select your region: ',
            choices: ['Atlantic', 'Africa', 'America', 'Antarctica', 'Artic', 'Australia', 'Europe', 'India', 'Europe', 'Pacific'],
            default: selected,
        },
    ];
    return new Promise(function (resolve) {
        inquirer.prompt(questions).then(function (options) {
            resolve(options.region);
        });
    });
}
exports.default = selectRegions;
