graphql-cli

Command-line tool for GraphQL development workflows and schema management

brewmacoslinux
Try with needOr install directly
Source

About

Command-line tool for common GraphQL development workflows

Commands

graphql

Examples

Initialize a new GraphQL project with configuration$ graphql init
Validate a GraphQL schema from a URL or local file$ graphql schema:fetch https://api.example.com/graphql
Execute a GraphQL query against an endpoint$ graphql query ./query.graphql --endpoint https://api.example.com/graphql