graphql-cli-gramps
v0.1.0
Published
Link library to add gramps-cli to graphql-cli
Downloads
4
Readme
graphql-cli-gramps
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]