DOKK / manpages / debian 12 / gh / gh-auth-token.1.en
GH-AUTH-TOKEN(1) GitHub CLI manual GH-AUTH-TOKEN(1)

gh-auth-token - Print the auth token gh is configured to use

gh auth token [flags]

-h, --hostname <string>
The hostname of the GitHub instance authenticated with

gh-auth(1)

Feb 2023