Actions
User story #26507
openAdd a CLI to the template module
Pull Request:
UX impact:
Suggestion strength:
User visibility:
Effort required:
Name check:
To do
Fix check:
To do
Regression:
No
Description
Currently, it can only communicate with CFEngine through the custom promise type protocol.
We also want to be able to compute templates from a CLI for tests and development, like for example we do with the system-updates module.
Library¶
To stay consistent with other Rudder CLI, we should use clap
with the derive-based interface.
Interface¶
The general behavior is to take:
- A source template
- A source data file in JSON
- A destination path
- A template engine (mustache or minijinja, minijinja being the default)
And to produce the destination file.
Updated by Alexis Mousset 21 days ago
- Subject changed from Add a CLI to the module to Add a CLI to the template module
- Description updated (diff)
Actions