Current section
Files
Jump to
Current section
Files
lib/mix/tasks/convert.ex
defmodule Mix.Tasks.Dragon.Convert do
@moduledoc false
@shortdoc "Convert a Jekyll Project to a Dragon Project"
use Mix.Task
@impl true
def run([target]), do: Dragon.Cli.Convert.convert(target)
def run(_), do: IO.puts("Syntax: mix dragon.convert {target}")
end