auchenberg / dependo

Visualize your CommonJS or AMD module dependencies in a force directed graph report.
MIT License
484 stars 50 forks source link

Specifying RequireJS config file on command line #34

Open TheWizz opened 7 years ago

TheWizz commented 7 years ago

How can I specify the RequireJS config file on the command line? I've seen this requireConfig option in the API, but it's not mentioned as a command line option. I attempted the following

dependo -f amd --requireConfig subdir/Config.js . >dependencies.html

in the directory under which all source exists, but that had no effect in limiting the dependencies to those rooted in the Config.js file.

-JM