-
Notifications
You must be signed in to change notification settings - Fork 94
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
Feature Request: Progress Bar #51
Comments
Particularly I think the idea of progress bar is very old. Why not use the spin instead? It is enough that when a process finishes, you call another spin, sequentially: Perhaps something like that would be awesome: spin(fn () => sleep(3), 'Installing dependencies...')
->then(fn () => sleep(3), 'Preparing environment...')
->then(fn () => sleep(3), 'Finishing up...'); |
I had no idea that spin was in here. It's not documented. Thank you for the tip.
Subjective. For most cases I'd agree. For my needs:
I also think a progress component would look cool for job batches as a use-case for the framework. |
Amazing work, Jess.
laravel/prompts
is mint 👌I would love to suggest a progress bar component.
It's not really an input, but it is something you could cancel, or it could be combined with a text input - for example entering a URL to download from.
For example:
Http
download support, i.e. sugar forHttp::sink('/path/to/file')->withOptions(['progress' => ...])->get($url)
The text was updated successfully, but these errors were encountered: