|
před 5 roky | |
---|---|---|
.. | ||
Exception | před 5 roky | |
QuestionPerformer | před 5 roky | |
Test | před 5 roky | |
Cli.php | před 5 roky | |
CommandList.php | před 5 roky | |
CommandListInterface.php | před 5 roky | |
CommandLocator.php | před 5 roky | |
GenerationDirectoryAccess.php | před 5 roky | |
README.md | před 5 roky |
This component contains Magento Cli and can be extended via DI configuration.
For example we can introduce new command in module using di.xml:
<type name="Magento\Framework\Console\CommandListInterface">
<arguments>
<argument name="commands" xsi:type="array">
<item name="test_me" xsi:type="object">Magento\MyModule\Console\TestMeCommand</item>
</argument>
</arguments>
</type>