Isn't the gh CLI useless if it can't connect to GitHub.com? Or does it work with enterprise GitHub and that's the use case you're talking about.
It does work with enterprise instances
It does work with enterprise instances