Package Exports
- listr-compose
This package does not declare an exports field, so the exports above have been automatically detected and optimized by JSPM instead. If any package subpath is missing, it is recommended to post an issue to the original package (listr-compose) to support the "exports" field. If that is not possible, create a JSPM override to customize the exports field for this package.
Readme
Listr Compose
Compose multiple listr task lists into one.
Install
npm install --save listr-composeUsage
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