Create a command-line tool /app/render.py that processes a template file and a JSON data file to produce…
Create a command-line tool /app/render.py that processes a template file and a JSON data file to produce…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool receives exactly two arguments: --template PATH and --data PATH - Template file: a…
The task
**Input contract:** - The tool receives exactly two arguments: `--template PATH` and `--data PATH` - Template file: a text file using `{{key}}` or `{{ key }}` syntax for placeholders (whitespace inside braces optional) - Data file: a JSON object with string values (may contain nested objects using dot notation:…
Part of ai-and/termgrade-environments.