UNPKG

vasku

Version:

TVM-Solidity contract development framework

20 lines (19 loc) 573 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.showInitMenu = void 0; const enquirer_1 = require("./enquirer"); const init_1 = require("../actions/init/init"); const colors_1 = require("colors"); async function showInitMenu() { const YES = (0, colors_1.green)('✔'); const choice = await (new enquirer_1.Select({ message: 'Init project', choices: [ YES, enquirer_1.QUIT ] })).run(); if (choice === YES) (0, init_1.init)(); } exports.showInitMenu = showInitMenu;