Most updaters do one specific thing. This updater add a LICENSE
file or replaces the LICENSE
file in the current working directory using a template defined by you in ~/templates/LICENSE
(user home on your system), or the generic template in this project's templates directory.
Note that currently this updater only handles MIT licenses, but we'd love a pr to add support for other licenses.
{%= include("update/updater-install") %}
{%= include("update/updater-run") %}
What will happen?
Upon running $ update license
command, this updater's default
task will be executed, which replaces the LICENSE
file in the cwd with the ~/templates/LICENSE
template defined by you, or the default templates found in templates/mit.tmpl in this repository.
{%= apidocs('index.js') %}
Visit the documentation for tasks{tasks.md}.