jetstack / paranoia

Inspect certificate authorities in container images

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Add progress indicators to long running tasks

AlexWootton opened this issue · comments

We have a few areas in our application where users can be waiting seconds with no output to stdout even though the application is running.

It would be good to give users some indication of life and progress being made to minimise frustration and confusion. A simple message printed to stdout when starting a potentially long running task could be enough. An animated progress wheel would be a nice touch but potentially more effort than it's worth at this stage.

I might be wrong... and I know it would be a decent piece of work... but I believe that bubbletea can do this?

https://github.com/charmbracelet/bubbles/blob/master/progress/progress.go

yeah, thought so. Could be good to consider trying to switch out cobra(?) with bubbletea.