How to use the cli-columns function in cli-columns

To help you get started, we’ve selected a few cli-columns 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 shannonmoeller / ygor / packages / tasks / src / tasks.js View on Github external
function run(name) {
		const keys = Object.keys(registry);
		const promise = Promise.resolve();

		if (keys.length === 0) {
			return promise;

		name = name || options._.shift() || 'default';

		const task = registry[name];

		if (!task) {

			return promise;

		const done = time(name, options);

		return promise.then(() => task(options, subtasks)).then(done);


Columnated lists for the CLI.

Latest version published 3 years ago

Package Health Score

62 / 100
Full package analysis

Popular cli-columns functions