You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
 
 
Mary Anthony 764404a2d5 Updating for tokens 6 years ago
..
lib Updating for tokens 6 years ago
index.js Updating for tokens 6 years ago
license Updating for tokens 6 years ago
package.json Updating for tokens 6 years ago
readme.md Updating for tokens 6 years ago

readme.md

listr-verbose-renderer Build Status

Listr verbose renderer

Install

$ npm install --save listr-verbose-renderer

Usage

const VerboseRenderer = require('listr-verbose-renderer');
const Listr = require('listr');

const list = new Listr([
	{
		title: 'foo',
		task: () => Promise.resolve('bar')
	}
], {
	renderer: VerboseRenderer
});

list.run();

Note: This renderer supports non-TTY environments.

Options

These options should be provided in the Listr options object.

dateFormat

Type: string false
Default: HH:mm:ss

Format of the rendered timestamp. Use the date-fns string format. If false is passed in, the timestamp will be hidden.

License

MIT © Sam Verschueren