Write a command-line tool topo that reads a dependency specification from stdin or a file and outputs either…
Write a command-line tool topo that reads a dependency specification from stdin or a file and outputs either…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format: - Each line is a task definition: TASK NAME: DEP1 DEP2 ... or TASK NAME: (no dependencies)…
The task
**Input format:** - Each line is a task definition: `TASK_NAME: DEP1 DEP2 ...` or `TASK_NAME:` (no dependencies). - Task names are non-empty strings of printable ASCII characters (codes 32-126), no spaces within a name. - Dependency lists are space-separated. Trailing/leading whitespace on the line must be tolerated.…
Part of ai-and/termgrade-environments.