From e4e66200ee9f96e588ecae8bfaf73f8db5f63414 Mon Sep 17 00:00:00 2001 From: Tomasz Turkowski Date: Fri, 26 Jun 2026 11:26:57 +0200 Subject: [PATCH 1/2] Remove remove non-existent --create-config flag and document --no-scaffold flag --- guides/plugins/plugins/creating-plugins.md | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/guides/plugins/plugins/creating-plugins.md b/guides/plugins/plugins/creating-plugins.md index f020813d04..c9fcfd7ab2 100644 --- a/guides/plugins/plugins/creating-plugins.md +++ b/guides/plugins/plugins/creating-plugins.md @@ -35,13 +35,15 @@ From your Shopware project's root directory, run: bin/console plugin:create SwagBasicExample ``` -Optionally, you can run this command to create a demo configuration file in the `Resources` directory: +### Skipping optional scaffold files + +Pass the `--no-scaffold` flag to skip all optional scaffold files and generate only the required plugin skeleton: ```bash -bin/console plugin:create SwagBasicExample --create-config +bin/console plugin:create SwagBasicExample Swag\BasicExample --no-scaffold ``` -The command will generate all the basic required files that are needed for an extension to be installed on a Shopware instance. Make sure to adjust the namespace in the files as per your need. +When running the command interactively without the flag, you will be asked _"Would you like to scaffold optional plugin files?"_ — answering "no" has the same effect. ### Structure for long-term maintainability From 704e973005ed1f84aa06c869f5499de8526831aa Mon Sep 17 00:00:00 2001 From: Su <112690947+sushmangupta@users.noreply.github.com> Date: Mon, 29 Jun 2026 16:09:44 +0200 Subject: [PATCH 2/2] Update guides/plugins/plugins/creating-plugins.md --- guides/plugins/plugins/creating-plugins.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/guides/plugins/plugins/creating-plugins.md b/guides/plugins/plugins/creating-plugins.md index c9fcfd7ab2..1129f20578 100644 --- a/guides/plugins/plugins/creating-plugins.md +++ b/guides/plugins/plugins/creating-plugins.md @@ -43,7 +43,7 @@ Pass the `--no-scaffold` flag to skip all optional scaffold files and generate o bin/console plugin:create SwagBasicExample Swag\BasicExample --no-scaffold ``` -When running the command interactively without the flag, you will be asked _"Would you like to scaffold optional plugin files?"_ — answering "no" has the same effect. +When running the command interactively without the flag, you will be asked, "Would you like to scaffold optional plugin files?". Answering "no" has the same effect. ### Structure for long-term maintainability