Given a query, it'll return the repositories where the code source matches the query.
https://help.github.com/en/articles/creating-a-personal-access-token-for-the-command-line
Then you can export the token via a env variable called TOKEN
:
.token.sh
#!/usr/bin/env sh
export TOKEN=mytoken
make build
source .token.sh && github-searcher --query "sarama language:go org:Shopify"
or you can also provide the token via parameters, but it'll be in your commands history ¯_(ツ)_/¯
source .token.sh && ./github-searcher --query "sarama language:go org:Shopify"
--token mytoken