github / gh-migration-analyzer

MIT License
64 stars 21 forks source link

Fetch GitHub Organization Metrics and write to CSV node src/index.js GH-org [options] #32

Open Henrzac679 opened 1 year ago

Henrzac679 commented 1 year ago

To fetch Azure DevOps organization metrics and write to CSV, you can use the following command:

node src/index.js GH-org -o -t

Replace <organization> with the name of your GitHub organization and <PAT> with your personal access token.

This command will fetch the necessary data from your GitHub organization and export two CSV files. One CSV file will contain a list of repositories with the number of Pull Requests, Issues, Projects, and whether wikis are enabled. The other CSV file will contain organization-level rollup metrics (number of repositories, pull requests, issues, and projects). The CSV files will be exported to a new directory within the project's root directory.

dimhof72 commented 1 year ago

To fetch Azure DevOps organization metrics and write to CSV, you can use the following command:

node src/index.js GH-org -o -t

Replace <organization> with the name of your GitHub organization and <PAT> with your personal access token.

This command will fetch the necessary data from your GitHub organization and export two CSV files. One CSV file will contain a list of repositories with the number of Pull Requests, Issues, Projects, and whether wikis are enabled. The other CSV file will contain organization-level rollup metrics (number of repositories, pull requests, issues, and projects). The CSV files will be exported to a new directory within the project's root directory.