File tree Expand file tree Collapse file tree 1 file changed +5
-4
lines changed
Expand file tree Collapse file tree 1 file changed +5
-4
lines changed Original file line number Diff line number Diff line change 3333
3434```
3535USAGE:
36- graphql-client generate [FLAGS] [OPTIONS] <query_path> <schema_path>
36+ graphql-client generate [FLAGS] [OPTIONS] <query_path> --schema-path <schema_path>
3737
3838FLAGS:
3939 -h, --help Prints help information
@@ -48,16 +48,17 @@ OPTIONS:
4848 -d, --deprecation-strategy <deprecation_strategy>
4949 You can choose deprecation strategy from allow, deny, or warn. Default value is warn.
5050
51- -m, --module_visibility <module_visibility>
51+ -m, --module-visibility <module_visibility>
5252 You can choose module and target struct visibility from pub and private. Default value is pub.
5353
54+ -o, --output-directory <output_directory> The directory in which the code will be generated
55+ -s, --schema-path <schema_path> Path to GraphQL schema file (.json or .graphql).
5456 -o, --selected-operation <selected_operation>
5557 Name of target query. If you don't set this parameter, cli generate all queries in query file.
5658
5759
5860ARGS:
59- <query_path> Path to graphql query file.
60- <schema_path> Path to graphql schema file.
61+ <query_path> Path to the GraphQL query file.
6162```
6263
6364If you want to use formatting feature, you should install like this.
You can’t perform that action at this time.
0 commit comments