|
|
5 years ago | |
|---|---|---|
| .. | ||
| Exception | 5 years ago | |
| QuestionPerformer | 5 years ago | |
| Test | 5 years ago | |
| Cli.php | 5 years ago | |
| CommandList.php | 5 years ago | |
| CommandListInterface.php | 5 years ago | |
| CommandLocator.php | 5 years ago | |
| GenerationDirectoryAccess.php | 5 years ago | |
| README.md | 5 years ago | |
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>