gabotechs/dep-tree

Define some sort of format to read in that third-party tools can generate

nogweii opened this issue · 1 comments

Maybe the JSON output? If dep-tree could render that json, it could be a useful interchange format to build support in other languages.

For me, I was thinking about poking around and exploring this in a few Ruby codebases.

There is a way already, you can get a json output using the following command:

dep-tree tree your/entrypoint/file --json

beware of versions older than 0.19.4 for big codebases though, as they have some performance issues building json outputs. 0.19.4 should be fine.