UNPKG

workplus-cli

Version:

A simple CLI for scaffolding workplus projects.

18 lines (16 loc) 504 B
const colors = require('colors'); exports.logCompleteMsg = (opts, name) => { console.log(''); console.log(' #Generate successful \n'.gray); console.log(' To get started: \n'.green); console.log(' cd ' + name); if (Array.isArray(opts.bash)) { opts.bash.forEach(function(item){ console.log(' ' + item ); }) } if (opts.readme) { console.log('\n Documentation can be found at ' + opts.readme.cyan + '\n'); } console.log(' 🐳 All finished, Good luck!'); }