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.
asciinema.org/lib/asciinema/asciicasts/frames_generator.ex

11 lines
349 B
Elixir

defmodule Asciinema.Asciicasts.FramesGenerator do
alias Asciinema.Asciicasts.Asciicast
@doc "Generates frames file for given asciicast"
@callback generate_frames(asciicast :: %Asciicast{}) :: :ok | {:error, term}
def generate_frames(asciicast) do
Application.get_env(:asciinema, :frames_generator).generate_frames(asciicast)
end
end