OR
Use nix-shell
to enter an environment with all necessary dependencies.
- Run the binary with:
cargo run -- <args>
- Build the binary with:
cargo build --release
Install graphql-client
with cargo:
cargo install graphql_client_cli
Then, run the following command to generate the schema:
graphql-client introspect-schema https://backboard.railway.app/graphql/v2 > src/gql/schema.json