View Source Igniter.Libs.Swoosh (igniter v0.4.8)

Codemods & utilities for working with Swoosh

Summary

Functions

Lists all project modules that call use Swoosh.Mailer.

Moves to the use statement in a module that matches use Swoosh.Mailer

Functions

list_mailers(igniter)

@spec list_mailers(Igniter.t()) :: {Igniter.t(), [module()]}

Lists all project modules that call use Swoosh.Mailer.

move_to_mailer_use(zipper)

@spec move_to_mailer_use(Sourceror.Zipper.t()) :: :error | {:ok, Sourceror.Zipper.t()}

Moves to the use statement in a module that matches use Swoosh.Mailer