# `Starter.Helpers`
[🔗](https://github.com/jamilabreu/starter/blob/v0.4.2/lib/starter/helpers.ex#L1)

Conveniences for writing steps.

# `app_module`

Returns the camelized app module name (e.g. `"MyApp"`).

# `app_web_module`

Returns the app's web module name (e.g. `"MyAppWeb"`).

# `gen_migration`

Generates a migration with a unique timestamp.

Ecto refuses to run duplicate migration versions, and a starter can create
several within the same second, so the timestamp is advanced past every
migration already present.

# `repo`

Returns the app's Repo module (e.g. `MyApp.Repo`).

# `update_file_checked`

Updates a file's content, adding a loud warning instead of silently
no-oping when the transformation changes nothing or the file is missing.

Steps that pattern-match against `phx.new` output should use this so that
drift in Phoenix's generators surfaces as a warning instead of silence.

# `update_file_content`

Updates a file's raw content with a transformation function.

---

*Consult [api-reference.md](api-reference.md) for complete listing*
