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

Feature request: --exclude flag #13

Closed
weierophinney opened this issue Mar 2, 2017 · 1 comment
Closed

Feature request: --exclude flag #13

weierophinney opened this issue Mar 2, 2017 · 1 comment
Assignees
Milestone

Comments

@weierophinney
Copy link
Collaborator

We often have test assets such as test configuration files that do not and should not have license docblocks. However, because they are PHP files, they are scanned and docheader correctly points out that they are missing license headers.

As such, I request an --exclude flag for the binary, and/or an --exclude-dir flag. The flag(s) should allow multiple invocations:

# Multiple --exclude flags:
$ docheader check test --exclude test/TestAsset/config.php --exclude test/Foo/TestAsset/config.php
# Multiple --exclude-dir flags:
$ docheader check src test --exclude-dir test/TestAsset --exclude-dir test/Foo/TestAsset

Any items matching the flag(s) would then be excluded when performing checks.

@malukenho malukenho self-assigned this Mar 2, 2017
malukenho pushed a commit that referenced this issue Mar 7, 2017
malukenho pushed a commit that referenced this issue Mar 7, 2017
malukenho pushed a commit that referenced this issue Mar 13, 2017
Add ability to exclude directory and files
@malukenho malukenho added this to the 0.1.6 milestone Mar 13, 2017
@malukenho
Copy link
Owner

Handled on #14

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

No branches or pull requests

2 participants