Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/VildMedPap/gh-orgstats
Organisation specific extension for gh cli to retrieve different statistics
https://github.com/VildMedPap/gh-orgstats
gh-extension
Last synced: 3 months ago
JSON representation
Organisation specific extension for gh cli to retrieve different statistics
- Host: GitHub
- URL: https://github.com/VildMedPap/gh-orgstats
- Owner: VildMedPap
- License: mit
- Created: 2021-09-02T12:10:45.000Z (about 3 years ago)
- Default Branch: master
- Last Pushed: 2021-09-03T08:59:33.000Z (about 3 years ago)
- Last Synced: 2024-06-11T13:42:27.568Z (5 months ago)
- Topics: gh-extension
- Language: Shell
- Homepage:
- Size: 11.7 KB
- Stars: 14
- Watchers: 1
- Forks: 1
- Open Issues: 2
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- jimsghstars - VildMedPap/gh-orgstats - Organisation specific extension for gh cli to retrieve different statistics (Shell)
README
# gh-orgstats
## Description
Organisation specific extension for `gh cli` to retrieve different statistics## Install
```sh
gh extension install VildMedPap/gh-orgstats
```## Usage
General usage```sh
# gh orgstats [flags]
```Get a single statistic from an organisation
```sh
gh orgstats --org cli --stats repos
# ✓ 4 repositories
```Get a single statistic from an organisation with very plain output (only the number)
```sh
gh orgstats --org cli --stats repos --plain
# 4
```Get multiple statistics from an organisation and output as json
```sh
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
```sh
gh orgstats --org cli --json
# {
# "repos": 4,
# "open_issues": 356,
# "closed_issues": 1737
# }
```## Help
```sh
gh orgstats --help
```## Issues and Feature Request
Any help or feedback are very welcome! 👋🏼- https://github.com/VildMedPap/gh-orgstats/issues