forked fromkesonan/github-compare
- Notifications
You must be signed in to change notification settings - Fork0
A GitHub repositories statistics command-line tool for the terminal
License
NotificationsYou must be signed in to change notification settings
githubFeature/github-compare
Folders and files
Name | Name | Last commit message | Last commit date | |
---|---|---|---|---|
Repository files navigation
A GitHub repositories statistics command-line tool for the terminal
$ go install github.com/anqiansong/github-compare@latest
$ github-compare spf13/cobra
$ github-compare spf13/cobra urfave/cli junegunn/fzf antonmedv/fx
$ github-compare spf13/cobra --json [ {"age":"3191 days","avgReleasePeriod":"199 days","contributorCount":"246","forkCount":"2331(0/d)","fullName":"spf13/cobra","homepage":"https://cobra.dev","issue":"0/893","language":"Go","lastPushedAt":"15 hour(s) ago","latestReleaseAt":"2 month(s) ago","lastUpdatedAt":"3 minute(s) ago","latestDayStarCount":"13 ⇈","latestMonthStarCount":"455","latestWeekStarCount":"93 ⇊","license":"Apache License 2.0","pull":"56/809","releaseCount":"16","starCount":"26807(8/d)","watcherCount":"349","description":"A Commander for modern Go CLI interactions", ...]
For details seecobra.json
$ github-compare spf13/cobra --yaml - age: 3191 days avgreleaseperiod: 199 days contributorcount:"246" forkcount: 2331(0/d) fullname: spf13/cobra homepage: https://cobra.dev issue: 0/893 language: Go lastpushedat: 15 hour(s) ago latestreleaseat: 2 month(s) ago lastupdatedat: 7 minute(s) ago latestdaystarcount: 13 ⇈ latestmonthstarcount:"455" latestweekstarcount: 93 ⇊ license: Apache License 2.0 pull: 56/809 releasecount:"16" starcount: 26807(8/d) watchercount:"349" description: A Commanderfor modern Go CLI interactions ...
For details seecobra.yaml
$ github-compare spf13/cobra urfave/cli junegunn/fzf antonmedv/fx -f data.csv
- Creating a personal access token
- Set access token token
- Copied the access token and export to environment
- Or you can set the access token by passing
github-compare
argument--token
# set access token through the flag --token# github-compare zeromicro/go-zero --token ${accessToken}# or export access token to environment (recommended)$export GITHUB_ACCESS_TOKEN=${GITHUB_ACCESS_TOKEN}$ github-compare zeromicro/go-zero
$ github-compare -h A GitHub repositories statistics command-line toolfor the terminalUsage: github-compare [flags]Flags: -f, --file string output to a specified file -h, --helphelpfor github-compare --json print with json style -t, --token string github access token --ui print with term ui style(default) (default true) -v, --version versionfor github-compare --yaml print with yaml style
- A GitHub personal access token is required.
github-compare
accepts 1 to 4 repositories data queries.- If you prefer to export the access token to environment, you must useenvironment key
GITHUB_ACCESS_TOKEN
If this repository can help you, give a star please!
Thanks all!
About
A GitHub repositories statistics command-line tool for the terminal
Resources
License
Uh oh!
There was an error while loading.Please reload this page.
Stars
Watchers
Forks
Packages0
No packages published
Languages
- Go100.0%