app function typegen
Creates GraphQL types based on your input query for a function. Supports JavaScript functions out of the box, or any language via the configuration.
Anchor to flagsFlags
The following flags are available for the app function typegen command:
- Anchor to --client-id <value>--client-id <value>--client-id <value>stringstringenv: SHOPIFY_FLAG_CLIENT_IDenv: SHOPIFY_FLAG_CLIENT_ID
The Client ID of your app.
- Anchor to --no-color--no-color--no-color''''env: SHOPIFY_FLAG_NO_COLORenv: SHOPIFY_FLAG_NO_COLOR
Disable color output.
- Anchor to --path <value>--path <value>--path <value>stringstringenv: SHOPIFY_FLAG_PATHenv: SHOPIFY_FLAG_PATH
The path to your function directory.
- Anchor to --reset--reset--reset''''env: SHOPIFY_FLAG_RESETenv: SHOPIFY_FLAG_RESET
Reset all your settings.
- Anchor to --verbose--verbose--verbose''''env: SHOPIFY_FLAG_VERBOSEenv: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output.
- Anchor to -c, --config <value>-c, --config <value>-c, --config <value>stringstringenv: SHOPIFY_FLAG_APP_CONFIGenv: SHOPIFY_FLAG_APP_CONFIG
The name of the app configuration.
Examples
app function typegen
shopify app function typegen [flags]
Examples
app function typegen
app function typegen
shopify app function typegen [flags]
Was this page helpful?