0.0.14 • Published 7 years ago

fetch-schema v0.0.14

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

fetch-schema

A simple CLI tool for fetching and saving GraphQL schemas.

Installation & Usage

If you would like to use the tool from the command line then install it globally.

npm install fetch-schema -g

You can also install it locally to a project and call it from npm. This is particularly useful for relay projects.

npm install fetch-schema --save-dev or yarn add fetch-schema --dev

then in your package.json add a script

"scripts": {
  "update-schema": "./node_modules/.bin/fetch-schema <graphql-url> -f schema.graphql"
}

and then every time your schema changes you can simply run

npm run update-schema

CLI Usage

fetch-schema <graphql-url> [-f <path-to-file>]

LICENSE

MIT

0.0.14

7 years ago

0.0.13

7 years ago

0.0.12

7 years ago

0.0.11

7 years ago

0.0.10

7 years ago

0.0.9

7 years ago

0.0.8

7 years ago

0.0.7

7 years ago

0.0.6

7 years ago

0.0.5

7 years ago

0.0.4

7 years ago

0.0.3

7 years ago

0.0.2

7 years ago