HF RL Explorer

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 Environments: 1,004 executable Linux tasks (Harbor dataset). I/O contract: - Input: ./render --template <template file --vars <json file --output <output file - If --output…

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…

Part of ai-and/termgrade-environments.