-
Notifications
You must be signed in to change notification settings - Fork 48
ogma-cli: Allow customizing the standalone application template #189
Description
Description
The standalone application generation backend uses a fixed template to generate the standalone application. That template does not fit all use cases, so we are finding users heavily modifying the output (which is hard to keep up with when there are changes), and or not using ogma altogether for that reason.
Allowing users to pick their own standalone template would make Ogma more versatile.
Type
- Feature: Enable customizing output produced.
Additional context
None.
Requester
- Ivan Perez.
Method to check presence of bug
Not applicable (not a bug).
Expected result
Ogma allows users to pick the custom standalone application template they want to use instead of relying on the one provided by default.
Desired result
Ogma allows users to pick the custom standalone application template they want to use instead of relying on the one provided by default.
Proposed solution
Modify ogma-core to use variable expansion based on mustache to create the output files.
Modify ogma-core's template to use the variables used by the standalone application generation module.
Modify ogma-core to give users the ability to pick a template directory via an optional input argument.
Modify ogma-cli to give users the ability to pick a template directory via an optional input argument (exposing the corresponding argument from ogma-core).
Modify README to demonstrate new capability.
Further notes
None.