Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Support for custom CLI parameters #936

Open
tobiasqueck opened this issue Mar 19, 2024 · 0 comments
Open

Support for custom CLI parameters #936

tobiasqueck opened this issue Mar 19, 2024 · 0 comments
Labels
enhancement New feature or request

Comments

@tobiasqueck
Copy link

tobiasqueck commented Mar 19, 2024

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

@tobiasqueck tobiasqueck added the enhancement New feature or request label Mar 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant