Skip to content

fix: auth status should error for unknown/unconfigured host #107

@q-soriarty

Description

@q-soriarty

Problem

`copia-cli auth status --host nonexistent.example.com` shows the default host's status instead of erroring.

Expected behavior

```
$ copia-cli auth status --host nonexistent.example.com
Error: not logged in to nonexistent.example.com
```

Discovered by

gh CLI behavior comparison test.

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions