graphql-cli
graphql-cli copied to clipboard
graphql accepts arbitrary commands without throwing
Describe the bug
yarn graphql foobar runs through and does not indicate an error, even though foobar does not exist.
To Reproduce Steps to reproduce the behavior:
- Install
graphql4.1.0 - Run
yarn graphql foobar
Expected behavior
The tool should output an error that the command foobar does not exist.
Screenshots

Versions (please complete the following information):
- OS:
Windows 10 graphql-cli:4.1.0
@Urigo Is there a practical reasoning behind that design decision?