gabotechs / dep-tree

Tool for helping developers keep their code bases clean and decoupled. It allows visualising a code base complexity using a 3d force-directed graph of files and the dependencies between them.
https://github.com/gabotechs/dep-tree
MIT License
1.5k stars 38 forks source link

Add a dep-tree explain command #97

Closed gabotechs closed 3 months ago

gabotechs commented 3 months ago

It's very useful to know the reasons why one part of an application depends on another, so Dep Tree could ship an additional explain command that works like this:

$ dep-tree explain 'src/products/*.ts' 'src/orders/*.ts'

src/products/foo.ts -> src/orders/bar.ts
src/products/foo.ts -> src/orders/baz.ts

Something like that dep-tree check command, but in a more interactive way