SvEx.Plugin.Derive (SvEx v0.4.2)

Turns an observed diff into a plugin (SDD R1, 10).

The diff is the source of truth; the manifest is generated from it, not written by hand. Derive is a read-modify-write rather than a regenerate: files, their inferred modes and deps are recomputed, and every author-owned field is carried across untouched, so 10.1's confirmed annotations survive a re-run.

Input is a RAW working project (cache_component); output is the templated plugin beside it (meta_cache).

Summary

Functions

Derives a plugin from a raw working project.

Functions

run(opts)

@spec run(keyword()) :: {:ok, map()} | {:error, term()}

Derives a plugin from a raw working project.

Options: :name, :baseline, :meta (the raw project), :names (the SvEx.Template name triple) and :out.