How to use the @absolunet/terminal.terminal.setDefault function in @absolunet/terminal

To help you get started, we’ve selected a few @absolunet/terminal examples, based on popular ways it is used in public projects.

Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.

github absolunet / nwayo / packages / workflow / helpers / util.js View on Github external
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'];