@brunolm/codersrank-analyzer
v1.3.0
Published
Does the same as [codersrank-org/repo_info_extractor](https://github.com/codersrank-org/repo_info_extractor/tree/master), but it's written in Node.js with TypeScript and allows you to analyze your entire GitHub collection at once.
Downloads
14
Readme
codersrank-analyzer
Does the same as codersrank-org/repo_info_extractor, but it's written in Node.js with TypeScript and allows you to analyze your entire GitHub collection at once.
Usage
REQUIRED: Node v12 (does not work with most recent versions)
Setup env options
$env:SALT="Optional PJSalt"
$env:GITHUB_TOKEN="token with repo permisson https://github.com/settings/tokens"
$env:GITLAB_TOKEN="token with permissions https://gitlab.com/-/profile/personal_access_tokens"
$env:BASE_GITLAB_API_URL="defaults to public instance; url of self-hosted gitlab instance: https://gitlab.company.net/api/v4"
Bash
export SALT="Optional PJSalt"
export GITHUB_TOKEN="token with repo permisson https://github.com/settings/tokens"
export GITLAB_TOKEN="token with permissions https://gitlab.com/-/profile/personal_access_tokens"
export BASE_GITLAB_API_URL="defaults to public instance; url of self-hosted gitlab instance: https://gitlab.company.net/api/v4"
Run
# github
npx @brunolm/codersrank-analyzer github -e "[email protected],[email protected]" --private --upload
# gitlab
npx @brunolm/codersrank-analyzer gitlab -e "[email protected],[email protected]" --private --upload
# folder and subfolders on local file system
npx @brunolm/codersrank-analyzer file -e "[email protected],[email protected]" -p <ROOT_PATH> --upload
Help
npx @brunolm/codersrank-analyzer --help