Rename

For the indecisive developer

Build Status

Install

Add to your mix dependencies in mix.exs

# mix.exs
defp deps do
  [
    {:rename, "~> 0.0.1"}
  ]
end

and install

mix deps.get

Usage

You can run it as a mix task

mix rename OldAppName NewAppName old_app_otp new_app_top

Or from Elixir

Rename.run(
  {"OldAppName", "NewAppName"},
  {"old_app_otp", "new_app_otp"},
  ignore_files: "./lib/old_app_otp/sacred.ex" # optional options
)