SamVerschueren / listr

Terminal task list

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add child tasks dynamically

dougmaitelli opened this issue · comments

Sorry, this is not an issue, but a question.

Since I did not find any clear information around this, I would like to know if it is possible to add dynamically child tasks to Listr from another task.

Basically, one of my tasks is a Promise, and while this promise resolves it may trigger child promises which I would like to appear as child tasks.

Thanks,

Maybe look at this? #50