From 92c88ed54a3cde134676fc5872538fc14017e5f2 Mon Sep 17 00:00:00 2001 From: Julius Zukauskas Date: Tue, 25 May 2021 11:04:52 +0300 Subject: [PATCH] add link to example module --- src/content/1.7/modules/concepts/commands.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/src/content/1.7/modules/concepts/commands.md b/src/content/1.7/modules/concepts/commands.md index bdedd5cdd2..8debd51f2a 100644 --- a/src/content/1.7/modules/concepts/commands.md +++ b/src/content/1.7/modules/concepts/commands.md @@ -23,7 +23,7 @@ Let's see an example of a really common task when we usually use CRON scripts: y You could rely on the webservices, but they are not really easy to configure. This is how you can do it using a PrestaShop command. -## Create a command into the module +## Create a command in the module You need to create the file and register it as a "command". @@ -90,3 +90,4 @@ To sum up, there is a list of useful links: * [Manage the Command output](https://symfony.com/doc/3.4/console/style.html); * [How to inject dependencies](https://symfony.com/doc/3.4/console.html#getting-services-from-the-service-container) in a Command; * [How to test a Command](https://symfony.com/doc/3.4/console.html#testing-commands); +* [Example module how to create console command](https://github.com/PrestaShop/example-modules/tree/master/democonsolecommand);