mix_templates v0.1.3 Mix.Tasks.Template.Uninstall
Manage the local installation and uninstallation of templates used
by mix gen
.
Usage:
mix template [list]
List the locally installed templates.
mix template.hex
List the templates available on hex.
mix template.install «source»
Install a template from source.
mix template.uninstall «name»
Uninstall the template with the given name.
The «source» can be
the name of a Hex project containing the template
a local file path (starting with a
.
or/
)
Templates are installed in MIX_HOME/templates (by default ~/.mix/templates).
See Mix.Tasks.Gen
for details on how to use these templates.
Summary
Functions
A task needs to implement run
which receives
a list of command line args.
Callback implementation for Mix.Task.run/1
.