Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit f1cb1ee

Browse files
committed
Merge branch 'fix-environment-init' into 'master'
fix: change the environment ID key for CLI See merge request postgres-ai/database-lab!88
2 parents d2acad6 + c636b9e commit f1cb1ee

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ initialize CLI and start communicating with the Database Lab server(s).
8989
### Initialize CLI tool
9090
```bash
9191
dblab init \
92-
--environment_id=tutorial \
92+
--environment-id=tutorial \
9393
--url=http://$IP_OR_HOSTNAME:3000 \
9494
--token=secret_token
9595
```

cmd/cli/commands/client.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ import (
1313

1414
// CLI configuration keys.
1515
const (
16-
EnvironmentIDKey = "environment_id"
16+
EnvironmentIDKey = "environment-id"
1717
URLKey = "url"
1818
TokenKey = "token"
1919
InsecureKey = "insecure"

0 commit comments

Comments
 (0)