+
Skip to content

Hacktoberfest #3

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Merged
merged 2 commits into from
Oct 20, 2024
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
27 changes: 26 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,17 @@ Docker images are also available:

`github-download-stats` can be installed from source by running:

go get -u github.com/andrewsomething/github-download-stats
#### Go Version 1.16 and Earlier

```
go get -u github.com/andrewsomething/github-download-stats
```

#### Go Version 1.17 and Later

```
go install github.com/andrewsomething/github-download-stats@latest
```

## Usage

Expand All @@ -33,6 +43,21 @@ Usage of ./github-download-stats:
-version
Print version
```
### Usage for Get Stats for All Releases

```
github-download-stats -owner <owner> -repo <repo> -token <your_token>
```
### Usage for Get Stats for Specific Releases

```
github-download-stats -owner <owner> -repo <repo> -release <release_tag> -token <your_token>
```
### Usage for Get Stats in JSON

```
github-download-stats -owner <owner> -repo <repo> -json -token <your_token>
```

## License

Expand Down
Loading
点击 这是indexloc提供的php浏览器服务,不要输入任何密码和下载