Write a command-line tool /root/merge config.py that reads a root config file and merges it with all files…
Write a command-line tool /root/merge config.py that reads a root config file and merges it with all files…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input contract: - The tool receives exactly one argument: the path to the root config file (e.g…
The task
**Input contract:** - The tool receives exactly one argument: the path to the root config file (e.g., `/root/merge_config.py /tmp/root.ini`). - Each config file (root or included) is a text file containing zero or more sections. A section starts with a line `[section_name]` and contains zero or more key-value pairs…
Part of ai-and/termgrade-environments.