0.1.1 • Published 2 years ago
fix-gh-watchlist v0.1.1
fix-gh-watchlist
cli to unsubscribe (ignore) github repos from https://github.com/watching
usage
- Create new GitHub PAT Token - Make sure it has access to repo & notifications
- Install script:
npm install -g fix-gh-watchlist- Create a
whitelist.txtfile with repo names (inorg/repoformat) you want to keep watching - Run the script:
PAT_TOKEN=<your_github_pat_token> fix-gh-watchlist --org=github -w whitelist.txtdevelopment
- create a
.envfile with the following content:
PAT_TOKEN=<your_github_pat_token>- then run:
npm i
npm run watch
npm start -- --org=github -w whitelist.txtbuild
npm run build
cd dist && npm install -g .
# test
fix-gh-watchlist --help
# cleanup
npm uninstall -g fix-gh-watchlistrelease
make version-patchgit push --follow-tagsmake publish