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

Added a spinner utility #649

Closed
wants to merge 1 commit into from
Closed

Added a spinner utility #649

wants to merge 1 commit into from

Conversation

yoavram
Copy link

@yoavram yoavram commented Sep 4, 2016

Sometimes you would just like to show the user some progress, but a progress bar is not suitable because you don’t know how much longer it would take. In these cases you might want to display a simple spinner using the spinner() function.

Example usage:

with click.spinner():
        do_something()
        do_something_else()

It looks like this:

spinner

Spinner class based on on a gist by @cevaris.

@untitaker
Copy link
Contributor

Thanks for your contribution, however, I think this is more appropriate as a third-party package, see http://click.pocoo.org/5/contrib/

@untitaker untitaker closed this Sep 4, 2016
@yoavram
Copy link
Author

yoavram commented Sep 4, 2016

OK, I understand, I've created a contrib repo called "click-spinner", could I put it under click-contrib?

@untitaker
Copy link
Contributor

I've invited you, you should be able to just transfer your repo to the org. Your access to the repo will be preserved, but you won't have write-access to other repos.

@yoavram
Copy link
Author

yoavram commented Sep 4, 2016

Done. Code moved to click-contrib/click-spinner. 10x.

yoavram pushed a commit to click-contrib/click-spinner that referenced this pull request Sep 4, 2016
@github-actions github-actions bot locked as resolved and limited conversation to collaborators Nov 13, 2020
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants