Current section
Files
Jump to
Current section
Files
lib/islands/client/summary/app.ex
defmodule Islands.Client.Summary.App do
use Application
use PersistConfig
alias IO.ANSI.Table
@headers get_env(:headers)
@left_options get_env(:left_options)
@right_options get_env(:right_options)
@spec start(Application.start_type(), term) :: {:ok, pid}
def start(_type, :ok) do
{:ok, _pid} = Table.start(@headers, @left_options)
{:ok, _pid} = Table.start(@headers, @right_options)
{:ok, self()}
end
end