gh-userfetch icon indicating copy to clipboard operation
gh-userfetch copied to clipboard

Eliminate jq dependence

Open sheepla opened this issue 3 years ago • 2 comments

sheepla avatar Oct 14 '21 08:10 sheepla

This tool using jq but GitHub CLI (gh api) has --jq option. If I understand how to use jq, this tool can eliminate depencency of jq.

sheepla avatar Oct 16 '21 05:10 sheepla

It seems that it can be realized by applying the following one liner...:

$ gh api user --jq '. | .location, .followers, .following, .blog, .public_repos, .public_gists' | \cat
Japan
61
92
https://sheepla.github.io/sheepla-note/
26
17

sheepla avatar Oct 16 '21 05:10 sheepla