- Experimental utility to list up every files you modified in the github (enterprise)
- Currently, it's proof of concept.
- I implemented this within a day, so that code quality is pretty bad
- Cache github graphql api result into file system so that you don't get blocked
- If some file path is changed, the latest one will be considered as representative path
- For example, consider following scenario.
- commit
a.txtonce at first pull request - change
a.txttob.txtat second pull request
- commit
- You'll only get
b.txtwith 2 modification.
- For example, consider following scenario.
touch .env
nvm use
npm i
Then add followings to the .env file
# change these if you want to search from enterprise
GITHUB_API_URL=https://api.github.com/graphql
GIT_DOMAIN=github.com
# credential
GITHUB_AUTH_KEY=<your github private ssh key>
PAT=<your github personal access token>
Note that your personal access token should have proper authority to access.
Now you can play with npm run server
npm run server > out.md
- I haven't test this with public github
- It works fine with enterprise github