File tree Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Expand file tree Collapse file tree 1 file changed +6
-5
lines changed Original file line number Diff line number Diff line change @@ -41,19 +41,20 @@ enum Cli {
41
41
#[ structopt( name = "generate" ) ]
42
42
Generate {
43
43
// should be a glob
44
- /// Path to graphql query file
44
+ /// Path to graphql query file.
45
45
#[ structopt( parse( from_os_str) ) ]
46
46
query_path : PathBuf ,
47
- /// Path to graphql schema file
47
+ /// Path to graphql schema file.
48
48
#[ structopt( parse( from_os_str) ) ]
49
49
schema_path : PathBuf ,
50
- /// Name of struct
50
+ /// Name of struct that is implementation target.
51
51
selected_operation : String ,
52
- /// Additional derives
52
+ /// Additional derives that will be added to the generated structs and enums for the response and the variables.
53
53
/// --additional-derives='Serialize,PartialEq'
54
54
#[ structopt( short = "a" , long = "additional-derives" ) ]
55
55
additional_derives : Option < String > ,
56
- /// allow, deny, or warn
56
+ /// You can choose deprecation strategy from allow, deny, or warn.
57
+ /// Default value is warn.
57
58
#[ structopt( short = "d" , long = "deprecation-strategy" , ) ]
58
59
deprecation_strategy : Option < String > ,
59
60
#[ structopt( parse( from_os_str) ) ]
You can’t perform that action at this time.
0 commit comments