Skip to content

Commit ebcc404

Browse files
committed
update readme
1 parent 2806226 commit ebcc404

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

README.md

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,12 +11,13 @@ npm install -g get-graphql-schema
1111
## Usage
1212

1313
```sh
14-
Usage: get-graphql-schema ENDPOINT_URL > schema.graphql
14+
Usage: get-graphql-schema [OPTIONS] ENDPOINT_URL > schema.graphql
1515

1616
Fetch and print the GraphQL schema from a GraphQL HTTP endpoint
1717
(Outputs schema in IDL syntax by default)
1818

1919
Options:
20+
--header, -h Add a custom header (ex. 'X-API-KEY=ABC123'), can be used multiple times
2021
--json, -j Output in JSON format (based on introspection query)
2122
--version, -v Print version of get-graphql-schema
2223

0 commit comments

Comments
 (0)