Installs AshWorkflow, along with AshOban, AshStateMachine and Oban
AshWorkflow generates ash_state_machine and ash_oban DSL for you, so
this installer sets up everything those need to actually run:
- adds
ash_obanandash_state_machineas dependencies and composesash_oban.install, which configures Oban, the cron plugin and:ash_domains - adds the queue AshWorkflow's generated triggers publish to
- imports AshWorkflow into your
.formatter.exsso the workflow DSL formats without parentheses
Example
mix igniter.install ash_workflow
Options
--queue- the Oban queue for generated workflow triggers. Defaults toworkflow, matching the DSL's default.--queue-concurrency- concurrency for that queue. Defaults to10.