gh-attachments-analyzer
v0.0.2
Published
This script is used to analyze the attachments of a GitHub issue and pull requests. It will analyze the attachments / images uploaded to the issue and pull requests description and comments. It will generate a report with size of each attachment and the t
Downloads
8
Readme
GitHub Issue Attachment Analyzer
This script is used to analyze the attachments of a GitHub issue and pull requests. It will analyze the attachments / images uploaded to the issue and pull requests description and comments. It will generate a report with size of each attachment and the total size of all attachments.
Usage
npx gh-attachment-analyzer analyze --org <org> --repo <repo> --token <token> --session-cookie <session-cookie>Options
--org- GitHub organization name--repo- GitHub repository name--token- GitHub personal access token--session-cookie- GitHub session cookie. This is required to access the attachments of the issue and pull requests. You can get this cookie by logging into GitHub and copying the value ofuser_sessioncookie from the browser.--issue-number- GitHub issue number. If not provided, it will analyze all the issues and pull requests in the repository.
