|
il y a 5 ans | |
---|---|---|
.. | ||
Exception | il y a 5 ans | |
QuestionPerformer | il y a 5 ans | |
Test | il y a 5 ans | |
Cli.php | il y a 5 ans | |
CommandList.php | il y a 5 ans | |
CommandListInterface.php | il y a 5 ans | |
CommandLocator.php | il y a 5 ans | |
GenerationDirectoryAccess.php | il y a 5 ans | |
README.md | il y a 5 ans |
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>