listr-verbose-renderer ![Build Status](https://camo.githubusercontent.com/7f67a241d6bf7dd9e04e07d36beb3ad2d6c66d8acbc5356cc61a1d62773f99e6/68747470733a2f2f7472617669732d63692e6f72672f53616d566572736368756572656e2f6c697374722d766572626f73652d72656e64657265722e7376673f6272616e63683d6d6173746572)
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.
Related
- listr - Terminal task list
- listr-update-renderer - Listr update renderer
- listr-silent-renderer - Suppress Listr rendering output
License
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.