Skip to content

Organisation specific extension for gh cli to retrieve different statistics

License

Notifications You must be signed in to change notification settings

VildMedPap/gh-orgstats

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 

Repository files navigation

gh-orgstats

Description

Organisation specific extension for gh cli to retrieve different statistics

Install

gh extension install VildMedPap/gh-orgstats

Usage

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
# }

Help

gh orgstats --help

Issues and Feature Request

Any help or feedback are very welcome! 👋🏼

About

Organisation specific extension for gh cli to retrieve different statistics

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages