dart-lang / pub

The pub command line tool

Home Page:https://dart.dev/tools/pub/cmd

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Create a spinner while downloading files

jonasfj opened this issue · comments

Try:

rm -rf /tmp/pub-cache; PUB_CACHE=/tmp/pub-cache dart pub get

It doesn't show anything while downloading files, if there is many this could make me thing the process is just hanging.

Do we:

  • want the spinner to leave a line in the terminal, or should we erase it afterwards?
  • want to only start the spinner after x seconds?
  • want to omit the spinner if all dependencies are already downloaded?