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

feat: @std/cli should have a progress bar function #6374

Open
BlackAsLight opened this issue Jan 31, 2025 · 1 comment
Open

feat: @std/cli should have a progress bar function #6374

BlackAsLight opened this issue Jan 31, 2025 · 1 comment

Comments

@BlackAsLight
Copy link
Contributor

The @std/cli has a spinner function to display the fact that something is loading, likewise we should also have a progress bar function that enables us to show the progress of something happening.

@timreichen
Copy link
Contributor

I am in favour of adding this to std.
What should it look like by default and what should be customizable?
There are many different cli progress bar styles in cli land, some with, some without percentage and/or n/m displays, prefixes, suffixes etc.
[####----------------], [####----------------] 20%, [####----------------] 4/20
[###>----------------], [###>----------------] 20%, [###>----------------] 4/20
[===>----------------], [===>----------------] 20%, [===>----------------] 4/20
[■■■■□□□□□□□□□□□□□□□□], [■■■■□□□□□□□□□□□□□□□□] 20%, [■■■■□□□□□□□□□□□□□□□□] 4/20
▓▓▓▓░░░░░░░░░░░░░░░░, ▓▓▓▓░░░░░░░░░░░░░░░░ 20%, ▓▓▓▓░░░░░░░░░░░░░░░░ 4/20

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

No branches or pull requests

2 participants