{
  "rules":[
    {
      "command":"echo A > A",
      "outputs":[{"dag_name": "A"}]
    },
    {
      "command":"echo B > B",
      "outputs":[{"dag_name": "B"}]
    },
    {
      "command":"echo C > C && cat A B >> C",
      "outputs":[{"dag_name": "C"}],
      "inputs":[{"dag_name": "A"}, {"dag_name": "B"}]
    },
    {
      "command":"sort C > D",
      "outputs":[{"dag_name": "D"}],
      "inputs":[{"dag_name": "C"}]
    },
    {
      "command": "[ -e C ] && [ -e D ]",
      "inputs": [{"dag_name": "C"}, {"dag_name": "D"}]
    }
  ]
}
