README
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