Packages

Set of tasks to generate boiler plate files for Elixir Absinthe.

Current section

Files

Jump to
absinthe_gen lib absinthe_gen.ex
Raw

lib/absinthe_gen.ex

defmodule AbsintheGen do
@moduledoc """
Documentation for AbsintheGen.
"""
def parent_app do
Mix.Project.config() |> Keyword.fetch!(:app)
end
def print_message(created_files) do
"""
Created:
\t#{Enum.join(created_files, "\n\t")}
"""
|> IO.puts()
end
end