Created
August 15, 2023 22:59
-
-
Save exosyphon/68a4d8fcee75a6ac84bd76ec0959ec23 to your computer and use it in GitHub Desktop.
Search JSON results using FZF and preview them
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
curl -s SOME_ENDPOINT | jq -c '.data[]' | fzf --reverse --header 'Make a selection' --no-height --preview='printf %s {} | jq' -e |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment