Akd v0.3.0 mix akd.gen.task View Source
This task generates a mix task which can be used to deploy an app.
Please refer to Akd.Mix.Task
for more details.
Info:
mix akd.gen.task expects both module name and optional parameters:
$ `@{tsk} TaskModule -f FetcherModule`
Usage:
$ `@{tsk} Deploy -f Akd.Fetcher.Git`
Options:
Option Alias Description
--fetcher -f Expects a fetcher hook module.
Defaults to `Akd.Fetcher.Git`.
Native Fetchers include:
`Akd.Fetcher.Git` and `Akd.Fetcher.Scp`
--initer -i Expects an initer hook module.
Defaults to `Akd.Initer.Distillery`.
Native Fetchers include:
`Akd.Fetcher.Distillery`
--builder -b Expects a builder hook module.
Defaults to `Akd.Builder.Distillery`.
Native Fetchers include:
`Akd.Builder.Distillery` and `Akd.Builder.Docker`
--publisher -p Expects a publisher hook module.
Defaults to `Akd.Initer.Distillery`.
Native Fetchers include:
`Akd.Publisher.Distillery` and `Akd.Publisher.Docker`
--with-phx -w Generates phoenix hooks alongside base books
Link to this section Summary
Link to this section Functions
Link to this function
run(args) View Source
Runs the mix task to generate the task module.