httpie/cli

Filter response keys before print result to the screen

Opened this issue · 0 comments

Checklist

  • I've searched for similar feature requests.

Enhancement request

It would be nice to have an option which allows to remove some key(s) from response before it will be print to the screen.


Problem it solves

I'm always frustrated when I have to scroll my screen up every time when the response is long. In some testcase(s) I'm interesting in a specific json key(s) and response header but some of the key(s) has really looong content and I don't care of it.


Additional information, screenshots, or code examples

It would be nice to have an option --filter-keys foo,bar.boo which will remove those keys from response before it will be well formatted.