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

Copy Markdown

Generate a TLX spec skeleton from a Broadway pipeline module.

Usage

mix tlx.gen.from_broadway MyApp.Pipeline
mix tlx.gen.from_broadway MyApp.Pipeline --output pipeline_spec.ex

Parses the module's source code to extract pipeline topology (producers, processors, batchers) from the Broadway.start_link/2 call.

Options

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