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

include and exclude filters to the output #261

Closed
rizsotto opened this issue Aug 18, 2019 · 0 comments
Closed

include and exclude filters to the output #261

rizsotto opened this issue Aug 18, 2019 · 0 comments
Projects

Comments

@rizsotto
Copy link
Owner

Would be nice to filter out entries from the final output.

  • Can be done by explicitly name files or directories which can be omited.
  • Can be done by explicitly name files or directories to include in the output.

This requires to define precendency fot these operations. The semantic can favour the include or the exclude. (Picking the exclude as stronger rule as it would fit more to the usage I've seen.)

  • Specify --include /src --exclude /src/test will result all elements from /src which are not in the /src/test directories.
  • Specify -exclude /src --include /src/service will filter out all sources ftom /src directories, even if they are in the requested /src/service directory.
@rizsotto rizsotto added this to In progress in 2.4.2 Aug 18, 2019
@rizsotto rizsotto moved this from In progress to Done in 2.4.2 Aug 20, 2019
rizsotto added a commit that referenced this issue Aug 20, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
No open projects
2.4.2
  
Done
Development

No branches or pull requests

1 participant