Generates a new [app extension](/docs/apps/app-extensions). For a list of app extensions that you can generate using this command, refer to [Supported extensions](/docs/apps/structure/app-extensions/list). Each new app extension is created in a folder under `extensions/`. To learn more about the extensions file structure, refer to [App structure](/docs/apps/tools/cli/structure) and the documentation for your extension.
shopify app generate extension [flags]
The following flags are available for the `app generate extension` command:
env: SHOPIFY_FLAG_CLIENT_ID
The Client ID of your app.
env: SHOPIFY_FLAG_FLAVOR
Choose a starting template for your extension, where applicable
env: SHOPIFY_FLAG_NO_COLOR
Disable color output.
env: SHOPIFY_FLAG_PATH
The path to your app directory.
env: SHOPIFY_FLAG_RESET
Reset all your settings.
env: SHOPIFY_FLAG_VERBOSE
Increase the verbosity of the output.
env: SHOPIFY_FLAG_APP_CONFIG
The name of the app configuration.
env: SHOPIFY_FLAG_NAME
name of your Extension
env: SHOPIFY_FLAG_EXTENSION_TEMPLATE
Extension template
env: SHOPIFY_FLAG_EXTENSION_TYPE
Deprecated. Please use --template