Description
Is your feature request related to a problem? Please describe.
When I need to run e.g. ui5 serve
with different configurations, I am currently forced to create multiple ui5*.yaml
files. In some cases, I need exactly the same configuration except one value is different. The overhead of maintaining multiple files for that is increasing the costs of maintaining a UI5 project.
Describe the solution you'd like
Allow the usage of custom CLI parameters that are accessible in my middleware/task e.g. I would like to call ui5 serve --debug --magic 42
and in my middleware I have access to e.g. this global configuration as e.g. object
{
debug: true
magic: '42'
}
Describe alternatives you've considered
I could also solve the same problem, if it would also be possible to provide the configuration not as yaml
but as js
file. Then, I have all the flexibility needed to create inheritance between configs or custom creation of the config based on other parameters.
Additional context
No