Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
initCli(globalUsage) {
terminal.setDefault({
logo: env.logo,
color: 'cyan',
lang: 'en'
});
cli.init({
pkg: { name: env.id, bin: { [env.id]: '' } } // eslint-disable-line unicorn/prevent-abbreviations
});
cli.initTasksList(paths.workflow.cliTasks);
const tasks = ['assets', 'icons', 'local', 'scripts', 'styles'];
const installScopes = ['workflow', 'vendors'];