fix(auth status): exit with code 1 when auth fails
Description
- Ensures glab returns exit code 1 when one or more instances fail to authenticate when using
glab auth status - Better error messages
Related Issues
Resolves #911 (closed)
How has this been tested?
Updated unit tests
| Scenario | Output |
|---|---|
| Specific host - success | ![]() |
| Specific host - failure | ![]() |
| Specific host not configured | ![]() |
| Multiple host - success | ![]() |
| Multiple host - failure | ![]() |
| No config | ![]() |
Types of changes
-
Bug fix (non-breaking change which fixes an issue) -
New feature (non-breaking change which adds functionality) -
Breaking change (fix or feature that would cause existing functionality to change) -
Documentation -
Chore (Related to CI or Packaging to platforms) -
Test gap
Edited by Jay McCure





