mirror of
https://github.com/httpie/cli.git
synced 2024-11-08 08:55:05 +01:00
Added httpless
to README.
This commit is contained in:
parent
4a24cd25b9
commit
444a9fa929
10
README.rst
10
README.rst
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user