@andrewnez that looks really nice. As a new contributor to glab, I have faced an enterprise edge case in the past:
The API host of (at least) GitLab can be different than the ssh host used for Git commands. Is that already covered? If not, I could at least point you in the right direction or maybe create a MR if you like.