Skip to content

poompengcharoen/templato

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Templato

A simple template to files generator.

Documentation

Installation

Install Node.js dependencies.

npm install

Build application

Build the application from TypeScript.

npm run build

Usage

Start application

Run the application and follow its instruction.

npm start

Template Syntax

You can get the file index number in the template input file like this.

[TEMPLATO.index]

You can get the variables in the template input file like this. Templato will ask you the values of the variables.

[TEMPLATO.foo]
[TEMPLATO.bar]
[TEMPLATO.axy]
[TEMPLATO.etc]

Template Sample

Input:

This file number is [TEMPLATO.index].

Hello my name is [TEMPLATO.name]. I am a [TEMPLATO.career].

Output:

This file number is 003.

Hello my name is John Doe. I am a programmer.

About

A simple template to files generator.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published