From afb40e676d4aa097dc5f17d3fd021c06eaf6aa72 Mon Sep 17 00:00:00 2001 From: Guillaume Pasquet Date: Thu, 24 Feb 2022 23:43:52 +0000 Subject: Bump to v0.2.0 --- README.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'README.md') diff --git a/README.md b/README.md index a47d00d..3f799d0 100644 --- a/README.md +++ b/README.md @@ -8,7 +8,7 @@ Barb is a file-based API query tool that works nicely with version control and f ## Example usage ``` -barb ... +barb [options] ... ``` ### CLI options @@ -18,6 +18,7 @@ barb ... - `-h, --headers`: Only print the response headers - `-r, --raw`: Don't format the response body - `-V, --version`: Print the software version +- `-n, --no-color`: Don't use color output ## Barb format @@ -26,6 +27,7 @@ Barb uses a custom file format to perform requests. Each file contains _one_ req ``` #POST^http://my-blog.com/posts #Authorization: TOKEN {API_TOKEN} +#|jq.filter { "title": "A post", @@ -68,15 +70,13 @@ There can be none or many headers. ### Filter -!!! Not operational at this time - -Barb will support JQ filtering of the response body. This has the following format: +Barb supports JQ filtering of the response body. This has the following format: ``` #| ``` -The `JQ FILTER` supports variable substitution. +The `JQ FILTER` supports variable substitution. Refer to the [JQ manual](https://stedolan.github.io/jq/manual/#Basicfilters) for more information on the filters and their syntax. ### Body -- cgit v1.2.3