X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fgraphql-client;a=blobdiff_plain;f=bin%2Fgraphql;h=2b5c03b8f1daf353d9ddab51a2a8dafeb075a03f;hp=61279223b4590b7ad2c04e7d548ef2a91e4bc462;hb=HEAD;hpb=3f52bfc7da33474444b067c87f9ca362a21a66ff diff --git a/bin/graphql b/bin/graphql index 6127922..2b5c03b 100755 --- a/bin/graphql +++ b/bin/graphql @@ -6,8 +6,8 @@ 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 @@ -117,6 +117,14 @@ practice. Use C<--no-unpack> to disable if unpack mode was enabled via C. +=head2 C<--filter JSONPATH> + +Filter the response based on a L expression. + +Requires L. + +Alias: C<-p> + =head1 FORMAT The argument for L can be one of: