You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:3.4.4
3
+
Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/public-release/packages/?q=name:^typedb-console+version:3.5.0-rc0
4
4
5
5
6
6
## New Features
7
-
7
+
-**Make version argument not require other fields and unify error messaging**
8
+
Fix an incorrect requirement of `username` and `address` when executing `console --version`. Additionally, unify the format of error messages and add colors (e.g., the "error" header is printed in bold red and argument references are printed in yellow, similar to some of the existing parsing errors).
9
+
10
+
8
11
9
12
## Bugs Fixed
10
13
@@ -13,19 +16,37 @@ Download from TypeDB Package Repository: https://cloudsmith.io/~typedb/repos/pub
13
16
14
17
15
18
## Other Improvements
16
-
-**Create specific exit error codes**
19
+
-**Introduce 'create-init' command to load a new database from schema/data**
20
+
21
+
We introduce a new command `database create-init`, which
17
22
18
-
We generate specific error codes to check when executing commands and scripts programmatically.
19
-
We now have the following exit codes:
23
+
1) create the new database
24
+
2) loads a provided schema file (from URL, or from local file)
25
+
3) loads a provided data file (from URL or from local file)
26
+
27
+
Command format:
20
28
```
21
-
Success = 0,
22
-
GeneralError = 1,
23
-
CommandError = 2,
24
-
ConnectionError = 3,
25
-
UserInputError = 4,
26
-
QueryError = 5,
29
+
database create-init <db> <schema file> <data file> <[optional] schema file sha256 (hex or sha256:hex)> <[optional] data file sha256 (hex or sha256:hex)>
27
30
```
28
31
32
+
Usage example to load bookstore example from `typedb-examples`:
0 commit comments