https://github.com/neko-neko/git-download
Download the GitHub releases
https://github.com/neko-neko/git-download
git github-api go golang
Last synced: about 1 year ago
JSON representation
Download the GitHub releases
- Host: GitHub
- URL: https://github.com/neko-neko/git-download
- Owner: neko-neko
- Created: 2017-04-17T07:17:26.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-04-17T07:48:52.000Z (almost 9 years ago)
- Last Synced: 2025-01-26T08:45:42.660Z (about 1 year ago)
- Topics: git, github-api, go, golang
- Language: Go
- Homepage:
- Size: 1.95 KB
- Stars: 1
- Watchers: 3
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# git-download
git-download is download the GitHub releases.
## Usage
### Basic usage
```bash
# download neko-neko/git-download
$ git download -repo neko-neko/git-download
# specific version
$ git download -repo neko-neko/git-download -version v1.0.0
# specific files
$ git download -repo neko-neko/git-download -include darwin
# save files inside specific directory
$ git download -repo neko-neko/git-download -dir /tmp
```
### Private repo
```bash
$ GITHUB_TOKEN=hoge git download -repo neko-neko/git-download
```
### For GitHub Enterprise
```bash
$ GITHUB_TOKEN=hoge GITHUB_API=example.ghe.com/api/v3 git download -repo neko-neko/git-download
```
## Installation
```bash
$ go get github.com/neko-neko/git-download
```
## Contributing
1. Fork it!
2. Create your feature branch: `git checkout -b my-new-feature`
3. Commit your changes: `git commit -am 'Add some feature'`
4. Push to the branch: `git push origin my-new-feature`
5. Submit a pull request :D
## Credits
neko-neko
## License
MIT