graphql-validate-0.2.0 is not a library.
graphql-validate
A CLI for validating GraphQL schemas and queries.
Install
- Install Rust
- Run
cargo install graphql-validate
Usage
USAGE:
graphql-validate <SUBCOMMAND>
FLAGS:
-h, --help Prints help information
-V, --version Prints version information
SUBCOMMANDS:
help Prints this message or the help of the given subcommand(s)
infer Infer how to validate the file based on the file extension. `.graphql` is a query and `.graphqls` is a
schema.
query Parse and validate the file as a query
schema Parse and validate the file as a schema