Plugin for graphql-cli
. Processes import statements in a GraphQL schema using graphql-import
and outputs a single schema file.
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]
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]