Terun is a template generator to any purpose. Create code from template files and reduces the difficult to increase the project with big architecture.
yarn global @terun/cli
Create your config file:
module.exports = {
commands: {
example: {
args:["EntityName"],
transports: [
{
from: 'from.terun',
to: 'to.html'
}
]
}
}
};
Define your template independente of language:
class {{EntityName | capitalize}}Entity{
constructor(){}
}
Run on terminal terun transport example
:
class PersonEntity{
constructor(){}
}