1
0
Fork 0
No description
Find a file
Andrew Tomaka 64a2bbace4 Add --verbose flag for real-time file discovery feedback
Implement verbose mode that shows files as they are discovered during
collection rather than just a summary. This provides better user feedback
during the typically slow filesystem traversal phase.

Features:
- Real-time "found: filename" output as files are discovered
- Verbose feedback during collection phase (not archiving phase)
- Simple, focused output that shows filtering effects
- Helps users track progress during potentially slow operations

Changes:
- Add --verbose boolean flag to CLI
- Pass verbose flag to collector constructors
- Display "found: filename" output during file collection
- Add test case to verify verbose output contains expected messages
- Update test suite with helper function to verify output contents
2025-06-12 22:39:32 -04:00
archiver Apply standard Go formatting and update project documentation 2025-06-12 22:02:26 -04:00
collector Add --verbose flag for real-time file discovery feedback 2025-06-12 22:39:32 -04:00
CLAUDE.md Apply standard Go formatting and update project documentation 2025-06-12 22:02:26 -04:00
go.mod Implement collect CLI tool 2025-06-12 21:38:00 -04:00
main.go Add --verbose flag for real-time file discovery feedback 2025-06-12 22:39:32 -04:00
plan.md Add implementation plan for collect CLI tool 2025-06-12 21:23:56 -04:00
README.md Initial commit 2025-06-12 21:10:27 -04:00
test.sh Add --verbose flag for real-time file discovery feedback 2025-06-12 22:39:32 -04:00

collect

CLI tool that collects files recursively matching specific names, maintains their file structure, and adds them to an archive for backup.

Examples

Finds all files named .mise.toml

collect --name .mise.toml ./ backup.tgz

Finds all files nested in a directory that glob matches aet-* (ie. aet-bin)

collect --match aet-*/ ./ backup.zip