defmodule Mix.Tasks.Kitto.Gen.Widget do use Mix.Task @shortdoc "Generates a Dashboard Widget" @moduledoc """ """ def run([widget]) do Mix.shell.info """ Generating a Widget """ end @doc """ Returns the otp app from the Mix project configuration. """ def otp_app do Mix.Project.config |> Keyword.fetch!(:app) end defp paths do [".", :kitto] end end