UNPKG

vasku

Version:

TVM-Solidity contract development framework

18 lines (15 loc) 357 B
import { QUIT, Select } from './enquirer' import { init } from '../actions/init/init' import { green } from 'colors' export async function showInitMenu (): Promise<void> { const YES = green('✔') const choice = await (new Select({ message: 'Init project', choices: [ YES, QUIT ] })).run() if (choice === YES) init() }