Skip to content

Navigation Menu

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Commit c636b9e

Browse filesBrowse files
committed
fix: change the environment ID key for CLI
1 parent d2acad6 commit c636b9e
Copy full SHA for c636b9e

File tree

2 files changed

+2
-2
lines changed
Filter options

2 files changed

+2
-2
lines changed

‎README.md

Copy file name to clipboardExpand all lines: README.md
+1-1Lines 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

Copy file name to clipboardExpand all lines: cmd/cli/commands/client.go
+1-1Lines 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 (0)
Morty Proxy This is a proxified and sanitized view of the page, visit original site.