mix_templates v0.1.0 MixTemplates.Cache

Manage the cache of local templates. These are stored as Elixir projects under MIX_HOME/templates

Summary

Functions

Return the template’s module, or nil if it doesn’t exist’

Install a local directory tree into the named slot in the cache

Return a list of locally installed templates

remove a template from the cache

Functions

find(name)

Return the template’s module, or nil if it doesn’t exist’

install_from_local_tree(source)

Install a local directory tree into the named slot in the cache.

list()

Return a list of locally installed templates.

remove(name)

remove a template from the cache

template_path(name)
uninstall_template(project)