signale
signale copied to clipboard
Progress indicator
Awesome project.
It would be nice to display a progress bar that is dynamically updated. Useful for downloading content. Similar to node-progress
Something like...
signale.progress('Downloading content', {current:0, total:100})
// and then call tick to increase the progress
signale.tick()
displays...
// progress Downloading content [===== ] 29% 39/bps 3.7s
I have tried using node progress along side signale, but it requires an interrupt()
function to be called if you want to log other things during progress. This could be built in, so that if a progress is running, then the new signale.[command] appears above the bar.
I think it could be kept simple and doesn't need to be as advanced as node-progress.
What do you think? Nic
Up please, it's a very good request 🙏