]> Dogcows Code - chaz/graphql-client/commitdiff
Release GraphQL-Client 0.604 v0.604
authorCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sun, 22 Mar 2020 09:46:13 +0000 (03:46 -0600)
committerCharles McGarvey <chazmcgarvey@brokenzipper.com>
Sun, 22 Mar 2020 09:46:13 +0000 (03:46 -0600)
  * Add --filter JSONPATH argument to CLI.

Changes
README.md

diff --git a/Changes b/Changes
index 92d2e0e7e15524a4035faaf987d2f3786ca5b6b7..81b6bbd049b0e7de6795248fc3ec3b217da26de0 100644 (file)
--- a/Changes
+++ b/Changes
@@ -2,6 +2,9 @@ Revision history for GraphQL-Client.
 
 {{$NEXT}}
 
+0.604     2020-03-22 03:44:44-06:00 MST7MDT
+  * Add --filter JSONPATH argument to CLI.
+
 0.603     2020-03-22 02:01:32-06:00 MST7MDT
   * Allow deep formatting with csv,tsv,table.
   * Fix Unicode issues.
index b8247a8e4674331ca3bc898e1bd863d82eecd02a..caebdfd8947135e54e652cb4197413654ecbf295 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,14 +4,14 @@ graphql - Command-line GraphQL client
 
 # VERSION
 
-version 0.603
+version 0.604
 
 # SYNOPSIS
 
     graphql <URL> <QUERY> [ [--variables JSON] | [--variable KEY=VALUE]... ]
             [--operation-name NAME] [--transport KEY=VALUE]...
-            [--[no-]unpack] [--format json|json:pretty|yaml|perl|csv|tsv|table]
-            [--output FILE]
+            [--[no-]unpack] [--filter JSONPATH]
+            [--format json|json:pretty|yaml|perl|csv|tsv|table] [--output FILE]
 
     graphql --version|--help|--manual
 
@@ -121,6 +121,14 @@ practice.
 
 Use `--no-unpack` to disable if unpack mode was enabled via `GRAPHQL_CLIENT_OPTIONS`.
 
+## `--filter JSONPATH`
+
+Filter the response based on a [JSONPath](https://metacpan.org/pod/JSON%3A%3APath#SYNOPSIS) expression.
+
+Requires [JSON::Path](https://metacpan.org/pod/JSON%3A%3APath).
+
+Alias: `-p`
+
 # FORMAT
 
 The argument for ["--format STR"](#format-str) can be one of:
This page took 0.027318 seconds and 4 git commands to generate.