Write a command-line tool depgraph that reads a dependency specification from stdin and outputs either a…
Write a command-line tool depgraph that reads a dependency specification from stdin and outputs either a…: a task in TermGrade Environments: 1,004 executable Linux tasks (Harbor dataset). Input format (stdin): - Each line is either blank, a comment starting with , or a dependency declaration. - A…
The task
**Input format (stdin):** - Each line is either blank, a comment starting with `#`, or a dependency declaration. - A declaration line has the format: `NODE: DEP1 DEP2 ...` - `NODE` and each `DEP*` are non-empty strings containing only alphanumeric characters, hyphens, and underscores. They are case-sensitive. -…
Part of ai-and/termgrade-environments.