whyrusleeping / gx

A package management tool
MIT License
1.88k stars 111 forks source link

add command to locate dependency #116

Open JustinDrake opened 7 years ago

JustinDrake commented 7 years ago

I'm new to gx and below is my current workflow for hacking a dependency of go-ipfs. Let's say I want to make changes to the dependency go-libp2p-kad-dht, then my steps are:

Adding a command to locate the repository would be very helpful. For example, the command gx locate go-libp2p-kad-dht would return the path $HOME/src/gx/ipfs/QmaQrN5Gi5jz2ViKuJ5PU2LXV79D6vGuH7eVQnwxpoRqrd/go-libp2p-kad-dht.

whyrusleeping commented 7 years ago

For this we have gx deps find, as well as gx deps --tree --highlight=PACKAGE.

Having gx deps find return a path might be nice as an option.