Esta página aún no está disponible en su idioma local. Estamos trabajando arduamente para agregar más versiones de idiomas. Gracias por tu apoyo.

On this page

Show all

What Are the Precautions for Using cli-json-filter?

Updated on 2023-02-27 GMT+08:00

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:

Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback