Skip to content

raphaelkieling/terun

Repository files navigation

Terun

Netlify Status

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

Getting start

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(){}
}

Documentation

Here: https://terun.netlify.com/