Skip to content
This repository was archived by the owner on Feb 16, 2022. It is now read-only.

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

12 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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

About

Compose multiple listr task lists into one.

Topics

Resources

Stars

1 star

Watchers

1 watching

Forks

Releases

Packages

Used by

Contributors

Languages