Aleksandr, Both proposed options look good to me because both cases assume that a user must express their intent explicitly.
On Thu, May 19, 2022 at 10:53 AM Aleksandr Pakhomov <apk...@gmail.com> wrote: > > I got it. What do you think about this proposal: > > - “ignite” prints help > - “ignite shell” enters REPL > > Or > > - “ignite” prints help > - “ignite-shell” enters REPL and it is a separate application > > I prefer the first varian but I would like to hear opinions of other > community members. > > > > On 19 May 2022, at 01:16, Andrey Gura <ag...@apache.org> wrote: > > > > 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. >