Skip to content

everfore/codeload

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

codeload

github codeload url(sample): https://codeload.github.com/everfore/codeload/zip/master

get

go get github.com/everfore/codeload

go install

cd cdwn && go install

cd pull && go install

usage

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.

No .git repo

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

With .git repo

  • 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

license

Apache License Version 2.0