Important: This documentation covers Yarn 1 (Classic).
For Yarn 2+ docs and migration guide, see yarnpkg.com.

Package detail

graph-qli

rphansen914ISC1.0.2

CLI to easily get started with GrapghQL

readme

GrapghQLi

Quickly get started with GraphQL by auto generating schemas based on current REST endpoints

Usage

  1. npm install graph-qli -g
  2. gqcli create {{project_name}}
  3. cd {{project_name}}
  4. npm run dev

Query

gqcli query {{query_name}}

Will ask to supply a schema or an endpoint.

After validation of the schema the project will be updated to include the new query

Mutation

gqcli mutation {{mutation_name}}

Will ask to supply a schema or an endpoint.

After validation of the schema the project will be updated to include the new mutation.