For the indecisive developer
Renames all files, modules, otp statements, etc in most standard Elixir applications
Add to your mix dependencies in mix.exs
# mix.exs
defp deps do
[
{:rename, "~> 0.1.0", only: :dev}
]
end
and install
mix deps.get
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
)