ashkulz / committers.top

CLI tool which uses the GitHub GraphQL API to rank users according to number of contributions, and corresponding static website.
https://committers.top
MIT License
240 stars 26 forks source link

Verbose mode #27

Closed Sigmanificient closed 5 months ago

Sigmanificient commented 5 months ago

Hi, I have played around with your tool, and it seems to take a really long time despite my good connection. I suspect that it does a lot of queries behind the scene, and maybe it gets rate-limited?

I used the command from the README, and increased slightly the amount, in hope to see my profile appear on the list:

go run *.go          \
    --token [TOKEN]  \
    --preset france  \
    --amount 5000    \
    --consider 10000 \
    --output csv     \
    --file ./output.csv

Could you add something like a verbose mode to see what is happening, and possibly track progression? It would be really nice! Thanks

ashkulz commented 5 months ago

@Sigmanificient did you try this GraphQL query? Also, if you read the page for France it clearly states you need to be having 164 followers to be on the list, which doesn't seem to be the case for you. See this FAQ entry on why this is done.

Sigmanificient commented 5 months ago

Hi, I don't understand your reply, as it seems to be unrelated with the issue I opened and feature request I proposed?

This issue was about adding a version options such as --verbose into the CLI in order to see the requests done behind the scene and get information when doing manual requests