Skip to content

Commit

Permalink
add link to example module
Browse files Browse the repository at this point in the history
  • Loading branch information
zuk3975 committed May 25, 2021
1 parent cc50e20 commit 92c88ed
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/content/1.7/modules/concepts/commands.md
Expand Up @@ -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".

Expand Down Expand Up @@ -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);

0 comments on commit 92c88ed

Please sign in to comment.