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

feat: --render-path flag #59

Closed dinhani closed 7 months ago

dinhani commented 8 months ago

Creates render-path flag, so the user can specify where the HTML file is generated instead of always using the hardcoded /tmp/index.html.

gabotechs commented 8 months ago

Thanks for the contribution!

This is definitely an improvement, one option that I also want to evaluate:

I don't see a strong advantage of that option vs what you've made here (they are not even incompatible), so if you think that sending the file content to stdout instead has some clear advantages we can do that. Otherwise I think what you've done here is great.

gabotechs commented 7 months ago

The main branch has deviated too much for shipping this PR, I've made a follow up that implements this feature https://github.com/gabotechs/dep-tree/pull/83, so it's safe to close this one.