#graphql-schema #validating #queries #cli #file #file-path #content

app graphql-validate

A CLI for validating GraphQL schemas and queries

4 releases (2 breaking)

0.3.1 Nov 25, 2018
0.3.0 Nov 25, 2018
0.2.0 Nov 25, 2018
0.1.0 Nov 25, 2018

#8 in #validating

Download history 4/week @ 2024-02-26 71/week @ 2024-04-01

71 downloads per month

MIT license

4KB

graphql-validate

A CLI for validating GraphQL schemas and queries.

Install

  1. Install Rust
  2. Run cargo install graphql-validate

Usage

USAGE:
    graphql-validate <file>

FLAGS:
    -h, --help       Prints help information
    -V, --version    Prints version information

ARGS:
    <file>    Path to the graphql file. Can be a schema or a query. The type will be inferred from the contents.

Dependencies

~8MB
~148K SLoC