Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/jasonstitt/github-repo-list
CLI to export an inventory of one or more GitHub orgs into a CSV
https://github.com/jasonstitt/github-repo-list
git github inventory utility
Last synced: about 1 month ago
JSON representation
CLI to export an inventory of one or more GitHub orgs into a CSV
- Host: GitHub
- URL: https://github.com/jasonstitt/github-repo-list
- Owner: jasonstitt
- License: apache-2.0
- Created: 2020-06-18T00:08:29.000Z (over 4 years ago)
- Default Branch: main
- Last Pushed: 2023-02-12T12:19:02.000Z (almost 2 years ago)
- Last Synced: 2024-10-30T05:05:23.133Z (3 months ago)
- Topics: git, github, inventory, utility
- Language: JavaScript
- Homepage:
- Size: 381 KB
- Stars: 1
- Watchers: 1
- Forks: 1
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# github-repo-list
CLI to export an inventory of one or more GitHub orgs into a CSV
## Installation
```
npm install --global github-repo-list-cli
github-repo-list --help
```## Usage
```
github-repo-list [org...]Options:
--version Show version number [boolean]
--token GitHub API personal token (can also provide via GITHUB_TOKEN
env var or ~/.github-token) [string]
--output, -o Output filename [string] [default: "github-repos.csv"]
--include, -i What types of repo to include in the output
[array] [choices: "public", "private", "fork", "nonfork"] [default:
["public","private","nonfork"]]
-h, --help Show help [boolean]
```## Authentication
This CLI uses a GitHub personal access token. See: [Creating a personal access token for the command line](https://help.github.com/en/github/authenticating-to-github/creating-a-personal-access-token-for-the-command-line).
You can provide the token in any of three ways:
- Put it in a file called `.github-token` in your home directory
- Export an environment variable `GITHUB_TOKEN`
- Pass it on the command line with `--token`## Maintainers
* Jason Stitt