[ https://issues.apache.org/jira/browse/IGNITE-19555?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Aleksandr updated IGNITE-19555: ------------------------------- Description: Current State: The majority of Command Line Interface (CLI) commands, with an output resembling a tabular format, possess the '--plain' option. This option enables the output to be presented in a tab-separated table format, offering ease of integration with scripts based on AWK (Aho, Weinberger, and Kernighan). Proposed Enhancement: It is suggested to incorporate a '--json' option for all CLI commands, supplementing the existing '--plain' option. The introduction of the '--json' option would allow output to be piped into JSON-oriented tools such as 'jq'. Moreover, it would facilitate the usage of the output as a body for RESTful API calls. > Allow json rendering in Ignite 3 CLI > ------------------------------------ > > Key: IGNITE-19555 > URL: https://issues.apache.org/jira/browse/IGNITE-19555 > Project: Ignite > Issue Type: Improvement > Components: cli > Reporter: Aleksandr > Priority: Major > Labels: ignite-3, ignite-3-cli-tool > > Current State: The majority of Command Line Interface (CLI) commands, with an > output resembling a tabular format, possess the '--plain' option. This option > enables the output to be presented in a tab-separated table format, offering > ease of integration with scripts based on AWK (Aho, Weinberger, and > Kernighan). > Proposed Enhancement: It is suggested to incorporate a '--json' option for > all CLI commands, supplementing the existing '--plain' option. The > introduction of the '--json' option would allow output to be piped into > JSON-oriented tools such as 'jq'. Moreover, it would facilitate the usage of > the output as a body for RESTful API calls. -- This message was sent by Atlassian Jira (v8.20.10#820010)