onepub-dev / dcli

An extensive library and tooling for building console/cli applications and scripts using the Dart programming language.
242 stars 28 forks source link

Progress.toList doesn't work #99

Closed bsutton closed 5 months ago

bsutton commented 4 years ago

The toList method is a rather nice idea on the start method however it doesn't work.

Creating a toList to use with a start method doesn't work as toList use forEach which blocks.

When need the toList to somehow function with a standard string 'ls *'.toList() as well as when passed to .start(progress: progress.toList()).

This will allow the results of calling start to be easily pushed into a list.

bsutton commented 5 months ago

fixed in 4.0.1-beta.1