Open 4rokis opened 4 years ago
Hi! It should definitely be crawling through all directory levels. Is there a specific file path (with file name) that it's missing? By default, crawl
will only look at files that it thinks are licenses (from the name). If you'd like to have it attempt to identify everything, you can try this:
askalono crawl --glob='*' ./root
Hmm, you are correct, i have overlooked that. It seems that it is just ignoring node_modules
folder. Is there some specific reason for that?
My usage is that i want to go thought all of your dependencies of the project and check the licenses you are using. Therefore i need for it to go thought node_modules. It is fine if run it on root/node_modules
. However some modules have nested node_modules and they got ignored
Ah! Do you have node_modules in your .gitignore
?
For sure it is there.... :facepalm: Why i haven't thought about it
That's probably it. I'll keep this issue open to add a flag to askalono to not use gitignore, since I could see wanting to both ignore and crawl it.
It works. Thanks very much for the support
Command
askalono crawl {directory}
Checks the directory and if the directory has license file it exits with the results.
Folder structure
Call
askalono crawl ./root
Returns:
However I need for it to return all of the license files
Is that somehow possible?
:sob: I cannot read RUST :sweat: