Details
-
Task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
Release Notes Required
Description
Description
When a user starts REPL by the ignite command they get [disconnected]> prompt by default. Even if the user already connected to the cluster node in the previous session.
To-Do
Implement the auto-connect logic for the case described below. The URL for the connect command can be taken from the defaults. If the user previously connected to the URL that differs from the default one then suggest using the last URL as a default.
$ ignite
> connect to http://host.from.previous.session:10300 ? # this is asked only if the default url is not possible to connect
> yes
[http://host.from.previous.session:10300]> would you like to use http://host.from.previous.session:10300 as the default URL?
[http://host.from.previous.session:10300]> no
[http://host.from.previous.session:10300]>
Attachments
Issue Links
- is blocked by
-
IGNITE-17133 Implement user flow for CLI
- Resolved
- links to