Skip to content
Tamer TAS edited this page Dec 18, 2015 · 6 revisions

Usage

Use tmplt help to get the list of available commands.

Reporting Issues

You can report issues directly from the command-line.

Use the command, tmplt report.

A markdown file will be opened where the first line is the issue title and the rest is the issue body.

After creating the issue, save & exit the editor and you will be prompted for github credentials needed to create the issue.

Download Template

In order to download a template from a github repository, use the following command:

tmplt download <github-repo-path> <template-name>
tmplt download tmrts/tmplt-example example

The downloaded template will be saved to local tmplt registry.

Save Local Template

In order to save a template from filesystem to the template registry use the following command:

tmplt save <template-path> <template-name>
tmplt save ~/tmplt-example example

The saved template will be saved to local tmplt registry.

Use Template

In order to use a template from template registry use the following command:

tmplt use <template-name> <target-dir>
tmplt use example ~/Workspace/example-project/

You will be prompted for values when using a template.

Clone this wiki locally