spyl94 / graphql-doctor

Prevent Breaking Changes in a GraphQL API with GitHub Checks
ISC License
222 stars 9 forks source link

CLI application #6

Open tlenclos opened 5 years ago

tlenclos commented 5 years ago

It could be nice to expose a cli binary to allow users to run this on a CI for example, if they don't want to use github probot apps.

Example

graphql-doctor --schema app/src/schema.graphql --github-token XXX

That would return a list of all the failures pretty printed in stderr or a success message in stdout.

spyl94 commented 5 years ago

Totally agree ! It would be cool to run graphql-doctor via GitHubApp or on an existing CI