geldata / geldata/gel-cli

Error when linking a new instance and using `-I`

Open
#997 2 comments 0 reactions 0 assignees View on GitHub
developer experience minor
Dominant language
Rust
Stars
175
Forks
32
PR merge metrics
No merged PRs in 30d

Description

- EdgeDB CLI Version: EdgeDB CLI 3.0.0-dev
- OS Version: Ubuntu 22.02

Steps to Reproduce:

1. `edgedb instance link -I asxasxasx`
2. Type anything when prompted for more info (I just pressed enter 3x)

```
edgedb error: ClientError: cannot read credentials file /home/aljaz/.config/edgedb/credentials/asxasxasx.json: No such file or directory (os error 2)
```

Full output:
```
➜ movies edgedb instance link -I asxasxasx
Specify the host of the server [default: localhost]:
> localhost
Specify the port of the server [default: 5656]:
> 5656
Specify the database user [default: edgedb]:
> edgedb
Specify the database name [default: edgedb]:
> edgedb
edgedb error: ClientError: cannot read credentials file /home/aljaz/.config/edgedb/credentials/asxasxasx.json: No such file or directory (os error 2)
```

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.