Support for custom CLI parameters
Nessuno ha ancora preso questa issue.
Valutazione
- Difficoltà
- 5/5
- Tempo stimato
- Più di una settimana
- Idoneità per principianti
- 35/100
- Tipo di issue
- Funzionalità
- Chiarezza
- Abbastanza chiara
- Stato di attività
- Ferma
- Stack tecnologico
- javascript
Direzione di ricerca
Start with the ui5 serve command and trace how middleware and tasks receive configuration. Define how custom parameters such as --debug and --magic 42 should be exposed, then verify that the same configuration can be consumed without maintaining multiple ui5 YAML files.
Scritto dal modello di indicizzazione a partire dal testo della issue.
Descrizione
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
- Lingua principale
- JavaScript
- Stelle
- 511
- Fork
- 83
- Merge medio
- 1g 5h
- PR unite (30g)
- 55
Guida per i contributori
Apri la guida per i contributori
Come iniziare
- Leggi tutta la issue e poi la guida ai contributi del progetto.
- Commenta sulla issue per dire che te ne occupi tu — evita che due persone facciano lo stesso lavoro.
- Fai un fork del repository e lavora su un branch.
- Apri una pull request che faccia riferimento al numero della issue.
Altre issue di UI5/cli
-
module/ui5-builder
-
Build cache: buildThemes cache is invalidated by irrelevant library.js / .library content changes Apertamodule/ui5-builder module/ui5-fs module/ui5-project
Difficoltà 3/5 1-2 giorni Idoneità per principianti 76/100
-
module/ui5-project
Difficoltà 4/5 3-5 giorni Idoneità per principianti 64/100
-
roadmap
Issue simili
-
documentation
Difficoltà 2/5 1-3 ore Idoneità per principianti 88/100
githubnext/gh-aw-workshop#3692 ·
-
agent/guide documentation hive/hosted-available-lke648397-260827-5n31
Difficoltà 2/5 1-3 ore Idoneità per principianti 90/100
-
Add: BuyPass TV Apertachannels:add check:passed
Difficoltà 2/5 1-3 ore Idoneità per principianti 75/100
-
S: triage
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 85/100
-
bug
Difficoltà 1/5 Meno di un'ora Idoneità per principianti 90/100
apache/cloudstack#14222 ·