Skip to content

πŸ”Ž A GitHub CLI extension that displays collaboration-related information about a GitHub repository.

Notifications You must be signed in to change notification settings

nicokosi/gh-collab-scanner

Repository files navigation

collab-scanner GitHub CLI extension

A GitHub CLI extension that displays collaboration-related information on repositories.

collab-scanner

Install ⬇️

gh extension install nicokosi/gh-collab-scanner

Use ▢️

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

Develop πŸ§‘β€πŸ’»

Requires Go 1.18 or later.

Build from source code πŸ§‘β€πŸ’»β–ΆοΈ

Build then run:

go build && ./gh-collab-scanner

Install from source code πŸ§‘β€πŸ’»βΊ

Install and run:

gh extension install .; gh collab-scanner

Examine code πŸ§‘β€πŸ’»πŸ”

go vet

Run tests πŸ§‘β€πŸ’»β˜‘οΈ

go test -v -cover

Release πŸ§‘β€πŸ’»πŸ“¦

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}

About

πŸ”Ž A GitHub CLI extension that displays collaboration-related information about a GitHub repository.

Topics

Resources

Stars

Watchers

Forks

Contributors 4

  •  
  •  
  •  
  •  

Languages