Skip to main content

Manage Query Output

You can see verbose query results, output results to JSON, and share results with your team.

See verbose query results​

To see detailed progress as the query runs, use -v or --verbose. For example:

cnquery run local -c "services.list{*}" -v

Output results to JSON​

To convert the output of your query to JSON, use -j or --json. For example:

cnquery run local -c "services.list{*}" -j

You can then pipe the output to jq or other applications.