All commands provide the ability to query for responses, e.g. retrieving the numeric application ID after searching for it via name. Querying is specified by using the --query flag and the JSON query path annotation for querying for accessing the JSON properties.
For further information on the JSONPath syntax, follow this page.
NOTICE
Some rules may not directly apply to Golang. For example, the root of the object can be omitted but the curly braces must be provided around the expression.
# Retrieving all application IDs of all apps available in the catalog
iectl iem catalog list --query {data[*].applicationId}