0.1.0 • Published 7 years ago

graphql-cli-gramps v0.1.0

Weekly downloads
-
License
MIT
Repository
-
Last release
7 years ago

graphql-cli-gramps npm

CircleCIDavid
Plugin for graphql-cli. Adds the gramps-cli to graphql-cli.

Installation

Install graphql-cli-gramps either globally (recommended) or locally using your favorite package manager:

$ yarn [global] add graphql-cli-gramps
$ npm install graphql-cli-gramps [--global]

Usage

graphql gramps dev

run a GraphQL gateway for local development

Choose data source(s) for local development:
  --data-source, --data-sources, -d  path to one or more data sources    [array]

Choose a GraphQL gateway to run the data sources:
  --gateway, -g  path to a GraphQL gateway start script                 [string]

Choose real or mock data:
  --live, -l  run GraphQL with live data
  --mock, -m  run GraphQL offline with mock data

Turn Babel on or off:
  --no-transpile

Options:
  --dotenv       Path to .env file                                      [string]
  -p, --project  Project name                                           [string]
  --transpile    don’t transpile data sources (point to a build dir)
                                                       [boolean] [default: true]
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]