Closed kirillt closed 2 years ago
Hi @kirillt
You need to set the Github token even if you just want to pull public repos.
Thanks for raising - I can update the docs + error handling here to make this more explicit
Exiting and error output has been updated in 2.3.0, hopefully this is more explicit for everyone in future:
$ gh2md mattduck/gh2md export.md
[2022-07-17 10:58:26,888] [INFO] Looking for token in envvar GITHUB_ACCESS_TOKEN
[2022-07-17 10:58:26,888] [INFO] Looking for token in file: /f/users/matt/.config/gh2md/token
[2022-07-17 10:58:26,889] [INFO] Looking for token in file: /f/users/matt/.github-token
No Github access token found, exiting. Use gh2md --help so see options for providing a token.