typedb / typedb-console

TypeDB Console: CLI for TypeDB and TypeDB Cluster
https://typedb.com
Mozilla Public License 2.0
7 stars 16 forks source link

Update command line interface #220

Closed dmitrii-ubskii closed 12 months ago

dmitrii-ubskii commented 12 months ago

What is the goal of this PR?

We update the CLI options to use the more distinct --core flag for connecting to the core server, mirroring --enterprise.

Connecting to TypeDB Core:

typedb console --core=<address>

Connecting to TypeDB Enterprise (unchanged):

typedb console --enterprise=<address> --username=<username> --password --tls-enabled

See https://github.com/vaticle/typedb/issues/6942 for full details.

We also improve the UX of the windows version of the entry point. Console no longer opens in a new window, but rather begins the REPL in the current command line window.

typedb-bot commented 12 months ago

PR Review Checklist

Do not edit the content of this comment. The PR reviewer should simply update this comment by ticking each review item below, as they get completed.


Trivial Change

Code

Architecture