Skip to main content

app function typegen

Creates GraphQL types based on your input query for a function written in JavaScript.

The following flags are available for the app function typegen command:

string
env: SHOPIFY_FLAG_CLIENT_ID

The Client ID of your app.

env: SHOPIFY_FLAG_NO_COLOR

Disable color output.

string
env: SHOPIFY_FLAG_PATH

The path to your function directory.

env: SHOPIFY_FLAG_RESET

Reset all your settings.

env: SHOPIFY_FLAG_VERBOSE

Increase the verbosity of the output.

Anchor to -c, --config <value>
-c, --config <value>
string
env: SHOPIFY_FLAG_APP_CONFIG

The name of the app configuration.

Examples

app function typegen

shopify app function typegen [flags]
Was this page helpful?