github codeload url(sample): https://codeload.github.com/everfore/codeload/zip/master
go get github.com/everfore/codeload
go install
cd cdwn && go install
cd pull && go install
with default by @filepath.Base(dir)
if branch is nil, use master as default branch.
if user is nil, use filepath.Base as default user.
codeload #or cdln
[user/]repo[:branch] > $
https://codeload.github.com/everfore/codeload/zip/master
No .git repo && go install
cdln -i
[user/]repo[:branch] > $
-i : go install
https://codeload.github.com/everfore/codeload/zip/master
and go install
- git clone
git clone || go install
pull -i -r
[user/]repo[:branch] > $
git clone git:// or git@
and go install
- git pull
pull
git pull
Apache License Version 2.0