File tree Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Expand file tree Collapse file tree 1 file changed +5
-3
lines changed Original file line number Diff line number Diff line change @@ -5,6 +5,8 @@ This repository holds query samples for the GitHub GraphQL API. It's an easy way
5
5
### How to use the included script
6
6
7
7
1 . Generate a [ personal access token] ( https://help.github.com/articles/creating-an-access-token-for-command-line-use/ ) for use with these queries.
8
- 1 . Run ` bundle install ` .
9
- 1 . Pick the name of one of the included queries like ` viewer.graphql ` .
10
- 1 . Run ` TOKEN=<OAuth Token> bin/run-query viewer.graphql ` . Replace ` <OAuth Token> ` with your personal access token.
8
+ 1 . Run ` npm install `
9
+ 1 . Pick the name of one of the included queries in the ` /queries ` directory, such as ` viewer.graphql ` .
10
+ 1 . Run ` ./index.js <query_file> <token> `
11
+
12
+ To change variables values, just modify the variables in the ` .graphql ` file.
You can’t perform that action at this time.
0 commit comments