Packages

Content Management System for static sites, like Jekyll but with elixir/eex rather than liquid templates

Current section

Files

Jump to
dragon lib cli convert.ex
Raw

lib/cli/convert.ex

defmodule Dragon.Cli.Convert do
@moduledoc false
import Rivet.Utils.Cli
import Rivet.Utils.Cli.Print
def run(_optcfg, _opts, [target]), do: convert(target)
def run(optcfg, _opts, _), do: syntax(optcfg, "convert {target} — No target specified")
@doc "Convert a Jekyll Project to a Dragon Project"
def convert(_target) do
stdout(["Coming soon: #{@doc}"])
:ok
end
end