@nswhp/golden-path
Version:
Generate all the recommended golden paths
19 lines (18 loc) • 671 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.goldenPathQuestion = void 0;
const tslib_1 = require("tslib");
const inquirer_1 = (0, tslib_1.__importDefault)(require("inquirer"));
const choice_1 = require("../models/choice");
async function goldenPathQuestion() {
const listOfFiles = [
{ name: 'AWS-CDK', value: choice_1.GoldenPathValue.AWS_CDK },
];
return await inquirer_1.default.prompt([{
name: 'goldenPath',
type: 'list',
message: 'Select a golden path:',
choices: listOfFiles,
}]);
}
exports.goldenPathQuestion = goldenPathQuestion;