-
Notifications
You must be signed in to change notification settings - Fork 975
Description
Feature summary
On the web UI allow to define both include and exclude patterns
Problem / motivation
For bigger repositories giving the whole gitinjest does not makes sense as it degrades the output quality. For this I generally only select the files for the language the project is mainly written in for an overall context. But some other files which are not necessary for the implementation such as tests, configs etc are still present.
This is also the case if the project contains multiple subprojects in which you only want to select that specific folder but exclude other files such as .yml, .json etc.
For ex: Select only .ts files while excluding /tests, /examples etc
Proposed solution
Allow both include and exclude patterns to be defined simultaneously. Either the click to include/exclude in the directory structure can be disabled if both patterns are defined or left click for include and right click for exclude can be used.
Alternatives considered
Currently I have to manually check what other directories I want other then /tests, /examples and only include them as per the given example above
Which interface would this affect?
Web UI
How important is this to you?
Nice to have
Would you like to work on this feature yourself?
Maybe, if I get some guidance
Would you need support from the maintainers (if you're implementing it yourself)?
Not sure yet
Additional context, screenshots, or examples
No response