gql-schema-tools
Tools to work with graphql schemas
Usage
$ npm install -g gql-schema-tools
$ gql COMMAND
running command...
$ gql (-v|--version|version)
gql-schema-tools/1.2.0 linux-x64 node-v12.20.1
$ gql --help [COMMAND]
USAGE
$ gql COMMAND
...
Commands
gql help [COMMAND]
display help for gql
USAGE
$ gql help [COMMAND]
ARGUMENTS
COMMAND command to show help for
OPTIONS
--all see all commands in CLI
See code: @oclif/plugin-help
gql merge FILE
Merge multiple graphql schema files into a single output
USAGE
$ gql merge FILE
ARGUMENTS
FILE Filename to save result
OPTIONS
-h, --help show CLI help
-i, --input=input [default: **/*.graphql] glob pattern of schema files
--removeAuth Removes authorization directives from the output schema
--sort
See code: src/commands/merge.ts