diff --git a/graphql_client_cli/README.md b/graphql_client_cli/README.md index 4355d01f4..968d72288 100644 --- a/graphql_client_cli/README.md +++ b/graphql_client_cli/README.md @@ -33,7 +33,7 @@ ARGS: ``` USAGE: - graphql-client generate [FLAGS] [OPTIONS] + graphql-client generate [FLAGS] [OPTIONS] --schema-path FLAGS: -h, --help Prints help information @@ -48,16 +48,17 @@ OPTIONS: -d, --deprecation-strategy You can choose deprecation strategy from allow, deny, or warn. Default value is warn. - -m, --module_visibility + -m, --module-visibility You can choose module and target struct visibility from pub and private. Default value is pub. + -o, --output-directory The directory in which the code will be generated + -s, --schema-path Path to GraphQL schema file (.json or .graphql). -o, --selected-operation Name of target query. If you don't set this parameter, cli generate all queries in query file. ARGS: - Path to graphql query file. - Path to graphql schema file. + Path to the GraphQL query file. ``` If you want to use formatting feature, you should install like this.