]> Dogcows Code - chaz/graphql-client/blobdiff - README.md
Release GraphQL-Client 0.605
[chaz/graphql-client] / README.md
index d188b993ffeefbfe588435450fbf4185ee592d8c..fd618b963673c32c838b12b24046f87c653e4a95 100644 (file)
--- a/README.md
+++ b/README.md
@@ -4,14 +4,14 @@ graphql - Command-line GraphQL client
 
 # VERSION
 
-version 0.602
+version 0.605
 
 # 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
 
@@ -116,9 +116,18 @@ By default, the response structure is printed as-is from the server, and the pro
 
 When unpack mode is enabled, if the response completes with no errors, only the data section of
 the response is printed and the program exits 0. If the response has errors, the whole response
-structure is printed as-is and the program exits 1.
+structure is printed as-is and the program exits 1. See ["EXAMPLES"](#examples) to see what this looks like in
+practice.
 
-See ["EXAMPLES"](#examples).
+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
 
@@ -255,7 +264,11 @@ feature.
 
 # AUTHOR
 
-Charles McGarvey <chazmcgarvey@brokenzipper.com>
+Charles McGarvey <ccm@cpan.org>
+
+# CONTRIBUTOR
+
+jwright <jwright@ecstuning.com>
 
 # COPYRIGHT AND LICENSE
 
This page took 0.020934 seconds and 4 git commands to generate.