chronicle-app / chronicle-etl

📜 A CLI toolkit for extracting and working with your digital history
https://chronicle.app/
MIT License
149 stars 3 forks source link

When using stdout as loader destination, results shouldn't be interlaced with UI updates #31

Closed hyfen closed 2 years ago

hyfen commented 2 years ago
image

(There's also a race condition: if job runs quickly, progress bar updates won't display in between outputs)

The naive/inefficient solution would be to detect stdout as destination, buffer all output, and then only print it in the loader#finish call.