Skip to content

[FEATURE] Command-line option to output JSON response #13

Description

@MaxKsyunz

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.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions