It would be useful to be able to specify the query via the command line and have the query input pre-populated with the query, and the results applying the query.
My example use case is that I'm using jq to run queries and view them on the command line. It would be handy to easily switch to jqp to have the results displayed in jqp instead.
I realise I could just pipe data through jq before jqp (eg. jq 'my query' | jqp) but it would be helpful for the query to be passed in too.
It would be useful to be able to specify the query via the command line and have the query input pre-populated with the query, and the results applying the query.
My example use case is that I'm using
jq
to run queries and view them on the command line. It would be handy to easily switch tojqp
to have the results displayed injqp
instead.I realise I could just pipe data through jq before jqp (eg.
jq 'my query' | jqp
) but it would be helpful for the query to be passed in too.So something like:
Thanks.