Hi, thank you for your work on dust. This is a suggestion for improvement. The --ignore-directory flag currently does not match subdirectories. This would be very helpful, for example, to analyze a directory containing many repos, each containing directories to ignore: dust -f -X .git -X node_modules ~/dir-with-many-repos.
Possible improvements are:
- Matching the specified names against a candidate's name instead of its relative path.
- Allowing to specify patterns with globs (
**/node_modules) or regexs (.*/node_modules$).
The latter is more complex but more flexible, and would make it so only one flag could/should be specified.
Unfortunately I'm not familiar with Rust. I hope you'll consider implementing this in the future. Thank you!
Hi, thank you for your work on
dust. This is a suggestion for improvement. The--ignore-directoryflag currently does not match subdirectories. This would be very helpful, for example, to analyze a directory containing many repos, each containing directories to ignore:dust -f -X .git -X node_modules ~/dir-with-many-repos.Possible improvements are:
**/node_modules) or regexs (.*/node_modules$).The latter is more complex but more flexible, and would make it so only one flag could/should be specified.
Unfortunately I'm not familiar with Rust. I hope you'll consider implementing this in the future. Thank you!