Hacker News new | ask | show | jobs
by ethan_smith 342 days ago
Consider adding a `-x` flag to exclude directories (like node_modules, .git) which would make this even more valuable for devs working with large codebases.
1 comments

Great suggestion, thanks! snub already skips common dirs like node_modules, .git, .svn, and __pycache__ by default (you can turn that off with --no-skip), but an explicit -x/--exclude flag for user-supplied patterns would be even more useful