Home

Awesome

apply-template

Build Status codecov

use an existing repository as a template

Usage

Templates can contain variables, which the user will be prompted to fill when applying the template.

Example Template File

Hello, {[.NAME.]}

When applying the above template, the user would be prompted to provide a value for NAME

Applying the template

> apply-template ./my-microservice ./new-microservice

Enter a value for 'MICROSERVICE_NAME': todolist-model-service

Specifying options

It's also possible to set variables when running the command

apply-template templates/test-template my-target-dir --FULL_NAME="Patrick Scott"

Templates

Please contribute more templates! It's super easy!