🎯 Goal
For large projects with thousands of files, eko save and eko restore give no visual feedback. Add an optional real-time progress bar (file count / total) printed to stderr so users can see the operation progressing.
💡 Expected Behavior
$ eko save
Saving snapshot... [████████████████░░░░] 1234/1500 files
Snapshot saved: 8c9d1a2f
🛠️ Implementation Steps
- Add a
--progress flag (default true when stdout is a TTY) to cmd/save.go and cmd/restore.go.
- Use an atomic counter in
internal/util/fs.go worker pool to track copied file count.
- Print a carriage-return-based progress line to stderr using ANSI escape codes (no external dependency needed).
- Add unit tests verifying the counter increments correctly.
📖 See full details in GOOD_FIRST_ISSUES.md — Issue #13
🌟 Great for first-time contributors! Read CONTRIBUTING.md to get started.
🎯 Goal
For large projects with thousands of files,
eko saveandeko restoregive no visual feedback. Add an optional real-time progress bar (file count / total) printed to stderr so users can see the operation progressing.💡 Expected Behavior
🛠️ Implementation Steps
--progressflag (defaulttruewhen stdout is a TTY) tocmd/save.goandcmd/restore.go.internal/util/fs.goworker pool to track copied file count.