X-Git-Url: https://git.dogcows.com/gitweb?p=chaz%2Fgraphql-client;a=blobdiff_plain;f=bin%2Fgraphql;fp=bin%2Fgraphql;h=2b5c03b8f1daf353d9ddab51a2a8dafeb075a03f;hp=61279223b4590b7ad2c04e7d548ef2a91e4bc462;hb=0500659090b2f3412761d871d657c09632ebc865;hpb=e2f95e02b06704ec9894a1e981263c39354f6559 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: