1.0.3 • Published 5 years ago

listr-compose v1.0.3

Weekly downloads
5
License
MIT
Repository
github
Last release
5 years ago

Listr Compose

Compose multiple listr task lists into one.

Install

npm install --save listr-compose

Usage

import * as Listr from 'listr';
import compose from 'listr-compose';

const listFoo = new Listr ([
  {
    title: 'Foo',
    task: () => true
  }
]);

const listBar = new Listr ([
  {
    title: 'Bar',
    task: () => true
  }
]);

const listFooBar = compose ( listFoo, listBar );

listFooBar.run ();

License

MIT © Fabio Spampinato

1.0.3

5 years ago

1.0.2

5 years ago

1.0.1

6 years ago

1.0.0

6 years ago