Skip to content

Commit

Permalink
Merge branch 'main' of https://github.com/ICoder0/hq into main
Browse files Browse the repository at this point in the history
  • Loading branch information
BOFA1ex committed Oct 8, 2021
2 parents d9da9e0 + befd079 commit 076a7df
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@ it's better piping action before jq stdin.
```shell
pip install lxml
pyinstaller -F hq.py
# wget https://github.com/ICoder0/hq/releases/download/v0.1.0/hq-linux
sudo mv ./hq /usr/bin
sudo chmod +x /usr/bin/hq
```
Expand Down Expand Up @@ -43,4 +44,4 @@ output

## best practice

`curl http://testapi.cn | hq -x 'title=//xxxx' -x 'link=//xxxxx' | jq '[.title,.link] | transpose | map({title:.[0],link:.[1]})' > test.json`
`curl http://testapi.cn | hq -x 'title=//xxxx' -x 'link=//xxxxx' | jq '[.title,.link] | transpose | map({title:.[0],link:.[1]})' > test.json`

0 comments on commit 076a7df

Please sign in to comment.