Skip to content

"glab auth status" does not respect GITLAB_HOST environment variable

Problem to solve

I find it confusing that most commands respect GITLAB_HOST from the environment, but glab auth status does not.

Proposal

Use GITLAB_HOST and GLAB_HOST environment as fallback if -h option is not given to glab auth status. May also affect glab auth login.

Further details

Tested on version 1.27.1.

To upload designs, you'll need to enable LFS and have an admin enable hashed storage. More information