interviewstreet / ghs

Cross-platform CLI tool to generate your Github profile's stats and summary.
137 stars 88 forks source link

Bug: Unable to update token #13

Closed ron-debajyoti closed 2 years ago

ron-debajyoti commented 2 years ago

Hi, earlier I used the cli to generate the summary. Today I updated my token and tried to refresh/insert the new token but seems like the cli isn't accepting it. As a result the summary isn't generated backstage_bug

Also is the token stored as a variable ? I don't see any .env file here even to manually update my token :thinking:

makkoncept commented 2 years ago

Hi @ron-debajyoti, thank you for reporting this bug. This has been fixed. Now ghs will prompt you for a token when you run ghs -t and if it's valid, the previous token will be overwritten by your new token.

A new release with this fix has been pushed to PyPI. Please update ghs by running pip install ghs --upgrade.

PS: the token is saved in ~/.ghs/ghs.config. So you can also manually update it.

Let me know if you have any questions.

ron-debajyoti commented 2 years ago

Hey! Thanks for the quick fix and the clarification :smile:. It's working good now. Guess it's safe to close now.