Current section
Files
Jump to
Current section
Files
lib/jacob_cli.ex
defmodule JacobCli do
@moduledoc false
@doc """
Return the path where `EEx` templates are stored.
"""
def template_path do
File.cwd!()
|> Path.join("/lib/jacob_cli/templates/")
end
@doc """
Join the given path to the `EEx` template path.
"""
def template_path(to_join) do
template_path()
|> Path.join(to_join)
end
end