You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I see a CLI parameter --dir which might cause the tool to scan for licenses in a certain directory.
I expect the tool traverse also all subdirectories in that directories.
I would love to have an option to omit certain subdirectories and files in arbitrary depth.
Maybe exclude via a glob?
Use case examples:
scan all files in ./myProject/ but do not traverse any of the following directories: .git, node_modules, vendor, .venv, .pipenv and do not scan files like license.js
call could be like license-scanner --dir=./myProject --ignore-glob=node_modules --ignore-glob=vendor --ignore-glob=.git --ignore-glob='.*env' --ignore-glob=license.js
The text was updated successfully, but these errors were encountered:
I see a CLI parameter
--dir
which might cause the tool to scan for licenses in a certain directory.I expect the tool traverse also all subdirectories in that directories.
I would love to have an option to omit certain subdirectories and files in arbitrary depth.
Maybe exclude via a glob?
Use case examples:
scan all files in
./myProject/
but do not traverse any of the following directories:.git
,node_modules
,vendor
,.venv
,.pipenv
and do not scan files likelicense.js
structure be like
call could be like
license-scanner --dir=./myProject --ignore-glob=node_modules --ignore-glob=vendor --ignore-glob=.git --ignore-glob='.*env' --ignore-glob=license.js
The text was updated successfully, but these errors were encountered: