You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The available parameters for `npx ampx generate graphql-client-code` are:
242
242
243
243
Required parameters:
244
-
- Stack identifier
244
+
- Stack identifier
245
245
-`--stack`(_string_) - A stack name that contains an Amplify backend.
246
246
- Project identifier
247
247
-`--app-id`(_string_) - The Amplify App ID of the project.
@@ -252,6 +252,7 @@ Optional parameters:
252
252
-`--format`(_string_) (choices: `modelgen`, `graphql-codegen`, `introspection`) - Specifies the format of the GraphQL client code to be generated.
253
253
-`--model-target` (_string_) (choices: `java`, `swift`, `javascript`, `typescript`, `dart`) - Specifies the modelgen export target. Only applies when the --format parameter is set to modelgen.
254
254
-`--statement-target`(_string_) (choices: `javascript`, `graphql`, `flow`, `typescript`, `angular`) - Specifies the graphql-codegen statement export target. Only applies when the --format parameter is set to graphql-codegen.
255
+
-`--statement-max-depth`(_integer_) - Specifies the maximum depth of the generated GraphQL statements. Only applies when the --format parameter is set to graphql-codegen.
255
256
-`--type-target`(_string_) (choices: `json`, `swift`, `typescript`, `flow`, `scala`, `flow-modern`, `angular`) - Specifies the optional graphql-codegen type export target. Only applies when the --format parameter is set to graphql-codegen.
256
257
-`--all`(_boolean_)- Shows hidden options.
257
258
-`--profile`(_string_) - Specifies an AWS profile name.
0 commit comments