> 1. Does “Ignite shell” sounds better? I don't know. It could be Ignite REPL, IGnite Shell or something else. Just an idea.
> But I did not get your point about scripting. What do you mean by saying “it > will just hang”? What kind of error is going to be the cause of such > behaviour? I can just have a mistake in my script, e.g. running ignite command without any parameters. What will happen in such a case from the script perspective? I think the script will wait for returning value while the shell will wait for a user input. Due to a server-side nature of the script it will hang forever because there is no user on the server side. On Thu, May 19, 2022 at 1:02 AM Aleksandr Pakhomov <apk...@gmail.com> wrote: > > Hi, Andrey > > Thanks for comments. > > 1. Does “Ignite shell” sounds better? > > 2. Yes, you are right. Most tools print help if they are executed without > arguments. But I did not get your point about scripting. What do you mean > by saying “it will just hang”? What kind of error is going to be the cause > of such behaviour? > > > On 18 May 2022, at 21:14, Andrey Gura <ag...@apache.org> wrote: > > > > Hi, > > > > My two cents: > > > > 1. CLI Tool - looks like not the best name :) Shell? > > > > 2. The description says: "REPL mode is used by default and is > > activated if the ignite command is executed without parameters." > > > > I think it is a bad idea. Firstly, it is usual CLI's behaviour to > > print a help for a user. An exception if we would use a special CLI > > for REPL. Shell? :) > > Also such approach breaks my expectations related to a scripting. In > > case of an error in a script it will just hang. So, a separate CLI > > utility looks better than ignite CLI. > > > > > > On Thu, May 12, 2022 at 11:43 PM Aleksandr Pakhomov <apk...@gmail.com> > > wrote: > >> > >> Hello, Igniters. > >> > >> I’d like to start a discussion about Ignite 3 Command Line Tool [1]. The > >> main value is to develop a user-friendly command-line tool with advanced > >> completions and SQL REPL mode. > >> > >> The set of commands and parameters can be discussed. Questions and > >> comments are welcomed. > >> > >> [1] https://cwiki.apache.org/confluence/display/IGNITE/IEP-88%3A+CLI+Tool > >> <https://cwiki.apache.org/confluence/display/IGNITE/IEP-88:+CLI+Tool> >