Customized Listr update renderer created for the SFDX-Falcon CLI plugin. Based on listr-update-renderer, created by Sam Verschueren.
npm install falcon-listr-update-renderer> Note: This renderer is based on v0.4.0 of the original listr-update-renderer, created by Sam Verschueren.
```
$ npm install --save falcon-listr-update-renderer
`js
const FalconUpdaterRenderer = require('falcon-listr-update-renderer');
const Listr = require('listr');
const list = new Listr([
{
title: 'foo',
task: () => Promise.resolve('bar')
}
], {
renderer: FalconUpdaterRenderer,
collapse: false
});
list.run();
`
These options should be provided in the Listr options object.
Type: booleantrue
Default:
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.
Type: booleantrue
Default:
Set to false if you don't want subtasks to be hidden after the main task succeed.
Type: booleanfalse`
Default:
Clear the output when all the tasks are executed succesfully.
- listr - Terminal task list
- listr-update-renderer - Original update renderer
- listr-verbose-renderer - Listr verbose renderer
- listr-silent-renderer - Suppress Listr rendering output