Skip to content

Latest commit

 

History

History
54 lines (40 loc) · 1.06 KB

README.md

File metadata and controls

54 lines (40 loc) · 1.06 KB

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/