enhancementhelp wanted
Repository metrics
- Stars
- (20 stars)
- PR merge metrics
- (PR metrics pending)
Description
Feature Request
Summary
Allow crossgen --regenerate-token to authenticate with GitHub again and generate a new token.
Motivation
If you delete the token from the GitHub UI but it's still cached on your system then crossgen will keep using that invalid token. Right now you have to hunt down the token and delete it to get crossgen to re-auth with GitHub.
Unresolved questions
Maybe it's possible to be smarter and check to see if the token exists over the GitHub API but I haven't looked into that