Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add option to exclude directories or files explicitly #26

Open
debuiteb opened this issue Nov 6, 2020 · 1 comment
Open

Add option to exclude directories or files explicitly #26

debuiteb opened this issue Nov 6, 2020 · 1 comment

Comments

@debuiteb
Copy link
Contributor

debuiteb commented Nov 6, 2020

Provide an option to explicitly exclude certain directories or files.

For example, with the structure:

project
|    README.md
|    somefile.txt
|___ first-dir
     |    file-to-check.txt    
     |    other-typo-file.txt
     |
     |___ exclude-dir
          | ...

If I want to search for typos in all the files in first-dir except for anything in exlude-dir, I would like to do something like
topy --exclude exclude-dir root-dir

Could this option be added to provide a little more flexibility with the tool? Thanks

@debuiteb
Copy link
Contributor Author

debuiteb commented Nov 6, 2020

I love the tool and I'd be delighted to try and implement this feature!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant