Listr verbose renderer
$ npm install --save listr-verbose-renderer
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.
These options should be provided in the Listr options object.
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.
- listr - Terminal task list
- listr-update-renderer - Listr update renderer
- listr-silent-renderer - Suppress Listr rendering output
MIT © Sam Verschueren
Get professional support for this package with a Tidelift subscription
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.
Tidelift helps make open source sustainable for maintainers while giving companies
assurances about security, maintenance, and licensing for their dependencies.