|
|
пре 5 година | |
|---|---|---|
| .. | ||
| Exception | пре 5 година | |
| QuestionPerformer | пре 5 година | |
| Test | пре 5 година | |
| Cli.php | пре 5 година | |
| CommandList.php | пре 5 година | |
| CommandListInterface.php | пре 5 година | |
| CommandLocator.php | пре 5 година | |
| GenerationDirectoryAccess.php | пре 5 година | |
| README.md | пре 5 година | |
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>