Lockspire.Generators.Install (lockspire v1.0.0)

Copy Markdown

Generates editable Lockspire host integration files inside a Phoenix app.

Summary

Functions

build_assigns(opts)

@spec build_assigns(keyword()) :: map()

destination_path(map, assigns)

@spec destination_path(map(), map()) :: String.t()

render_template_content(template, assigns, destination \\ nil)

@spec render_template_content(map(), map(), String.t() | nil) :: String.t()

rendered_templates(assigns)

@spec rendered_templates(map()) :: [map()]

run(opts \\ [])

@spec run(keyword()) :: :ok