You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When not passing anything to hq, it should echo back the HTML it received, potentially even with some formatting, a la jq, instead of current behavior which is to error.
$ curl -s https://example.com | hq
error: the following required arguments were not provided:
<QUERY>
Usage: hq <QUERY> [INPUT_FILE]
For more information, try '--help'.
It'd be fine to also implement jq . as hq {} or such - as a way to verify that the HTML itself is parseable, prior to trying to apply a query.
The text was updated successfully, but these errors were encountered:
When not passing anything to
hq
, it should echo back the HTML it received, potentially even with some formatting, a lajq
, instead of current behavior which is to error.It'd be fine to also implement
jq .
ashq {}
or such - as a way to verify that the HTML itself is parseable, prior to trying to apply a query.The text was updated successfully, but these errors were encountered: