X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fgraphql-client;a=blobdiff_plain;f=README.md;h=fd618b963673c32c838b12b24046f87c653e4a95;hp=b8247a8e4674331ca3bc898e1bd863d82eecd02a;hb=HEAD;hpb=731d4977250fa7fec132712d1dfe06dc8d3332e2 diff --git a/README.md b/README.md index b8247a8..fd618b9 100644 --- a/README.md +++ b/README.md @@ -4,14 +4,14 @@ graphql - Command-line GraphQL client # VERSION -version 0.603 +version 0.605 # SYNOPSIS graphql [ [--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: @@ -256,7 +264,11 @@ feature. # AUTHOR -Charles McGarvey +Charles McGarvey + +# CONTRIBUTOR + +jwright # COPYRIGHT AND LICENSE