Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
julianbenegas committed Apr 18, 2023
1 parent 6395fa8 commit da584ce
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -178,18 +178,18 @@ module.exports = {
}
```

And then you can run `generate`:
And then you can run the generator:

```zsh
yarn sdk-gen generate
yarn sdk-gen
```

This will look inside `./sdk-gen/` for a `config.js` file, and for all your `.{graphql,gql}` files under that directory.

If you want to use a custom directory (and not the default, which is `./sdk-gen/`), you can use the `--dir` argument.

```zsh
yarn sdk-gen generate --dir ./my-custom/directory
yarn sdk-gen --dir ./my-custom/directory
```

After running the generator, you should get the following result:
Expand Down

0 comments on commit da584ce

Please sign in to comment.