Project

General

Profile

User story #26507

Updated by Alexis Mousset 23 days ago

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. development. 

 h2. Library Librairies 

 To stay consistent with other Rudder CLI, we should use @clap@ with the derive-based derive interface. 

 h2. 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 An to produce produice the destination file.

Back