clns / gitlab-cli

CLI tool for GitLab (no prerequisites required)
MIT License
100 stars 32 forks source link

Install with go get instructions #7

Closed kifirkin closed 7 years ago

kifirkin commented 7 years ago

Can I install gitlab-cli with go get command?

clns commented 7 years ago

Yes you can install it with go get github.com/clns/gitlab-cli, however this also downloads the source code (which you may not be interested in) and it does not download any dependencies stored in the vendor directory. This can cause the build to fail if you have outdated or different dependency package versions.

My recommendation is to only download the pre-compiled binary, per the instructions.

kifirkin commented 7 years ago

Ok, thanks for the response!

By the way does go get ./... or go get all pull needed dependancies?

clns commented 7 years ago

Yes, go get downloads any missing dependencies, but the vendor directory makes sure you're using the supported versions of those dependencies.

kifirkin commented 7 years ago

Oh I see, thanks!