Organisation specific extension for gh cli
to retrieve different statistics
gh extension install VildMedPap/gh-orgstats
General usage
# gh orgstats [flags]
Get a single statistic from an organisation
gh orgstats --org cli --stats repos
# ✓ 4 repositories
Get a single statistic from an organisation with very plain output (only the number)
gh orgstats --org cli --stats repos --plain
# 4
Get multiple statistics from an organisation and output as json
gh orgstats --org cli --stats open_issues,closed_issues --json
# {
# "open_issues": 356,
# "closed_issues": 1737
# }
Get all statistics from an organisation and output as json
gh orgstats --org cli --json
# {
# "repos": 4,
# "open_issues": 356,
# "closed_issues": 1737
# }
gh orgstats --help
Any help or feedback are very welcome! 👋🏼