shopify app function typegen
Generate GraphQL types for a function.
Creates GraphQL types based on your input query for a function. Supports JavaScript functions out of the box, or any language via the build.typegen_command configuration.
Usage
shopify app function typegen [flags]Summary
Generate GraphQL types for a function.
Flags
--client-id <value>string— The Client ID of your app. optional Environment:SHOPIFY_FLAG_CLIENT_ID.--no-color— Disable color output. optional Environment:SHOPIFY_FLAG_NO_COLOR.--path <value>string— The path to your function directory. optional Environment:SHOPIFY_FLAG_PATH.--reset— Reset all your settings. optional Environment:SHOPIFY_FLAG_RESET.--verbose— Increase the verbosity of the output. optional Environment:SHOPIFY_FLAG_VERBOSE.-c, --config <value>string— The name of the app configuration. optional Environment:SHOPIFY_FLAG_APP_CONFIG.