   end
 
   defp twiki([_repo | _more_repos] = repos) do
-    Mix.shell.info """
+    Mix.shell().info("""
       Ecto.Twiki only supports migrating a single repo.
-      However, we found multiple repos: #{inspect repos}
-    """
+      However, we found multiple repos: #{inspect(repos)}
+    """)
   end
 
-  defp migrate(direction, _repo, _migration_dir, [step: 0]) do
-    Mix.shell.info "Already #{direction}"
+  defp migrate(direction, _repo, _migration_dir, step: 0) do
+    Mix.shell().info("Already #{direction}")
     []
   end
 
   defp migrate(direction, repo, migration_dir, opts) do
-    Mix.shell.info "Migrating #{direction}"
+    Mix.shell().info("Migrating #{direction}")
     Migrator.run(repo, migration_dir, direction, opts)
   end
 

  defp direction_count(direction, repo, migration_dir) do
    repo
    |> Migrator.migrations(migration_dir)
    |> Enum.filter(fn({status, _, _}) -> status == direction end)
    |> Enum.count
  end
end

  """

  def run(args) do
    Application.ensure_all_started(Project.config()[:app])

    repos = Ecto.parse_repo(args)

