Added httpless to README.

This commit is contained in:
Jakub Roztocil 2012-12-01 15:54:36 +01:00
parent 4a24cd25b9
commit 444a9fa929

View File

@ -798,6 +798,16 @@ Force colorizing and formatting, and show both the request and the response in
The ``-R`` flag tells ``less`` to interpret color escape sequences included
HTTPie`s output.
You can create a shortcut for invoking HTTPie with colorized and paged output
by adding the following to your `~/.bash_profile`:
.. code-block:: bash
function httpless {
# `httpless example.org'
http --pretty=all "$@" | less -R;
}
==================
Streamed Responses