What Are the Precautions for Using cli-json-filter?
KooCLI supports the --cli-json-filter option to pass a JMESPath expression and perform a JMESPath query on the JSON result. This option facilitates the extraction of key information in the results. Note the following when using --cli-json-filter:
- If --cli-json-filter is used in the command, the calling result will be output in JSON format.
- In the same command, --cli-json-filter cannot be used together with --cli-output-rows, --cli-output-cols, or --cli-output-num. Otherwise, an error occurs because the output format cannot be determined.
For details about using cli-json-filter to define a JMESPath expression, see the following:
How Do I Use cli-json-filter? What Are the Precautions? FAQs
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
more