Definitively.Init (definitively v0.3.1)

Copy Markdown

Scaffolds a .definitively/ workspace by copying packaged templates from priv/.

Summary

Functions

Copies template files into <workspace>/.definitively/.

Functions

run(opts \\ [])

@spec run(keyword()) ::
  {:ok, %{created: [Path.t()], skipped: [Path.t()]}} | {:error, term()}

Copies template files into <workspace>/.definitively/.

Workspace root is DEFINITIVELY_WORKSPACE when set, otherwise the current working directory. Existing destination files are skipped unless force: true (CLI --force).