-
Notifications
You must be signed in to change notification settings - Fork 19
Open
Labels
enhancementNew feature or requestNew feature or request
Description
That's enhancement I would find useful, but don't know the architecture of your library for now, so just posting an idea.
So, let's assume we generate certain types of templates, with an option of module creation on the fly. It would be nice to have dependencies sorted out in process. For example, generation of crontab, should be followed by adding dependency to Magento_Cron in module.xml and composer.json. However there are some issues I see:
- it is possible only if we say 'yes' to question if we would like to have module generated - I assume we should get that question every time we generate something
- it is a problem to resolve package version (for composer version) if we don't know for which magento version code is generated - it can be avoided by putting wildcard (*) on the other hand or we could specify our target magento version in some config file
- matrix of dependencies vs template has to be stored in some config file, but I don't know if there are templates that can generate code dependant to different packages according to what we insert during survey in CLI
Reactions are currently unavailable
Metadata
Metadata
Assignees
Labels
enhancementNew feature or requestNew feature or request