# falcon-listr-update-renderer

> Customized Listr update renderer created for the SFDX-Falcon CLI plugin. Based on listr-update-renderer, created by Sam Verschueren.

Latest version **0.4.2** (published 2018-07-27) · MIT license · 0 weekly downloads

## Install

```sh
npm install falcon-listr-update-renderer
pnpm add falcon-listr-update-renderer
yarn add falcon-listr-update-renderer
bun add falcon-listr-update-renderer
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.4.2 |
| Published | 2018-07-27 |
| First published | 2018-07-25 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Node | >=4 |
| Dependencies | 8 |
| Unpacked size | 6.5 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Author | Vivek M. Chawla |
| Maintainers | vivekmchawla |
| Keywords | listr, update, renderer, ora, logupdate, rendering, sfdx-falcon |

## Links

- npm: https://www.npmjs.com/package/falcon-listr-update-renderer
- Repository: https://github.com/sfdx-isv/falcon-listr-update-renderer
- Homepage: https://github.com/sfdx-isv/falcon-listr-update-renderer#readme
- Issues: https://github.com/sfdx-isv/falcon-listr-update-renderer/issues
- npm.io page: https://npm.io/package/falcon-listr-update-renderer

## Dependencies (8)

- [chalk](https://npm.io/package/chalk.md) ^2.4.1
- [figures](https://npm.io/package/figures.md) ^1.7.0
- [log-update](https://npm.io/package/log-update.md) ^1.0.2
- [strip-ansi](https://npm.io/package/strip-ansi.md) ^3.0.1
- [log-symbols](https://npm.io/package/log-symbols.md) ^1.0.2
- [cli-truncate](https://npm.io/package/cli-truncate.md) ^0.2.1
- [indent-string](https://npm.io/package/indent-string.md) ^3.0.0
- [elegant-spinner](https://npm.io/package/elegant-spinner.md) ^1.0.1

## Alternatives

- [localforage](https://npm.io/package/localforage.md) — 6.2M weekly downloads
- [localforage-observable](https://npm.io/package/localforage-observable.md) — 30.8K weekly downloads
- [@y/y](https://npm.io/package/@y/y.md) — 30.1K weekly downloads
- [@metaobjectsdev/render](https://npm.io/package/@metaobjectsdev/render.md) — 3.5K weekly downloads
- [@ledgerhq/coin-algorand](https://npm.io/package/@ledgerhq/coin-algorand.md) — 1.1K weekly downloads

## Recent versions

- 0.4.2 (latest) — 2018-07-27
- 0.4.1 — 2018-07-25

## README

# falcon-listr-update-renderer

> Note: This renderer is based on v0.4.0 of the original [listr-update-renderer](https://github.com/SamVerschueren/listr-update-renderer), created by Sam Verschueren.


## Install

```
$ npm install --save falcon-listr-update-renderer
```


## Usage

```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();
```


## Options

These options should be provided in the [Listr](https://github.com/SamVerschueren/listr) options object.

### showSubtasks

Type: `boolean`<br>
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`<br>
Default: `true`

Set to `false` if you don't want subtasks to be hidden after the main task succeed.

### clearOutput

Type: `boolean`<br>
Default: `false`

Clear the output when all the tasks are executed succesfully.


## Related

- [listr](https://github.com/SamVerschueren/listr) - Terminal task list
- [listr-update-renderer](https://github.com/SamVerschueren/listr-update-renderer) - Original update renderer
- [listr-verbose-renderer](https://github.com/SamVerschueren/listr-verbose-renderer) - Listr verbose renderer
- [listr-silent-renderer](https://github.com/SamVerschueren/listr-silent-renderer) - Suppress Listr rendering output

---
_Source: https://npm.io/package/falcon-listr-update-renderer · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
