IBM / license-scanner

License Scanner
Apache License 2.0
6 stars 3 forks source link

Allow CLI to scan for licenses by walking a directory instead of on file at a time #17

Closed markstur closed 2 years ago

markstur commented 2 years ago

There is already an unused identifyLicensesInDirectory() which walks a dir and calls IndentifyLicensesInFile() which calls IdentifyLicensesInString()... but it is not used anywhere. It should be available from the CLI with --dir (like --file is).

The API still is string only. Adding file and/or dir support etc... would be a separate issue.