Skip to content
This repository has been archived by the owner on Jan 5, 2018. It is now read-only.

Processes import statements in a GraphQL schema and outputs a single schema file

License

Notifications You must be signed in to change notification settings

supergraphql/graphql-cli-bundle

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

17 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

graphql-cli-bundle npm

CircleCIDavidGreenkeeper badge
Plugin for graphql-cli. Processes import statements in a GraphQL schema using graphql-import and outputs a single schema file.

Installation

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

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

Usage

graphql bundle [schema]

Process import statements in a schema and output a single schema file

Options:
  --dotenv       Path to .env file                                      [string]
  -p, --project  Project name                                           [string]
  --schema       Schema file to process                                 [string]
  --output, -o   Filename of output schema                   [string] [required]
  --force, -f    Force overwriting exissting output file               [boolean]
  -h, --help     Show help                                             [boolean]
  -v, --version  Show version number                                   [boolean]

About

Processes import statements in a GraphQL schema and outputs a single schema file

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published