A simple template to files generator.
Install Node.js dependencies.
npm install
Build the application from TypeScript.
npm run build
Run the application and follow its instruction.
npm start
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]
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.