0.1.2 • Published 7 years ago

graphql-cli-bundle v0.1.2

Weekly downloads
1
License
MIT
Repository
github
Last release
7 years ago

graphql-cli-bundle npm CircleCI Greenkeeper 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 add graphql-cli-bundle [--global]
$ 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]