janeklb / gh-search

GitHub code search with full text regex filtering, from your cli.
42 stars 3 forks source link

Handle cases where no rate limiting is used #62

Closed augustd closed 2 months ago

augustd commented 1 year ago

In this case I catch the exception that is thrown and create a rate limit object with significantly high (1 billion) remaining requests. The rest of the code operates normally.

augustd commented 1 year ago

Fixes #61

augustd commented 1 year ago

A nice addition to this would be to suppress/ignore/auto answer 'yes' to the Do you want to continue? [y/N]: message.

janeklb commented 2 months ago

@augustd are you able to verify that the changes I've made work for you?