We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 2806226 commit ebcc404Copy full SHA for ebcc404
README.md
@@ -11,12 +11,13 @@ npm install -g get-graphql-schema
11
## Usage
12
13
```sh
14
- Usage: get-graphql-schema ENDPOINT_URL > schema.graphql
+ Usage: get-graphql-schema [OPTIONS] ENDPOINT_URL > schema.graphql
15
16
Fetch and print the GraphQL schema from a GraphQL HTTP endpoint
17
(Outputs schema in IDL syntax by default)
18
19
Options:
20
+ --header, -h Add a custom header (ex. 'X-API-KEY=ABC123'), can be used multiple times
21
--json, -j Output in JSON format (based on introspection query)
22
--version, -v Print version of get-graphql-schema
23
0 commit comments