Domain specific language based on Google Cloud Workflows
- install erlang >= 22.x and elixir >= 1.12
- in your project file mix.exs, add
defp deps do [ {:workflow_dsl, git: "https://github.com/rizki96/workflow_dsl.git"}, ]
- mix deps.get
- mix compile
- mix wf.run <json workflow file path / URL> [--verbose]
- JSON input format
- assign
- for in
- for range
- switch, condition
- steps (for in, for range, switch)
- return
- call, args, result, body
- next
- subworkflows
- try, retry, except
- YAML input format
- error messages
LGPL-2.1