Skip to content

graphql-cli/graphql-cli-gramps

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

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]

About

Link library to add gramps-cli to graphql-cli

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published