JohannesWiesner / demetrius

A repository for finding and copying files while preserving their folder structure
MIT License
2 stars 0 forks source link

Switch over to halo #3

Closed JohannesWiesner closed 7 months ago

JohannesWiesner commented 1 year ago

Maybe it would be better so switch over to halo, because here we could use function decorators and then the code would be way less verbose:

https://github.com/manrajgrover/halo

One could then do something like:

if verbose:
  with Halo(text='Loading', spinner='dots'):
      function()
else:
     function()