graphql-cli icon indicating copy to clipboard operation
graphql-cli copied to clipboard

graphql accepts arbitrary commands without throwing

Open hediet opened this issue 4 years ago • 1 comments

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:

  1. Install graphql 4.1.0
  2. Run yarn graphql foobar

Expected behavior The tool should output an error that the command foobar does not exist.

Screenshots

image

Versions (please complete the following information):

  • OS: Windows 10
  • graphql-cli: 4.1.0

hediet avatar Feb 12 '21 16:02 hediet

@Urigo Is there a practical reasoning behind that design decision?

melMass avatar Aug 28 '22 10:08 melMass