Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add progress indicators to long running tasks #31

Open
AlexWootton opened this issue Jul 15, 2022 · 2 comments
Open

Add progress indicators to long running tasks #31

AlexWootton opened this issue Jul 15, 2022 · 2 comments
Labels
enhancement New feature or request

Comments

@AlexWootton
Copy link
Contributor

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.

@AlexWootton AlexWootton added enhancement New feature or request labels Jul 15, 2022
@ChaosInTheCRD
Copy link
Contributor

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

@ChaosInTheCRD
Copy link
Contributor

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.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants