Doesn't seem to work with GHE
retr0h opened this issue · comments
org-stats --token xxx --org engx --github-url https://ghe.private/
GET https://ghe.private/login?return_to=https%3A%2F%2Fghe.private%2Forgs%2Fengx%2Frepos%3Fper_page%3D10: 406 []
Issue seems to be /orgs/$org/repos doesn't exist.
gladly accept a PR for this... as I don't have access to GHE instances to test.
just noticed in the error: you need to pass the API url of your github enterprise, not the UI URL
so this is likely not a bug... closing