fgs
v0.1.2
Published
> `fgs` _or_ **F**etch **G**raphQL **S**chema is a small utility cli to perform an introspection query against a [graphql-config](https://graphql-config.com/) configuration.
Downloads
68
Readme
fgs

fgs
or Fetch GraphQL Schema is a small utility cli to perform an introspection query against a graphql-config configuration.
💡 Features
- graphql-config multi-project integration
- relay (rust) aware
- json/sdl output
⚙️ Install
npm install fgs
🚀 Usage
# fetch schema for endpoint `next`
$ fgs
# fetch schema for endpoint `my-env`
$ fgs --endpoint my-env
# fetch schema into sdl as json
$ fgs --json
License
MIT © Marais Rossouw