Skip to content
New issue

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

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

Already on GitHub? # to your account

feat(clean): add progress bar #25026

Merged
merged 6 commits into from
Aug 14, 2024

Conversation

bartlomieju
Copy link
Member

@bartlomieju bartlomieju commented Aug 13, 2024

Closes #25020

Screen.Recording.2024-08-13.at.23.14.26.mov

@bartlomieju bartlomieju changed the title feat(clean): add progress bar [WIP] feat(clean): add progress bar Aug 13, 2024
let progress_guard =
progress_bar.update_with_prompt(ProgressMessagePrompt::Cleaning, "");

let mut state = CleanState {
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: maybe abstract this initialisation into CleanState::new(no_of_files)

Copy link
Member

@satyarohith satyarohith left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@bartlomieju bartlomieju merged commit b325bf0 into denoland:main Aug 14, 2024
17 checks passed
@bartlomieju bartlomieju deleted the deno_clean_progress branch August 14, 2024 11:04
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

add progress bar to deno clean
4 participants