Is your feature request related to a problem?
When I use sli-cli in command-line mode (i.e., opensearchsql -p '<query> sometime I would like to get the raw JSON output from the SQL plugin so that I can post process it with other tools.
What solution would you like?
A command-line option, like --json that in conjunction with -q option makes sql-cli output JSON documents.
What alternatives have you considered?
Using OpenSearch SQL REST API directly. This gets very repetitive after a while.