petejkim / goop

A simple dependency manager for Go (golang), inspired by Bundler.
MIT License
779 stars 45 forks source link

Add "goop install package" support #25

Closed dafang closed 6 years ago

dafang commented 10 years ago

Features from this pull request

By leverage the npm command, I added the package installation support to goop install, then you can use:

And also, there is one new arg supported to the install command, which is --save-dev which is the same as npm,

Added the install arg support to the main.go file;

Added one new method InstallPkg to goop/goop.go file, logic:

haoxins commented 9 years ago

:+1:

haoxins commented 9 years ago

@dafang is --save better?

dafang commented 9 years ago

same thing, --save-dev is just to make it consistent with experience with npm.

dim commented 9 years ago

+1