Skip to content

Show a live progress bar for each file-parsing step - #32

Merged
TomasVotruba merged 1 commit into
mainfrom
add-progress-bar
Sep 16, 2026
Merged

TomasVotruba merged 1 commit into
mainfrom
add-progress-bar

Conversation

@TomasVotruba

Copy link
Copy Markdown
Member

Add a rector-style live progress bar, like the one in TomasVotruba/reco, so long runs (e.g. mautic with vendor) show progress instead of hanging silently.

New progress.go:

  • renderProgressBar - Symfony-style bar (label done/total [===>---] NN%), redrawn in place with a carriage return
  • progressEach - reads each file and drives the bar; skipped on a non-terminal run so piped output stays clean

Bars go to stderr (step text stays on stdout) for four phases: scanning, parsing (project + vendor), collecting, applying.

@TomasVotruba
TomasVotruba merged commit 8d2fb89 into main Sep 16, 2026
4 checks passed
@TomasVotruba
TomasVotruba deleted the add-progress-bar branch September 16, 2026 08:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Development

Successfully merging this pull request may close these issues.

1 participant