Skip to content

Commit de52634

Browse files
committed
♻️ Change CLI logic
1 parent a5b649f commit de52634

File tree

7 files changed

+986
-293
lines changed

7 files changed

+986
-293
lines changed

.gitignore

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
node_modules/
22
dist/
3+
schemaDiff/
34
coverage/
45
.dev/

README.md

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,9 @@ $ graphql-schema-diff --help
2525

2626
Options
2727
--fail-on-dangerous-changes Exit with error on dangerous changes
28-
--ignore-breaking-changes Do not exit with error on breaking changes
28+
--fail-on-breaking-changes Exit with error on breaking changes
29+
--fail-on-all-changes Exit with error on all changes
30+
--use-colors Use colors for diff terminal output
2931
--create-html-output Creates an HTML file containing the diff
3032
--html-output-directory Directory where the HTML file should be stored (Default: './schemaDiff')
3133
--header, -H Header to send to all remote schema sources
@@ -36,7 +38,6 @@ $ graphql-schema-diff --help
3638
Examples
3739
$ graphql-schema-diff https://example.com/graphql schema.graphql
3840
$ graphql-schema-diff https://example.com/graphql schema.graphql -H 'Authorization: Bearer 123'
39-
4041
```
4142

4243
Schema locations can be:

0 commit comments

Comments
 (0)