Skip to content

Commit

Permalink
don't include the config callback yet
Browse files Browse the repository at this point in the history
  • Loading branch information
tompave committed Aug 15, 2024
1 parent 6c4042d commit 8f2419b
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 13 deletions.
5 changes: 0 additions & 5 deletions lib/fun_with_flags.ex
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,4 @@ defmodule FunWithFlags do
"""

use FunWithFlags.EntryPoint

@impl true
def config do
{:ok, []}
end
end
8 changes: 0 additions & 8 deletions lib/fun_with_flags/entry_point.ex
Original file line number Diff line number Diff line change
Expand Up @@ -543,12 +543,4 @@ defmodule FunWithFlags.EntryPoint do

end
end

@doc """
An entry point must define this callback to provide its configuration.
This function is supposed to retrieve any runtime config (e.g. ENV vars) and
return it as a keyword list.
"""
@callback config() :: {:ok, Keyword.t()}
end

0 comments on commit 8f2419b

Please sign in to comment.