@@ -12,54 +12,54 @@ const cli = meow(
12
12
13
13
Options
14
14
--fail-on-dangerous-changes Exit with error on dangerous changes
15
- --fail-on-breaking-changes Exit with error on breaking changes
16
- --fail-on-all-changes Exit with error on all changes
17
- --use-colors Use colors for diff terminal output
18
- --create-html-output Creates an HTML file containing the diff
19
- --html-output-directory Directory where the HTML file should be stored (Default: './schemaDiff')
20
- --header, -H Header to send to all remote schema sources
21
- --left-schema-header Header to send to left remote schema source
22
- --right-schema-header Header to send to right remote schema source
23
- --sort-schema, -s Sort schemas prior to diffing
15
+ --fail-on-breaking-changes \t Exit with error on breaking changes
16
+ --fail-on-all-changes \t Exit with error on all changes
17
+ --use-colors \t\t Use colors for diff terminal output
18
+ --create-html-output \t Creates an HTML file containing the diff
19
+ --html-output-directory \t Directory where the HTML file should be stored (Default: './schemaDiff')
20
+ --header, -H \t\t Header to send to all remote schema sources
21
+ --left-schema-header \t Header to send to left remote schema source
22
+ --right-schema-header \t Header to send to right remote schema source
23
+ --sort-schema, -s \t\t Sort schemas prior to diffing
24
24
25
25
Examples
26
26
$ graphql-schema-diff https://example.com/graphql schema.graphql
27
27
$ graphql-schema-diff https://example.com/graphql schema.graphql -H 'Authorization: Bearer 123'
28
28
` ,
29
29
{
30
30
flags : {
31
- ' fail-on-dangerous-changes' : {
32
- type : ' boolean'
31
+ " fail-on-dangerous-changes" : {
32
+ type : " boolean"
33
33
} ,
34
- ' fail-on-breaking-changes' : {
35
- type : ' boolean'
34
+ " fail-on-breaking-changes" : {
35
+ type : " boolean"
36
36
} ,
37
- ' fail-on-all-changes' : {
38
- type : ' boolean'
37
+ " fail-on-all-changes" : {
38
+ type : " boolean"
39
39
} ,
40
- ' use-colors' : {
41
- type : ' boolean'
40
+ " use-colors" : {
41
+ type : " boolean"
42
42
} ,
43
- ' create-html-output' : {
44
- type : ' boolean'
43
+ " create-html-output" : {
44
+ type : " boolean"
45
45
} ,
46
- ' html-output-directory' : {
47
- type : ' string' ,
48
- default : ' schemaDiff'
46
+ " html-output-directory" : {
47
+ type : " string" ,
48
+ default : " schemaDiff"
49
49
} ,
50
50
header : {
51
- type : ' string' ,
52
- alias : 'H'
51
+ type : " string" ,
52
+ alias : "H"
53
53
} ,
54
- ' left-schema-header' : {
55
- type : ' string'
54
+ " left-schema-header" : {
55
+ type : " string"
56
56
} ,
57
- ' right-schema-header' : {
58
- type : ' string'
57
+ " right-schema-header" : {
58
+ type : " string"
59
59
} ,
60
- ' sort-schema' : {
61
- type : ' boolean' ,
62
- alias : 's'
60
+ " sort-schema" : {
61
+ type : " boolean" ,
62
+ alias : "s"
63
63
}
64
64
}
65
65
}
0 commit comments