You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
[feat] Add progress indicators for long-running operations (#78)
* [feat] Add progress callback and capture output in deps package
Define ProgressFunc type and thread it through Install(),
InstallPreferSource(), and RunPostCreateHooks(). Replace
cmd.Stdout/Stderr = os.Stdout/Stderr with bytes.Buffer capture
to prevent spinner interference, surfacing output only in errors.
* [feat] Wire progress indicators into all commands
Update installDeps, installDepsPreferSource, and runHooks to accept
ProgressFunc. Add progress closures in add, restore, duplicate, and
deps install commands to show per-item [n/m] spinner updates.
* [test] Add tests for progress callbacks and output capture
Add TestInstallProgressCallback, TestInstallOutputCapture,
TestRunPostCreateHooksProgressCallback, and
TestRunPostCreateHooksOutputCapture. Update all existing calls
with nil progress argument.
0 commit comments