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

Latest commit

 

History

History
31 lines (26 loc) · 1.82 KB

README.md

File metadata and controls

31 lines (26 loc) · 1.82 KB

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]