Create a template renderer CLI that substitutes variables from a JSON file into a template file, with…
Create a template renderer CLI that substitutes variables from a JSON file into a template file, with…: a task in termgrade-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). I/O contract: - Input: ./render --template <template file --vars…
The task
**I/O contract:** - Input: `./render --template <template_file> --vars <json_file> [--output <output_file>]` - If `--output` is omitted, write to stdout. - The template contains placeholders like `{{ variable_name }}` (with spaces around the name). - The JSON file is a flat object mapping variable names to string…