mix workflow_dag_check (workflow_dag_check v1.0.0)

Copy Markdown View Source

Usage: mix workflow_dag_check steps.csv

CSV columns: step, depends_on (step ids separated by a semicolon, empty for none).

Exit code 0 when no problem is found, 1 when any problem is found (all problems are printed first), 2 when the input cannot be read or the arguments are wrong. Background: https://www.onegtmlab.dev/glossary/agentic-workflow

Summary

Functions

Run the check. Returns {:ok, exit_code, output} or {:error, message}.

Functions

execute(arg1)

@spec execute([String.t()]) :: {:ok, 0 | 1, String.t()} | {:error, String.t()}

Run the check. Returns {:ok, exit_code, output} or {:error, message}.