devmatteini / dra

A command line tool to download release assets from GitHub

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Show download progress

orhun opened this issue · comments

Hello!

I think it would be nice to see the download progress especially for assets that are particularly big.

As a reference, I did something like this in the past using indicatif:

rec

I'd be happy to submit a PR if you have plans for implementing this feature 🐻

Hi @orhun, nice to see you again!

I think it makes sense to use a progress bar instead of just a spinner.

Feel free to submit a PR!

A quick follow up after the PR was merged:
I changed the progress bar template again 😅.

At the end, I went with this minimal template {spinner:.blue} {msg} {percent}% ({eta}).
I think it provides more feedback than just the spinner, but keeps things simple without that huge bar that didn't fit very well.

dra-progress-bar-minimal-template

At the end, I went with this minimal template {spinner:.blue} {msg} {percent}% ({eta}). I think it provides more feedback than just the spinner, but keeps things simple without that huge bar that didn't fit very well.

That looks even better 👌🏼