tools / godep

dependency tool for go
http://godoc.org/github.com/tools/godep
BSD 3-Clause "New" or "Revised" License
5.54k stars 454 forks source link

Added flag '-a' for command 'save'. #519

Closed ghost closed 6 years ago

ghost commented 8 years ago

Adds a dependency to the list of existing dependencies.

$ godep save gopkg.in/mgo.v2 $ cat Godeps/Godeps.json

... "Packages": [ "gopkg.in/mgo.v2" ], ...

$ godep save -a github.com/valyala/quicktemplate $ cat Godeps/Godeps.json

... "Packages": [ "gopkg.in/mgo.v2", "github.com/valyala/quicktemplate" ], ...

freeformz commented 6 years ago

I am closing this PR because the repo is going to be archived.