UNPKG

boil-cli-tool

Version:

CLI tool - boilerplate template manager and generator

16 lines (15 loc) 552 B
"use strict"; Object.defineProperty(exports, "__esModule", { value: true }); exports.templateArgsTable = void 0; // packages const cli_ux_1 = require("cli-ux"); exports.templateArgsTable = (array, trigger, template) => { console.log(`\nboil ${trigger} ${template} ARGS\n`); return cli_ux_1.cli.table(array, { name: { minWidth: 15, header: "Name [--]" }, shorthand: { minWidth: 20, header: "Shorthand [-]" }, default: { minWidth: 15 }, options: { minWidth: 10 }, description: { minWidth: 30 }, }); };