https://github.com/everfore/codeload
https://codeload.github.com/everfore/codeload/zip/master
https://github.com/everfore/codeload
Last synced: 5 months ago
JSON representation
https://codeload.github.com/everfore/codeload/zip/master
- Host: GitHub
- URL: https://github.com/everfore/codeload
- Owner: everfore
- License: apache-2.0
- Created: 2015-08-04T13:25:22.000Z (almost 11 years ago)
- Default Branch: master
- Last Pushed: 2016-09-02T06:56:53.000Z (almost 10 years ago)
- Last Synced: 2024-06-21T02:42:53.028Z (about 2 years ago)
- Language: Go
- Homepage:
- Size: 16.6 KB
- Stars: 2
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 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