Create a command-line tool confmerge that merges one or more configuration files into a single output. The…
Create a command-line tool confmerge that merges one or more configuration files into a single output. The…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool accepts one or more input file paths as positional arguments. - Each input file…
The task
**Input contract:** - The tool accepts one or more input file paths as positional arguments. - Each input file is a UTF-8 encoded text file with lines of the form `key = "value"` or `!include <path>`. - The `!include` directive causes the tool to recursively read and merge the referenced file at that point. -…
Part of ai-and/termgrade-environments.