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

Ignore well know directories #53

Closed
laoshaw opened this issue Feb 28, 2022 · 6 comments
Closed

Ignore well know directories #53

laoshaw opened this issue Feb 28, 2022 · 6 comments

Comments

@laoshaw
Copy link

laoshaw commented Feb 28, 2022

can ddh ignore known directories such as node_modules, .mypy_cache, CMakefile Release/Debug directories,etc

or just respect .gitignore by default(or not by default).

@darakian
Copy link
Owner

darakian commented Mar 3, 2022

I personally don't like the idea of baking in "well known" constants as those will change over time. I am open to building in ignore list functionality which could operate similarly to the directories argument. Would that suffice?

@laoshaw
Copy link
Author

laoshaw commented Mar 3, 2022

Sounds good to me, as long as I can ignore certain directories easily. Thanks!

@darakian
Copy link
Owner

darakian commented Mar 7, 2022

Cool. Give me a bit to think through how to implement this and then to do so.

@darakian
Copy link
Owner

@laoshaw I've made a new branch ignore-dirs. Can I ask you to test it to see if it works for you? There's a new flag --ignore/-i which functions like the -d flag for directories

@laoshaw
Copy link
Author

laoshaw commented Mar 22, 2022

works for me. Thanks!

@darakian
Copy link
Owner

darakian commented Mar 22, 2022

Good to hear. I'm gonna hold off a bit on merging that to main and maybe get some of my own testing done in the next few weeks. Please ping back here if you hit any bugs.

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

2 participants