mix tlx.gen.from_reactor (TLX v0.5.2)

Copy Markdown

Generate a TLX spec skeleton from a Reactor workflow module.

Usage

mix tlx.gen.from_reactor MyApp.MyReactor
mix tlx.gen.from_reactor MyApp.MyReactor --output reactor_spec.ex

Reads the Reactor's step DAG via Spark introspection and generates a defspec skeleton with per-step status variables, dependency guards, and success/failure branches.

Options

  • --output, -o — write to a file instead of stdout