X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=README;h=1d6ad75753c1e94a3710d5094338908c33ecb1c8;hb=6d242a225e6faf0e8fc93e3e29d50b362ac7a0df;hp=8d892553238c915cc9eda0523e0199495cbb514b;hpb=5a60339982e6233eed810a7d120e7e74642006ea;p=chaz%2Fgraphql-client diff --git a/README b/README index 8d89255..1d6ad75 100644 --- a/README +++ b/README @@ -4,14 +4,14 @@ NAME VERSION - version 0.602 + 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 @@ -122,9 +122,19 @@ OPTIONS 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. + as-is and the program exits 1. See "EXAMPLES" to see what this looks + like in practice. - See "EXAMPLES". + Use --no-unpack to disable if unpack mode was enabled via + GRAPHQL_CLIENT_OPTIONS. + + --filter JSONPATH + + Filter the response based on a JSONPath expression. + + Requires JSON::Path. + + Alias: -p FORMAT @@ -276,7 +286,11 @@ BUGS AUTHOR - Charles McGarvey + Charles McGarvey + +CONTRIBUTOR + + jwright COPYRIGHT AND LICENSE