You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
312 B
Elixir
11 lines
312 B
Elixir
defmodule Asciinema.Asciicasts.PosterGenerator do
|
|
alias Asciinema.Asciicast
|
|
|
|
@doc "Generates poster for given asciicast"
|
|
@callback generate(asciicast :: %Asciicast{}) :: :ok | {:error, term}
|
|
|
|
def generate(asciicast) do
|
|
Application.get_env(:asciinema, :poster_generator).generate(asciicast)
|
|
end
|
|
end
|