A GitHub CLI extension that displays collaboration-related information on repositories.
gh extension install nicokosi/gh-collab-scanner
From a folder where a GitHub repository has been cloned:
gh collab-scanner
will display something like:
(current repo) Repo nicokosi/gh-collab-scanner has: description βοΈ, README βοΈ, topics βοΈ, 1 collaborator π€, community profile score: 33 π―
For any GitHub repository, via its full name ${org}/${repo} (i.e. python/peps), use the --repo
flag:
gh collab-scanner --repo python/peps
It will display something like:
Repo python/peps has: description βοΈ, README βοΈ, no topics π, community profile score: 71 π―
In order to scan all repositories for a given organization, use the --org
flag:
gh collab-scanner --org python
In order to scan all repositories for a given user, use the --user
flag:
gh collab-scanner --user torvalds
Need help? Run:
gh-collab-scanner --help
Requires Go 1.18 or later.
Build then run:
go build && ./gh-collab-scanner
Install and run:
gh extension install .; gh collab-scanner
go vet
go test -v -cover
Check the current version:
gh release view | head -n 2
Then create a tag for the next version with respect with semver:
git tag ${version}
git push origin ${version}