No objection to SQLLine printing some helpful instructions, as long as there is 
a way for more advanced users to turn it off.

I can’t think of a mechanism in SQLLine to run a startup script, but there 
probably is one.

> On Feb 6, 2020, at 1:55 AM, Vladimir Sitnikov <sitnikov.vladi...@gmail.com> 
> wrote:
> 
>> If you notice anything weird let me know.
> 
> Thank you.
> 
> ---
> 
> I recently found that ./sqlline is non-trivial, especially when non-expert
> is using it.
> 
> What do you think if we make ./sqlline to print sample commands right after
> it starts?
> 
> We have pre-defined data sets.
> What if ./sqlline printed a couple of lines right at the startup, so the
> user could copy-paste them to connect to the datasets?
> 
> It would probably make sense to add !echo and !startupscript commands to
> Sqlline so
> Calcite's sqlline could print the welcome message and suggest the way to
> connect and
> it could even suggest a couple of SQLs to try.
> 
> ---
> 
> As a side note, it might be interesting to have Calcite playground.
> It could be like https://rextester.com/l/postgresql_online_compiler but
> with Calcite inside.
> 
> Vladimir

Reply via email to