vaclavsvejcar / headroom

©️ Manager for license headers in source code files.
https://doc.norcane.com/headroom/latest/
BSD 3-Clause "New" or "Revised" License
48 stars 3 forks source link

Add option to exclude source paths #46

Closed vaclavsvejcar closed 4 years ago

vaclavsvejcar commented 4 years ago

At this moment, paths to source code files can be set either using the -s|--source-path command line argument or source-paths YAML configuration. Goal of this task is to provide way to exclude specific path(s) from the selected list.

Proposed command line arguments:

-e|--excluded-path=REGEX

Proposed YAML configuration:

excluded-paths: []

Where the path to exclude can be specified also as regular expression.

vaclavsvejcar commented 4 years ago

Implemented, will be released as part of the upcoming version 0.2.1.0.