Terun
Easy code generator for projects
Progressive
Easy to start and use with existing code. Terun show your power with big architectures.
Language Independent
The language doesn't matter. Terun use templates to create new files.
Alterable
You can modify default behavior and create new plugins.
# Template definition
Create your config file:
const exampleCommand = {
transports: [
{
from: 'from.terun',
to: 'to.html',
args: ["EntityName"],
}
]
};
module.exports = {
commands: {
example: exampleCommand
}
};
Define your template independente of language:
class {{EntityName | capitalize}}Entity{
constructor(){}
}
Run on terminal terun --make example
:
class PersonEntity{
constructor(){}
}