Installing the graphql executable
Assuming you have Rust/Cargo installed , run this command in a terminal:
cargo install graphql-cli
It will make the graphql command available in your PATH if you've allowed the PATH to be modified when installing Rust . cargo uninstall graphql-cli uninstalls.
Back to the crate overview .
Readme
Graphql CLI
A command-line tool for graphql written in rust.
Features (so far):
Reformat (indent, prettify) query language
Reformat schema definition language
License
Licensed under either of
at your option.
Contribution
Unless you explicitly state otherwise, any contribution intentionally
submitted for inclusion in the work by you, as defined in the Apache-2.0
license, shall be dual licensed as above, without any additional terms or
conditions.