lib/mix/tasks/combo_new.lite.ex
defmodule Mix.Tasks.ComboNew.Lite do
use Mix.Task
@shortdoc "Creates a Phoenix project in Lite type"
@moduledoc """
#{@shortdoc}.
## Usage
It expects the path of the project as an argument.
$ mix combo_new.lite PATH [--app APP] [--module MODULE]
A project at the given PATH will be created. The application name and module
name will be retrieved from the `PATH`, unless `--app` or `--module` is given.
## Options
* `--app` - the name of the OTP application.
* `--module` - the name of the base module in the generated skeleton.
* `-v`, `--version` - prints the version.
"""
@impl true
def run(argv) do
ComboNew.run(__MODULE__, ComboNew.Generator.ComboLite, argv)
end
end