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-bandcentral-gemma4-31b-bash: TermGrade Band-Central: the 151-task selection and its splits (Harbor dataset). Input format (stdin): - Each line is either blank, a comment…
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. -…