Create a CLI tool /app/render that reads a template from stdin, substitutes variables from a JSON-file…
Create a CLI tool /app/render that reads a template from stdin, substitutes variables from a JSON-file…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - Template: UTF-8 text read from stdin. It may be any size, including empty. - Context: a JSON…
The task
**Input contract:** - Template: UTF-8 text read from stdin. It may be any size, including empty. - Context: a JSON file whose path is given as the first CLI argument. The JSON object maps string keys to string values. Both keys and values may be any valid JSON strings (including empty, containing Unicode, control…
Part of ai-and/termgrade-environments.