Create a command-line tool /app/intervaldb that manages a database of named intervals and supports range…
Create a command-line tool /app/intervaldb that manages a database of named intervals and supports range…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Additional constraints: - The database is stored at /app/intervaldb data.txt . The file format is your choice…
The task
**Additional constraints:** - The database is stored at `/app/intervaldb_data.txt`. The file format is your choice, but you must read it at startup and write it after every modifying command (INSERT/DELETE). The file must survive process restarts. - If the data file does not exist at startup, start with an empty…
Part of ai-and/termgrade-environments.