The GitHub actions are currently producing the createUiDefinition, mainTemplate and viewTemplate but replacing templated tags in the format of by using the sed command. Moving to a python command with handlebars will allow code to be shared between the MODM repo and the CLI repo.
Business Justification
This will optimize operations and eliminate the risk of mismatch between what MODM is expecting and what the CLI is producing.
Implementation
Leverage Pybars by including Python in the Github action
Replace all sed commands with a python call to Pybars
Replace all existing tags in the MODM artifacts with handlebars syntax
Requirement
The GitHub actions are currently producing the createUiDefinition, mainTemplate and viewTemplate but replacing templated tags in the format of by using the sed command. Moving to a python command with handlebars will allow code to be shared between the MODM repo and the CLI repo.
Business Justification
This will optimize operations and eliminate the risk of mismatch between what MODM is expecting and what the CLI is producing.
Implementation