We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 0dfaf28 commit 19cee2eCopy full SHA for 19cee2e
1 file changed
graphql/README.md
@@ -5,6 +5,8 @@ This repository holds query samples for the GitHub GraphQL API. It's an easy way
5
### How to use the included script
6
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.
+1. Run `npm install`
+1. Pick the name of one of the included queries in the `/queries` directory, such as `viewer.graphql`.
+1. Run `./index.js <query_file> <token>`
11
+
12
+To change variables values, just modify the variables in the `.graphql` file.
0 commit comments