3 ms·
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.
by ethan_smith 1y 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.
- seeyebe 1y agoGreat 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