gql-schema-tools
TypeScript icon, indicating that this package has built-in type declarations

1.2.0 • Public • Published

gql-schema-tools

Tools to work with graphql schemas

Release Maintainability Version Downloads/week License oclif

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

Readme

Keywords

Package Sidebar

Install

npm i gql-schema-tools

Weekly Downloads

0

Version

1.2.0

License

MIT

Unpacked Size

11.4 kB

Total Files

13

Last publish

Collaborators

  • benforce
  • jready