falcon-listr-update-renderer
Note: This renderer is based on v0.4.0 of the original listr-update-renderer, created by Sam Verschueren.
Install
$ npm install --save falcon-listr-update-renderer
Usage
const FalconUpdaterRenderer = ;const Listr = ; const list = title: 'foo' Promise renderer: FalconUpdaterRenderer collapse: false; list;
Options
These options should be provided in the Listr options object.
showSubtasks
Type: boolean
Default: true
Set to false
if you want to disable the rendering of the subtasks. Subtasks will be rendered if an error occurred in one of them.
collapse
Type: boolean
Default: true
Set to false
if you don't want subtasks to be hidden after the main task succeed.
clearOutput
Type: boolean
Default: false
Clear the output when all the tasks are executed succesfully.
Related
- listr - Terminal task list
- listr-update-renderer - Original update renderer
- listr-verbose-renderer - Listr verbose renderer
- listr-silent-renderer - Suppress Listr rendering output