Details
-
Improvement
-
Status: Open
-
Major
-
Resolution: Unresolved
-
None
-
None
-
Docs Required, Release Notes Required
Description
Current State: The majority of 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.
Proposed Enhancement: It is suggested to incorporate a -json option for all CLI commands, supplementing the existing -plain option. The introduction of this 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.