vc60er / deptree

show golang dependence like tree
80 stars 9 forks source link

Add information about module updates to the tree #4

Closed gen2thomas closed 1 year ago

gen2thomas commented 1 year ago

Hi @vc60er, I would like to add the information from "go list -u -m -json all" to the tree view. I have already prepared some code, based on your work. What do you think about it?

vc60er commented 1 year ago

@gen2thomas good idea,could you submit a pr

gen2thomas commented 1 year ago

So I will do this in several steps:

gen2thomas commented 1 year ago

Hi @vc60er, the next step is available for review and merge (see PR). Currently only the upgradable modules are shown by default. By the "-a" flag this can be overridden. If you prefer the reverted behavior, please let me know, so I will change it.